Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android Gradle Plugin error during build #145

Closed
luifr10 opened this issue Jan 1, 2025 · 0 comments · Fixed by #146
Closed

Android Gradle Plugin error during build #145

luifr10 opened this issue Jan 1, 2025 · 0 comments · Fixed by #146
Assignees
Labels
bug Something isn't working

Comments

@luifr10
Copy link
Contributor

luifr10 commented Jan 1, 2025

BUILD FAILED in 3m 52s
Running Gradle task 'assembleDebug'... 232.6s

┌─ 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 is likely │
│ defined in: │
│ /home/runner/work/panoramax-mobile-app/panoramax-mobile-app/android/settings.gradle, │
│ in the 'plugins' closure (by the number following "com.android.application"). │
│ Alternatively, if your project was created with an older version of the templates, it is likely │
│ in the buildscript.dependencies closure of the top-level build.gradle: │
│ /home/runner/work/panoramax-mobile-app/panoramax-mobile-app/android/build.gradle, │
│ as the number following "com.android.tools.build:gradle:". │
│ │
│ Finally, if you have a strong reason to avoid upgrading AGP, you can temporarily lower the │
│ compileSdk version in the following file: │
│ /home/runner/work/panoramax-mobile-app/panoramax-mobile-app/android/app/build.gradle │
└──────────────────────────────────────────────────────────────────────────────────────────────────┘
Gradle task assembleDebug failed with exit code 1

@luifr10 luifr10 added the bug Something isn't working label Jan 1, 2025
@luifr10 luifr10 self-assigned this Jan 1, 2025
@luifr10 luifr10 linked a pull request Jan 1, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant