surebad.blogg.se

Flutter gradle version
Flutter gradle version













I've tried everything, but Flutter always returns the error below: I have this project in Flutter, but I haven't been able to build an apk for a couple of weeks, because of the Gradle version. Try upgrading audioplayers to the newest version, although this may not fix the issue, as the last comment in this thread was less than 24 hours ago.

flutter gradle version

It appears as if audioplayers has an incompatible gradle version with your project. It has to download the new version of gradle to the android/.gradle directory so the first time might take a while. For me today it looks like this: distributionUrl=https\:///distributions/ Update your old project to use the same one. In the temp project open android/gradle/wrapper/gradle-wrapper.properties and check the distributionUrl. For me today it looks like this: classpath ':gradle:4.1.0'

flutter gradle version

In the temp project open android/adle check the classpath version of gradle being used and update that in your old Flutter project. You'll use this to see what version of gradle Flutter is using nowadays.

flutter gradle version

Here is how I upgraded gradle in my older Flutter project:Ĭreate a new temp project with the latest version of Flutter.















Flutter gradle version