添加:LOCAL_SHORT_COMMANDS := true 2)在Application.mk文件中添加:APP_SHORT_COMMANDS := true

LOCAL_SHORT_COMMANDS := true
在Application.mk文件中添加:APP_SHORT_COMMANDS := true

android打包找不到coco里面的点a文件,没加这两句话的情况下能正常编译。 问题是我的另一个项目外部cpp文件过多编译通不过必须要加这两句话。导致不能正常打包。

有人吗,快点顶上去啊

报错内容arm-linux-androideabi-g++: error: E:c1425enframeworksruntime-srcproj_u8.android…/…/cocos2d-x/external/lua/luajit/prebuilt/android/armeabi/libluajit.a: No such file or directory
arm-linux-androideabi-g++: error: E:c1425enframeworksruntime-srcproj_u8.android…/…/cocos2d-x/external/websockets/prebuilt/android/armeabi/libwebsockets.a: No such file or directory
arm-linux-androideabi-g++: error: E:c1425enframeworksruntime-srcproj_u8.android…/…/cocos2d-x/external/freetype2/prebuilt/android/armeabi/libfreetype.a: No such file or directory
arm-linux-androideabi-g++: error: E:c1425enframeworksruntime-srcproj_u8.android…/…/cocos2d-x/external/png/prebuilt/android/armeabi/libpng.a: No such file or directory
arm-linux-androideabi-g++: error: E:c1425enframeworksruntime-srcproj_u8.android…/…/cocos2d-x/external/jpeg/prebuilt/android/armeabi/libjpeg.a: No such file or directory
arm-linux-androideabi-g++: error: E:c1425enframeworksruntime-srcproj_u8.android…/…/cocos2d-x/external/tiff/prebuilt/android/armeabi/libtiff.a: No such file or directory
arm-linux-androideabi-g++: error: E:c1425enframeworksruntime-srcproj_u8.android…/…/cocos2d-x/external/webp/prebuilt/android/armeabi/libwebp.a: No such file or directory
make.exe: Leaving directory `E:/c1425en/frameworks/runtime-src/proj_u8.android’
arm-linux-androideabi-g++: error: E:c1425enframeworksruntime-srcproj_u8.android…/…/cocos2d-x/external/chipmunk/prebuilt/android/armeabi/libchipmunk.a: No such file or directory
arm-linux-androideabi-g++: error: E:c1425enframeworksruntime-srcproj_u8.android…/…/cocos2d-x/external/zlib/prebuilt/android/armeabi/libz.a: No such file or directory
编译模式:release
make.exe: *** [obj/local/armeabi/libcocos2dlua.so] Error 1

我也遇到了这个问题,楼主解决了吗?望告知

解决了,

把你报的错贴出来,build_native.py里面获取系统路径的时候\斜杠。把过去的系统路径的斜杠替换成反斜杠。编译就通过了

楼主怎么解决的?? 修改这个路劲吗??但是好像并不行啊