nimx
nimx copied to clipboard
Android Debug Build Deprecated Gradle & Older SDK
After realizing in https://github.com/yglukhov/nimx/issues/429 that I needed to create debug builds, I issued nake -d:debug droid
. It got to BUILD SUCCESSFUL in 5s
and hanged the terminal until I ctrl+ced nake. In the build output was:
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /home/user/Code/nim/android-ndk1/build/android/com.mycompany.NimxApp/src/main/java/org/libsdl/app/SDL.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
I then installed the APK in Anbox and was presented with:
"This app was built for an older version of Android and doesn't include the latest privacy protections."
Is it possible to specify a different SDK version?
check your AndroidManifest.xml for versions
<uses-sdk android:targetSdkVersion="19" android:minSdkVersion="18"/>