Skip to content
This repository has been archived by the owner on Jul 17, 2020. It is now read-only.

Android版のデモアプリでコンパイルエラー #28

Open
yunkwanho opened this issue Dec 21, 2016 · 1 comment
Open

Android版のデモアプリでコンパイルエラー #28

yunkwanho opened this issue Dec 21, 2016 · 1 comment
Labels

Comments

@yunkwanho
Copy link
Contributor

yunkwanho commented Dec 21, 2016

以下のコンパイルエラー発生

$ cocos compile -p android --android-studio
...
...
Android NDK: ERROR:/Users/xxx/ultima/amoad-cocos2dx-module/AMoAdCocos2dxModuleDemo/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 /Users/xxx/ultima/amoad-cocos2dx-module/AMoAdCocos2dxModuleDemo/proj.android-studio/../cocos2d/external/freetype2/prebuilt/android/armeabi/libfreetype.a exists  or that its path is correct
make: Entering directory `/Users/xxx/ultima/amoad-cocos2dx-module/AMoAdCocos2dxModuleDemo/proj.android-studio/app'
/Users/xxx/Library/Android/android-ndk-r10e/build/core/prebuilt-library.mk:45: *** Android NDK: Aborting    .  Stop.
make: Leaving directory `/Users/xxx/ultima/amoad-cocos2dx-module/AMoAdCocos2dxModuleDemo/proj.android-studio/app'
Error running command, return code: 2.
@yunkwanho yunkwanho added the bug label Dec 21, 2016
@yunkwanho
Copy link
Contributor Author

yunkwanho commented Dec 21, 2016

以下のコマンドで解決できます。

$ cocos compile -p android --android-studio --app-abi armeabi-v7a

@yunkwanho yunkwanho changed the title Android NDK: ERROR Android版のデモアプリでコンパイルエラー Dec 21, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant