android studio上的Cocos2dx NDK构建错误

问题描述 投票:0回答:1

当我尝试在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 cocos2d-x
1个回答
0
投票

转到Android.mk并将APP_ABIarmeabi更改为armeabi-v7a

如果您正在使用CMakeLists来构建项目,那么请转到gradle.properties并更改为PROP_APP_ABI=armeabi-v7a,如果您想按照gradle.properties文件中的说明添加更多体系结构。

© www.soinside.com 2019 - 2024. All rights reserved.