game.ndkins是什么软件件

没有更多推荐了,
不良信息举报
举报内容:
cocos2dx3.2升级Android5的坑
举报原因:
原文地址:
原因补充:
最多只允许输入30个字
加入CSDN,享受更精准的内容推荐,与500万程序员共同成长!Android NDK: Aborting (Build Fail)
09:44:27 UTC
Hi, i am trying to build apk , i am pretty new to cocos
this is the error i get, i have searched a lot and finally posting this.
F:\GameLibs\cocos2d-x-3.12\TapZap&cocos compile -p android --android-studio
Building mode: debug
Using Android Studio project : F:\GameLibs\cocos2d-x-3.12\TapZap\proj.android-studio
Android platform not specified, searching a default one...
running: '"F:\GameLibs\android-sdk-windows\tools\android" update project -t android-10 -p F:\GameLibs\cocos2d-x-3.12\TapZap\proj.android-studio\app'
Updated project.properties
Updated local.properties
Updated file F:\GameLibs\cocos2d-x-3.12\TapZap\proj.android-studio\app\proguard-project.txt
Building native...
NDK build mode: debug
running: '"F:\GameLibs\android-ndk-r12b-64\ndk-build" -C F:\GameLibs\cocos2d-x-3.12\TapZap\proj.android-studio\app -j4 NDK_MODULE_PATH=F:\GameLibs\cocos2d-x-3.12\TapZap\proj.android-studio\../cocos2d;F:\GameLibs\cocos2d-x-3.12\TapZap\proj.android-studio\../cocos2d/F:\GameLibs\cocos2d-x-3.12\TapZap\proj.android-studio\../cocos2d/external NDK_TOOLCHAIN_VERSION=clang NDK_DEBUG=1'
Android NDK: ERROR:F:\GameLibs\cocos2d-x-3.12\TapZap\proj.android-studio\../cocos2d/external/freetype2/prebuilt/android/Android.mk:cocos_freetype2_static: LOCAL_SRC_FILES points to a missing file
Android NDK: Check that F:/GameLibs/cocos2d-x-3.12/TapZap/proj.android-studio/../cocos2d/external/freetype2/prebuilt/android/arm64-v8a/libfreetype.a exists
or that its path is correct
make: Entering directory `F:/GameLibs/cocos2d-x-3.12/TapZap/proj.android-studio/app'
F:/GameLibs/android-ndk-r12b-64/build//../build/core/prebuilt-library.mk:45: *** Android NDK: Aborting
make: Leaving directory `F:/GameLibs/cocos2d-x-3.12/TapZap/proj.android-studio/app'
Error running command, return code: 2.
F:\GameLibs\cocos2d-x-3.12\TapZap&
18:16:05 UTC
LOCAL_SRC_FILES := $(TARGET_ARCH_ABI)/libfreetype.a
libfreetype in cocos2d-x do not have “arm64-v8a” prebuilt. that case error.
you can check in :… cocos2d\external\freetype2\prebuilt\android
you should target platform : armeabi-v7a or armeabi for android. unless your target is specific
05:09:23 UTC
cocos compile -p android --android-studio --app-abi=armeabi-v7a
11:41:09 UTC
fixed it by downgrading the ndk version to 10e没有更多推荐了,
不良信息举报
举报内容:
cocos2dx3.0游戏编程-前言
举报原因:
原文地址:
原因补充:
最多只允许输入30个字
加入CSDN,享受更精准的内容推荐,与500万程序员共同成长!博客分类:
在Eclipse上使用NDK编译cocos2d-x引擎写的游戏时出现了
jni/hellocpp/main.cpp: In function 'jint JNI_OnLoad(JavaVM*, void*)':jni/hellocpp/main.cpp:16:6: internal compiler error: Segmentation faultPlease submit a full bug report,with preprocessed source if appropriate.See && for instructions.make: *** [obj/local/armeabi/objs/game_shared/hellocpp/main.o] Error 1
这时你先试试在Application.mk里面添加APP_PLATFORM := android-8
如果添加完成后还没有解决你的问题的话,你就把NDK删除了重现拷贝一份新的,在编译试试。我在Application.mk里面添加APP_PLATFORM := android-8添加了没有解决我的问题,最后我把NDK删除了重现拷贝一份新的就可以正常编译了。
yugangzhen
浏览: 5537 次
来自: 深圳
顶 刚哥威武
(window.slotbydup=window.slotbydup || []).push({
id: '4773203',
container: s,
size: '200,200',
display: 'inlay-fix'评论 - 1135}

我要回帖

更多关于 ins是什么软件 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信