![]() ![]() NDK_MODULE_PATH=$/cocos2dx/platform/third_party/android/prebuiltĮND-OF-build_native.sh -Īfter following Vikas's suggestion from the comments I came up with the following results: ![]() $NDK_ROOT/ndk-build -C $GAME_ANDROID_ROOT \ Mkdir $GAME_ANDROID_ROOT/assets # copy resourcesįile=$GAME_ANDROID_ROOT/assets/Icon-72.pngĬp $file $GAME_ANDROID_ROOT/res/drawable-hdpi/icon.pngįile=$GAME_ANDROID_ROOT/assets/Icon-48.pngĬp $file $GAME_ANDROID_ROOT/res/drawable-mdpi/icon.pngįile=$GAME_ANDROID_ROOT/assets/Icon-32.pngĬp $file $GAME_ANDROID_ROOT/res/drawable-ldpi/icon.pngĮcho "Building external dependencies from source" GAME_ANDROID_ROOT=$GAME_ROOT/proj.androidīuild C/C native code using Android NDK I have also added what my build_native.sh looks like for reference, in case anything is screwy in there:ĬOCOS2DX_ROOT=/cygdrive/c/Users/DarkRaveDev/Documents/cocos2d-x-2.0.1 I found an error in the Android.mk file of my project. However I'm still getting the same issue from the Android.mk file in EDIT TWO below (Please view the image).Īm I getting closer, missing some step somewhere?Īfter following Vikas's suggestion and blog and linking folders (Thankyou Vikas!): This time it ran smoothly and there were no problems with CCCommon.cpp,I even see that libGame.so is being built finally (Even in android project under libs). ![]() Just re-ran build_native.sh ( After EDIT TWO) ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |