cocos android packaging problem

1. Multi-platform architecture packaging so files

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

TARGET_CPU_API := armeabi

APP_ABI := armeabi armeabi-v7a x86


2. The android sdk version of the mobile phone is lower than the  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

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325549675&siteId=291194637