赞
踩
如题,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版本解决的。
赞
踩
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。