Cocos creator 1.7.0 build API android-28 error

Cocos creator 1.7.0 build API android-28 error
0

Hi,
Due to the change of app upload policy to the store need to build API android-28.
I am using version 1.7.0 and ndk r19c to build. But when compile again the error message.

clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [/Users/Super/Projects/Test/build/jsb-default/frameworks/runtime-src/proj.android-studio/app/build/intermediates/ndkBuild/release/obj/local/x86/libcocos2djs.so] Error 1

Previously there was an error because GCC 4.9 is no longer support so I commented this section in build.gradle.

Please help me.

Is there any reason you stay with v1.70 ? Maybe an Update to v2.12 could help. I got some probs building a APK through gradle. The reason in my situation was, i got a firewall that blocked the i-net connection of CocosCreator / Gradle to the web. Therefore gradle failed. Please check if you got a firewall … if so, enable CC / gradle to connect to the i-net