diff --git a/templates/android/PROJ-gradle/app/build.gradle b/templates/android/PROJ-gradle/app/build.gradle index 60996f488..ae6f767c5 100644 --- a/templates/android/PROJ-gradle/app/build.gradle +++ b/templates/android/PROJ-gradle/app/build.gradle @@ -104,14 +104,14 @@ dependencies { ::if NME_FIREBASE:: // Add the dependency for the Performance Monitoring library - implementation 'com.google.firebase:firebase-analytics:17.2.2' + implementation 'com.google.firebase:firebase-analytics:22.0.1' ::if NME_FIREBASE_PERFORMANCE:: - implementation 'com.google.firebase:firebase-perf:19.0.7' + implementation 'com.google.firebase:firebase-perf:21.0.1' ::end:: ::if NME_FIREBASE_CRASHLYTICS:: - implementation 'com.google.firebase:firebase-crashlytics-ndk:17.1.0' + implementation 'com.google.firebase:firebase-crashlytics-ndk:19.0.1' ::end:: ::end:: diff --git a/templates/android/extension-api/build.gradle b/templates/android/extension-api/build.gradle index 41997ba1b..ffe116f5f 100644 --- a/templates/android/extension-api/build.gradle +++ b/templates/android/extension-api/build.gradle @@ -6,6 +6,7 @@ android { compileSdkVersion ::ANDROID_TARGET_SDK_VERSION:: defaultConfig { + minSdkVersion ::ANDROID_MIN_API_LEVEL:: targetSdkVersion ::ANDROID_TARGET_SDK_VERSION:: } buildToolsVersion "34.0.0" diff --git a/tools/nme/src/project/NMEProject.hx b/tools/nme/src/project/NMEProject.hx index a790f0e20..c981d1c2b 100644 --- a/tools/nme/src/project/NMEProject.hx +++ b/tools/nme/src/project/NMEProject.hx @@ -31,8 +31,8 @@ class AndroidConfig public function new() { installLocation = "preferExternal"; - minApiLevel = 16; - addV4Compat = true; + minApiLevel = 21; + addV4Compat = false; universalApk = false; appHeader = []; appIntent = [];