Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WARNING: APP_PLATFORM android-14 is larger than android:minSdkVersion in /home/user/MyApp/AndroidManifest.xml

Tags:

android-ndk

I'm using the Android ndk-r8e, and I'm having a problem building a project. I get the above-mentioned error message. I've checked my AndroidManifest.xml and minSdkVersion is set to 15, which is what I intend. According to the error message, APP_PLATFORM is set to android-14, which is smaller, not larger than minSdkVersion, so why am I getting the error?

Thanks.

like image 973
user1118764 Avatar asked Jan 13 '14 09:01

user1118764


1 Answers

Check your jni/Application.mk

You should have following line:-

APP_PLATFORM := android-14

If you do not have that line then version of your SDK is taken from project.properties files.

like image 142
Max Avatar answered Oct 07 '22 17:10

Max