【发布时间】:2016-08-23 23:50:18
【问题描述】:
晚上好。
我一直在尝试使用 cocos2d-x 编译 HelloWorld。 我使用了以下命令:
cocos compile -p android --android-studiococos compile -p android --android-studiococos compile -p android
我总是有同样的答案
Android NDK: ERROR:C:\Users\santi_000\Desktop\Android\cocos2d\HelloWorld\proj.android\../cocos2d/external/freetype2/prebuilt/android/Android.mk:cocos_freetype2_static: LOCAL_SRC_FILES points to the missing file
Android NDK: Check que C:/Users/santi_000/Desktop/Android/cocos2d/HelloWorld/proj.android/../cocos2d/external/freetype2/prebuilt/android/arm64-v8a/libfreetype.a exists or que its path is correct
make: Entering directory `C: /Users/santi_000/Desktop/Android/cocos2d/HelloWorld/proj.android '
C: / Users / santi_000 / AppData / Local / Android / sdk / ndk-bundle / build //../ build / core / prebuilt-library.mk: 45: *** Android NDK: Aborting. Stop.
make: Leaving directory `C: /Users/santi_000/Desktop/Android/cocos2d/HelloWorld/proj.android '
Error running command, return code: 2.
我在 StackOverFlow 中找到了一些页面,但没有一个对我有帮助。我正在使用 Windows。我意识到我什至没有 arm64-V8A 文件夹,我该怎么办?我可以在哪里复制它,或者如何生成它?
谢谢。
【问题讨论】:
标签: android android-ndk cocos2d-android