当我尝试在android studio上构建我的游戏时,我有以下错误:
Error:(81) Android NDK: Application targets deprecated ABI(s): armeabi
Error:(82) Android NDK: Support for these ABIs will be removed in a future NDK release.
从命令行运行正常:
cocos run . -p android --android-studio
转到Android.mk并将APP_ABI
从armeabi
更改为armeabi-v7a
。
如果您正在使用CMakeLists来构建项目,那么请转到gradle.properties
并更改为PROP_APP_ABI=armeabi-v7a
,如果您想按照gradle.properties
文件中的说明添加更多体系结构。