【问题标题】:Cocos2dx NDK build error on android studioandroid studio上的Cocos2dx NDK构建错误
【发布时间】:2018-04-06 10:21:37
【问题描述】:

当我尝试在 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】:

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

    如果您使用 CMakeLists 构建项目,请转到 gradle.properties 并更改为 PROP_APP_ABI=armeabi-v7a,如果您想添加更多架构,请按照 gradle.properties 文件中的说明进行操作。

    【讨论】:

      猜你喜欢
      • 2015-05-10
      • 2016-01-19
      • 2017-03-22
      • 1970-01-01
      • 1970-01-01
      • 2020-07-29
      • 2011-11-09
      • 1970-01-01
      • 2019-01-02
      相关资源
      最近更新 更多