skip to Main Content

Flutter – Build failed due to the gradle version

Why I am trying to build the apk, while run the flutter build apk I am getting an error like this `FAILURE: Build failed with an exception. Where: Build file '/Users/mac/Vista-Learning/Vista-Learning-code-base/App/Mobile apps/YT-fix/vlearning-mobile-app/android/app/build.gradle' line: 31 What went wrong: A problem occurred…

VIEW QUESTION

Flutter – Provided Metadata instance has version 2.1.0, while maximum supported version is 2.0.0. To support newer versions, update the kotlinx-metadata-jvm

I tried to geneate the apk in Flutter, and then it show me this error: ERROR: R8: java.lang.IllegalArgumentException: Provided Metadata instance has version 2.1.0, while maximum supported version is 2.0.0. To support newer versions, update the kotlinx-metadata-jvm library. FAILURE: Build…

VIEW QUESTION

Flutter – Using compileSdk 35 requires Android Gradle Plugin (AGP) 8.1.0 or higher

After upgrade Flutter we facing issue ┌─ Flutter Fix ────────────────────────────────────────────────────────────────────────────────────┐ │ [!] Using compileSdk 35 requires Android Gradle Plugin (AGP) 8.1.0 or higher. │ │ Please upgrade to a newer AGP version. The version of AGP that your project uses…

VIEW QUESTION

Flutter – Android Gradle plugin requires Java 17 to run. You are currently using Java 11. in window system

Launching libmain.dart on Android SDK built for x86 in debug mode... Running Gradle task 'assembleDebug'... FAILURE: Build failed with an exception. * Where: Build file 'C:UsersviranStudioProjectsk_walzy_appandroidappbuild.gradle' line: 2 * What went wrong: An exception occurred applying plugin request [id: 'com.android.application']…

VIEW QUESTION
Back To Top
Search