Still unable to compile android helloworld in Cocos Engine 1.0 Preview

C:\Users\CST\Documents\Cocos\CocosProjects\Test>cocos compile -p android -m rele
ase --app-abi armeabi-v7a
Running command: compile
Building mode: release
Android platform not specified, searching a default one…
running: ‘“C:\Users\Public\Documents\RAD Studio\12.0\PlatformSDKs\adt-bundle-win
dows-x86_64-20140321\sdk\tools\android” update project -t android-19 -p C:\Users
\CST\Documents\Cocos\CocosProjects\Test\proj.android’

Updated project.properties
Updated local.properties
Updated file C:\Users\CST\Documents\Cocos\CocosProjects\Test\proj.android\progua
rd-project.txt
It seems that there are sub-projects. If you want to update them
please use the --subprojects parameter.
building native
NDK build mode: release
running: ‘C:\AndroidNDK\android-ndk-r10d\ndk-build -C C:\Users\CST\Documents\Coc
os\CocosProjects\Test\proj.android -j4 APP_ABI=“armeabi-v7a” NDK_MODULE_PATH=C:
Cocos\frameworks\cocos2d-x;C:\Cocos\frameworks\cocos2d-x/cocos;C:\Cocos\framewor
ks\cocos2d-x/external’

Android NDK: WARNING: APP_PLATFORM android-19 is larger than android:minSdkVersi
on 9 in ./AndroidManifest.xml
Android NDK: WARNING: Ignoring unknown import directory: jni/…/…/cocos2d
Android NDK: WARNING: Ignoring unknown import directory: jni/…/…/cocos2d/exter
nal
Android NDK: WARNING: Ignoring unknown import directory: jni/…/…/cocos2d/cocos

Android NDK: WARNING:jni/Android.mk:cocos2dcpp_shared: non-system libraries in l
inker flags: -lc++_static
Android NDK: This is likely to result in incorrect builds. Try using LOCAL_S
TATIC_LIBRARIES
Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependenc
ies of the
Android NDK: current module
Android NDK: WARNING: Unsupported source file extensions in C:\Cocos\frameworks
cocos2d-x/cocos/./prebuilt-mk/Android.mk for module cocos2dx_static
Android NDK: …/…/prebuilt/android/armeabi-v7a/libcocos2d.a
make.exe: Entering directory C:/Users/CST/Documents/Cocos/CocosProjects/Test/pr oj.android' [armeabi-v7a] Compile++ thumb: cocos2dcpp_shared <= main.cpp [armeabi-v7a] Compile++ thumb: cocos2dcpp_shared <= AppDelegate.cpp [armeabi-v7a] Compile++ thumb: cocos2dcpp_shared <= HelloWorldScene.cpp [armeabi-v7a] StaticLibrary : libcocos2d.a [armeabi-v7a] Compile thumb : cpufeatures <= cpu-features.c [armeabi-v7a] StaticLibrary : libcpufeatures.a [armeabi-v7a] SharedLibrary : libcocos2dcpp.so C:/AndroidNDK/android-ndk-r10d/toolchains/arm-linux-androideabi-4.8/prebuilt/win dows-x86_64/lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/ bin\ld.exe: error: C:\Cocos\frameworks\cocos2d-x/external/curl/prebuilt/android/ armeabi-v7a/libcurl.a(sha512-armv4.o): requires unsupported dynamic reloc R_ARM_ REL32; recompile with -fPIC clang++.exe: error: linker command failed with exit code 1 (use -v to see invoca tion) make.exe: *** [obj/local/armeabi-v7a/libcocos2dcpp.so] Error 1 make.exe: Leaving directoryC:/Users/CST/Documents/Cocos/CocosProjects/Test/pro
j.android’
Ndk build failed!

Read here: [SOLVED] Proj.android build error, undefined reference to ui component (ScrollView)

only add LOCAL_ARM_MODE := arm is not enough.
It will report libcurl is not compiled with -fPIC in Cocos2d-x 3.3rc0.

I copied the external/curl folder from 3.3rc2 to 3.3rc0 and it works.

Yes, but the fPIC error depends on the toolchain you are using…

this error haven’t been reproducted yet?