Giter VIP home page Giter VIP logo

Comments (7)

simplezhli avatar simplezhli commented on June 8, 2024

Flutter版本保持和项目一致后在尝试,3.4.0目前不清楚有什么兼容问题。

from flutter_deer.

ch930410 avatar ch930410 commented on June 8, 2024

sdk: ">=2.17.0 <3.0.0"
flutter: ">=3.0.0 <4.0.0"

在这区间里

from flutter_deer.

simplezhli avatar simplezhli commented on June 8, 2024

如果这个区间给你带来了误解,我很抱歉。但这个通常只是一个最低版本的限制,但对于高版本谁也不知道未来是否有其他变化。

from flutter_deer.

ch930410 avatar ch930410 commented on June 8, 2024

如果这个区间给你带来了误解,我很抱歉。但这个通常只是一个最低版本的限制,但对于高版本谁也不知道未来是否有其他变化。

好的,咱们这能不能对一些项目运行过程中常见的问题写入到README.md里?比如我后面那个错误,虽然我改成20 可以运行起来项目,但是控制台会报错:ERROR:D8: Cannot fit requested classes in a single dex file (# methods: 78809 > 65536;经查后需要设置最低版本为21 才没有其他错误;

from flutter_deer.

simplezhli avatar simplezhli commented on June 8, 2024

如果这个区间给你带来了误解,我很抱歉。但这个通常只是一个最低版本的限制,但对于高版本谁也不知道未来是否有其他变化。

好的,咱们这能不能对一些项目运行过程中常见的问题写入到README.md里?比如我后面那个错误,虽然我改成20 可以运行起来项目,但是控制台会报错:ERROR:D8: Cannot fit requested classes in a single dex file (# methods: 78809 > 65536;经查后需要设置最低版本为21 才没有其他错误;

我的代码提交后,通过了github action的集成测试,所以正常来说不会存在运行问题。只要你的运行环境和flutter版本和我的一致就行。通过你的描述,我感觉你的代码并不我的最新代码。

defaultConfig {
applicationId "com.weilu.deer"
minSdkVersion 21
targetSdkVersion 31
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
}

from flutter_deer.

ch930410 avatar ch930410 commented on June 8, 2024

如果这个区间给你带来了误解,我很抱歉。但这个通常只是一个最低版本的限制,但对于高版本谁也不知道未来是否有其他变化。

好的,咱们这能不能对一些项目运行过程中常见的问题写入到README.md里?比如我后面那个错误,虽然我改成20 可以运行起来项目,但是控制台会报错:ERROR:D8: Cannot fit requested classes in a single dex file (# methods: 78809 > 65536;经查后需要设置最低版本为21 才没有其他错误;

我的代码提交后,通过了github action的集成测试,所以正常来说不会存在运行问题。只要你的运行环境和flutter版本和我的一致就行。通过你的描述,我感觉你的代码并不我的最新代码。

defaultConfig {
applicationId "com.weilu.deer"
minSdkVersion 21
targetSdkVersion 31
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
}

之前一直失败,所以我把各端资源包给删了,执行了一次 flutter create .

from flutter_deer.

simplezhli avatar simplezhli commented on June 8, 2024

Android,iOS的文件都有相关的代码改动,你直接删了后面还有会有其他问题。还是那句话,只要你的代码和flutter版本和此项目的保持一致,运行不会有问题的。

from flutter_deer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.