Skip to content

Commit

Permalink
Fix message "Your project is configured with Android NDK 26.1.1090912…
Browse files Browse the repository at this point in the history
…5, but the following plugin(s) depend on a different Android NDK version..."

Launching lib/main.dart on Pixel 8 in debug
mode..・
Your project is configured with Android NDK 26.1.10909125, but the following plugin(s) depend on a different Android NDK version:
- cloud_firestore requires Android NDK 27.0.12077973
- firebase_app_check requires Android NDK 27.0.12077973
- firebase_auth requires Android NDK 27.0.12077973
- firebase_core requires Android NDK 27.0.12077973
- firebase_messaging requires Android NDK 27.0.12077973
- flutter_native_splash requires Android NDK 27.0.12077973
- package_info_plus requires Android NDK 27.0.12077973
- sentry_flutter requires Android NDK 27.0.12077973
- url_launcher_android requires Android NDK 27.0.12077973
- webview_flutter_android requires Android NDK 27.0.12077973
Fix this issue by using the highest Android NDK version (they are backward compatible).
Add the following to /Users/karinberg/Development/SocialIncome/repos/public/recipients_app/android/app/build.gradle:
android {
   ndkVersion = "27.0.12077973"
   ...
}
  • Loading branch information
KarinBerg committed Dec 20, 2024
1 parent d92c7a9 commit 3de42ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipients_app/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if (keystorePropertiesFile.exists()) {
android {
namespace = "org.socialincome.app"
compileSdk = 34
ndkVersion = flutter.ndkVersion
ndkVersion = "27.0.12077973"

compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
Expand Down

0 comments on commit 3de42ed

Please sign in to comment.