Android studio thread issue

Android studio thread issue
0
#1

I am using cocos2dx 3.17 ndk ->16b
When I’m building apk I a’m getting this kind of error unable to create thread
in android studio I don’t know what is the issue can any one help me out

Iam getting the issue in Mac mini iOS 10.14, ram->8gb

armeabi-v7a] StaticLibrary : libui.a
[armeabi-v7a] StaticLibrary : libcocosdenshion.a
[armeabi-v7a] StaticLibrary : libextension.a
[armeabi-v7a] StaticLibrary : libaudioengine.a
[armeabi-v7a] StaticLibrary : libpvmp3dec.a
[armeabi-v7a] StaticLibrary : libcocos2dxinternal.a
[armeabi-v7a] StaticLibrary : librecast.a
[armeabi-v7a] StaticLibrary : libcocos2dandroid.a
[armeabi-v7a] StaticLibrary : libcocos2d.a
[armeabi-v7a] StaticLibrary : libcocosbuilder.a
[armeabi-v7a] StaticLibrary : libcocos3d.a
[armeabi-v7a] StaticLibrary : libspine.a
[armeabi-v7a] StaticLibrary : flatbuffers.a
[armeabi-v7a] StaticLibrary : libnetwork.a
[armeabi-v7a] StaticLibrary : libvorbisidec.a
[armeabi-v7a] StaticLibrary : libcpufeatures.a
[armeabi-v7a] SharedLibrary : libMyGame.so
:NewSuperPack:compileDebugSources
:NewSuperPack:mergeDebugShaders
:NewSuperPack:compileDebugShaders
:NewSuperPack:generateDebugAssets
:NewSuperPack:mergeDebugAssets FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:NewSuperPack:mergeDebugAssets’.

unable to create new native thread

0 Likes

#2

What version of Android Studio are you using?

0 Likes

#3

Android studio Version 3.3.2

0 Likes

#4

Does this error also occur, if you call ./gradlew build in the terminal?

0 Likes

#5

Ichecked with this command after u posted but same issue
> Task :NewSuperPack:externalNativeBuildDebug

Build MyGame armeabi-v7a

FAILURE: Build failed with an exception.

  • What went wrong:

Execution failed for task ‘:NewSuperPack:mergeDebugAssets’.

> unable to create new native thread

  • Try:

Run with –stacktrace option to get the stack trace. Run with –info or –debug option to get more log output. Run with –scan to get full insights.

BUILD FAILED in 4m 46s

76 actionable tasks: 32 executed, 44 up-to-date

0 Likes