Cocos Android packaging problem

One. Multi-platform architecture packaging so file

Add the following code to the application.mk file, where TARGET_CPU_API represents the target cpu and APP_ABI represents the compilation

TARGET_CPU_API := armeabiAPP_ABI: = armeabi armeabi-v7a x86

Second, the android sdk version of the mobile phone is lower than android sdk compiled version

Android NDK: WARNING: APP_PLATFORM android-19 is larger than android:minSdkVersion 14

Add the following code to the application.mk file,

APP_PLATFORM := android-14

One, multi-platform architecture packaging so file

Add in the application.mk file Enter the following code, where TARGET_CPU_API represents the target cpu and APP_ABI represents all platforms to be compiled

TARGET_CPU_API := armeabiAPP_ABI := armeabi armeabi-v7a x86

Second, the android sdk version of the mobile phone is lower than android sdk compiled version

Android NDK: WARNING: APP_PLATFORM android-19 is larger than android:minSdkVersion 14

In Add the following code to the application.mk file,

APP_PLATFORM := android-14

Leave a Comment

Your email address will not be published.