当前位置:   article > 正文

cocos2dx-3.13.1编译android报错/Android.mk:gnustl_static: LOCAL_SRC_FILES points to a missing file_cocos2d 3.13 对应的ndk版本

cocos2d 3.13 对应的ndk版本

如题,cocos2dx3.13.1项目编译android时报错:

Android NDK: WARNING: APP_PLATFORM android-19 is larger than android:minSdkVersion 9 in ./AndroidManifest.xml    
Android NDK: ERROR:/Users/Evan/Documents/android-ndk/sources/cxx-stl/gnu-libstdc++/Android.mk:gnustl_static: LOCAL_SRC_FILES points to a missing file    
Android NDK: Check that /Users/Evan/Documents/android-ndk/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi/libgnustl_static.a exists  or that its path is correct   
make: Entering directory `/Users/Evan/Documents/work-fight/JdysrFight/fightGame/frameworks/runtime-src/proj.android'
/Users/Evan/Documents/android-ndk/build/core/prebuilt-library.mk:45: *** Android NDK: Aborting    .  Stop.
make: Leaving directory `/Users/Evan/Documents/work-fight/JdysrFight/fightGame/frameworks/runtime-src/proj.android'

解决方法:我之前用的ndk版本为r9,换成r10c就好了。

备注:/Users/Evan/Documents/android-ndk/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi/libgnustl_static.a exists  or that its path is correct

注意这里有个4.9/,r9d里只有4.6,4.8没有4.9的,所以暂时是换了ndk版本解决的。

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/从前慢现在也慢/article/detail/236284
推荐阅读
相关标签
  

闽ICP备14008679号