NDK-rakentaminen epäonnistui, kun hankkeen project.android koottiin cocos2dx: ssä

MHussain 09/14/2017. 0 answers, 865 views
android-ndk android-ndk cocos2d-x

Rakentan sovellukseni Android-studiossa. nämä virheet tulevat android-ndk-r9 project.android Olen asentanut android-ndk-r9 ja kaikki polun muuttujat on asetettu. komento Käytin cocos run -p android sen päitä linja NDk build failed tässä on android.mk jni-kansioon

LOCAL_PATH: = $ (soita my-dir)

sisältää $ (CLEAR_VARS)

$ (puhelun tuonti-lisäpolku, $ (LOCAL_PATH) /../../ cocos2d) $ (soiton tuonti-lisäpolku, $ (LOCAL_PATH) /../../ cocos2d / ulkoinen) $ -Lisää-polku, $ (LOCAL_PATH) /../../ Cocos2d / Kookossaaret)

LOCAL_MODULE: = cocos2dcpp_shared

LOCAL_MODULE_FILENAME: = libcocos2dcpp

LOCAL_SRC_FILES: = hellocpp / main.cpp \ ../../Classes/AppDelegate.cpp \ ../../Classes/HelloWorldScene.cpp

LOCAL_C_INCLUDES: = $ (LOCAL_PATH) /../../luokat

LOCAL_STATIC_LIBRARIES: = cocos2dx_static

sisältää $ (BUILD_SHARED_LIBRARY)

$ (puhelun tuonti-moduuli,.)

CMD OUTPUT

> C:\SEASURF\SEASURF\proj.android>cocos run -p android Running command:
> compile Building mode: debug Android platform not specified, searching
> a default one... running:
> '"C:\Users\Malik\AppData\Local\Android\sdk\tools\android" update
> projec t -t android-10 -p C:\SEASURF\SEASURF\proj.android'
> 
> 'xcopy' is not recognized as an internal or external command, operable
> program or batch file. Updated project.properties Updated
> local.properties Updated file
> C:\SEASURF\SEASURF\proj.android\proguard-project.txt Android platform
> not specified, searching a default one... running:
> '"C:\Users\Malik\AppData\Local\Android\sdk\tools\android" update
> lib-pr oject -p
> C:\SEASURF\SEASURF\proj.android\../cocos2d/cocos/platform/android/java
> -t android-10'
> 
> 'xcopy' is not recognized as an internal or external command, operable
> program or batch file. Updated project.properties Updated
> local.properties Updated file
> C:\SEASURF\SEASURF\proj.android\..\cocos2d\cocos\platform\android\j
> ava\proguard-project.txt building native NDK build mode: debug
> running: 'C:\android-ndk-r9\ndk-build -C
> C:\SEASURF\SEASURF\proj.android -j4 NDK
> _MODULE_PATH=C:\SEASURF\SEASURF\proj.android\../cocos2d;C:\SEASURF\SEASURF\proj.
> android\../cocos2d/cocos;C:\SEASURF\SEASURF\proj.android\../cocos2d/external
> NDK
> _DEBUG=1'
> 
> make: Entering directory `C:/SEASURF/SEASURF/proj.android' make: ***
> No rule to make target `C:\SEASURF\SEASURF\proj.android/jni/../../Clas
> ses/HelloWorldScene.cpp', needed by
> `C:\SEASURF\SEASURF\proj.android/obj/local/a
> rmeabi/objs-debug/cocos2dcpp_shared/__/__/Classes/HelloWorldScene.o'. 
> Stop. make: *** Waiting for unfinished jobs.... make: Leaving
> directory `C:/SEASURF/SEASURF/proj.android' Ndk build failed! 

Ystävällisesti auttaa minua.

2 Comments
baris atamer 03/19/2015
Virhelokia tarvitaan
MHussain 03/19/2015
@barisatamer näyttää.

No Answers Yet

Related questions

Hot questions

Language

Popular Tags