Home > other >  Help cocos3dx - 3.11.1 packaging error
Help cocos3dx - 3.11.1 packaging error

Time:09-23

 
D: \ open \ helloworld \ proj android> Build_native. Py
Do use the cocos console home.

Compilation mode: the debug
Using the Eclipse project: D: \ open \ helloworld \ proj android
Do not specify the Android target platform version, automatic find an available version...
Being performed: 'd: \ "android \ \ tools \ android SDK" update project android - 19 - p - t d: \ ope
N \ helloworld \ proj. Android '

The Updated project. The properties
The Updated local. The properties
The Updated file D: \ open \ helloworld \ proj android \ proguard - project. TXT
Do not specify the Android target platform version, automatic find an available version...
Being performed: 'd: \ "android \ \ tools \ android SDK" update lib - project - p d: \ open \ hellowor
Ld \ cocos2d \ cocos, platform, android, android Java - t - 19 '

The Updated project. The properties
The Updated local. The properties
The Updated file D: \ open \ helloworld \ cocos2d, cocos, platform, android \ Java \ proguard - pro
Ject. TXT
Executing the NDK - build...
The NDK compilation mode: the debug
Being performed: 'd: \ "android \ the NDK \ the NDK - build" - C d: \ open \ helloworld \ proj android - j4 the NDK
_MODULE_PATH=D: \ open \ helloworld \ proj android \../cocos2d; D: \ open \ helloworld \ proj.
Android \../cocos2d/cocos; D: \ open \ helloworld \ proj android \../cocos2d/external the NDK
4.9 NDK_DEBUG _TOOLCHAIN_VERSION==1: '

Make the. Exe: if the directory ` D:/open/helloworld/proj. Android '
[armeabi] StaticLibrary: libcocos2d. A
[armeabi] StaticLibrary: libcocostudio. A
[armeabi] StaticLibrary: libcocosbuilder. A
[armeabi] StaticLibrary: libcocos3d. A
[armeabi] StaticLibrary: libspine. A
[armeabi] StaticLibrary: libui. A
[armeabi] StaticLibrary: libcocosdenshion. A
[armeabi] StaticLibrary: flatbuffers. A
[armeabi] StaticLibrary: libextension. A
[armeabi] StaticLibrary: libaudioengine. A
[armeabi] StaticLibrary: libbox2d. A
[armeabi] StaticLibrary: libnetwork. A
[armeabi] StaticLibrary: libcocos2dxinternal. A
[armeabi] StaticLibrary: librecast. A
[armeabi] StaticLibrary: libbullet. A
[armeabi] StaticLibrary: libcocos2dandroid. A
[armeabi] StaticLibrary: libcpufeatures. A
[armeabi] Gdbserver: [arm - Linux - androideabi - 4.9] libs/armeabi/Gdbserver
[armeabi] Gdbsetup: libs/armeabi/GDB. Setup
[armeabi] SharedLibrary: libMyGame. So
Make the. Exe: * * */libs/armeabi/gdbserver Error 1
Make the. Exe: * * * Waiting for unfinished jobs...
Make the. Exe: brigade directory ` D:/open/helloworld/proj. Android '
Execute the command error, the return value: 2,
Traceback (the most recent call last) :
The File "D: \ open \ helloworld \ proj android \ build_native py", 43, line in & lt; module>
Build (opts. Build_mode)
The File "D: \ open \ helloworld \ proj android \ build_native py", 28, the line in the build
Raise the Exception (" Build dynamic library for project [" + app_android_root +
"] fails!" )
Exception: Build the dynamic library for project [D: \ open \ helloworld \ proj android \.
./] fails!

D: \ open \ helloworld \ proj android>


Using cocos2dx - 3.11.1 version
Python - 2.7.5. Amd64
Android - ndk64 - r10 - Windows - x86_64
4.1 Windows android - sdk_r24.
The JDK 8 u91 - Windows - x64
Apache ant -- 1.9.7

The new created a helloworld, compiled using VS2015, what code do not move,
The helloworld. The CPP to copy a to D: \ open \ helloworld \ proj android \ jni below the directory,
In D: \ open \ helloworld \ proj. Android directory command prompt enter build_native py run is an error
Don't know what to do






CodePudding user response:

You look at the build_native. Py error the number of rows

CodePudding user response:

The building Lord you solved this problem? I also encountered the same problem as you

CodePudding user response:

The building Lord for help, solve the didn't, I also met the same problem as you

CodePudding user response:

Using the NDK r11c version give it a try
  • Related