Cocos2d-js v3.x - apk build failed : libcurl.a(url.o):function IsPipeliningPossible: error: relocation overflow in R_ARM_THM_CALL
Cocos2d-js v3.x - apk build failed : libcurl.a(url.o):function IsPipeliningPossible: error: relocation overflow in R_ARM_THM_CALL
[Error]
check on your log detail, focus on below 2 lines.
libcurl.a(url.o):function IsPipeliningPossible: error: relocation overflow in R_ARM_THM_CALL
libcurl.a(url.o):function fix_hostname.isra.1: error: relocation overflow in R_ARM_THM_CALL
[Error]
check on your log detail, focus on below 2 lines.
libcurl.a(url.o):function IsPipeliningPossible: error: relocation overflow in R_ARM_THM_CALL
libcurl.a(url.o):function fix_hostname.isra.1: error: relocation overflow in R_ARM_THM_CALL
[Solved]
type below line add in 2 "Android.mk" files.
LOCAL_ARM_MODE := arm
For sample:
1. yourProjectFolder/frameworks/js-bindings/bindings/Android.mk
2. yourProjectFolder/frameworks/runtime-scr/proj.android/jni/Android.mk
3. try to build apk again, right-click on project > Cocos Tools > Package to Apk for Android.
then click "Generate >"
build success!





Comments
Post a Comment