Back to Blog
Flutter gradle version5/25/2023 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' 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. Here is how I upgraded gradle in my older Flutter project:Ĭreate a new temp project with the latest version of Flutter.
0 Comments
Read More
Leave a Reply. |