Reputation: 14118
Facing below waring while executing Android based NDK application:
Warning:
Android NDK: WARNING: APP_PLATFORM android-19 is larger than android:minSdkVersion 8 in ./AndroidManifest.xml"
After this warning nothing happens in process. Am I doind anything wrong.
Any body please guide I am new in Android as well in NDK development. Is there any other easy way to do the same to access CPP libraries in Android.
Upvotes: 0
Views: 106
Reputation: 1031
Execute ndk-build from the actual project directory. Lets say you are trying to build one of the samples execute ndk-build from this directory /samples/hello-jni. This should build the project. Also add ndk-build path to PATH variable like this set path=%path%;
Ignore the warning. it just means that your target-platform is greater than your minSDkversion Which is usually the case.
Upvotes: 1
Reputation: 71
The minSdkVersion in AndroidManifest.xml
and in Application.mk
have to be the same. Change your APP_PLATFORM := android-19
to APP_PLATFORM := android-8
in Application.mk
warning will disapear.
Upvotes: 2