
Update these lines with these following: ext.kotlin_version = '1.7.10'Ĭlasspath ':gradle:7.3.1' Run with -info or -debug option to get more log output.Įxception: Gradle task assembleDebug failed with exit code 1 Run with -stacktrace option to get the stack trace. I was getting this issue: FAILURE: Build failed with an exception.īuild file '/home/marcelo-cesar/Desktop/Overseasconnection-player-teams/android/app/adle' line: 47Ī problem occurred evaluating project ':app'.Ĭould not find method minSdkVersion() for arguments on DefaultConfig$AgpDecorated_Decorated of type .$AgpDecorated. VS Code at C:\Users\israel.gomes\AppData\Local\Programs\Microsoft VS Code.IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2020.2.3.IntelliJ IDEA Community Edition (version 2020.3) Android Studio at C:\Program Files\Android\Android Studio.Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe.Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01).Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java.ANDROID_HOME = C:\Users\israel.gomes\AppData\Local\Android\Sdk.Platform android-30, build-tools 30.0.2.Android SDK at C:\Users\israel.gomes\AppData\Local\Android\Sdk.Android toolchain - develop for Android devices (Android SDK version 30.0.2)


Already changed gradle-wrapper.properties (Current file):ĭistributionUrl=https\:///distributions/gradle-6.6.1-all.zipĬlasspath ':gradle:4.0.1'Ĭlasspath ":kotlin-gradle-plugin:$kotlin_version".Here some information about the project status and environment. The plugin audioplayers could not be built due to the issue above. Run with -info or -debug option to get more log output. Please use Gradle 5.3 or newer, or the previous version of the Kotlin plugin. > The current Gradle version 4.10.2 is not compatible with the Kotlin Gradle plugin. I already install every update I found, even though, it shows that the Gradle version is 4.10.2.īuild file 'C:\Users\israel.gomes\AppData\Local\Pub\Cache\hosted\\audioplayers-0.17.4\android\adle' line: 25Ī problem occurred evaluating root project 'audioplayers'. 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.
