NDK build failed while compiling project.android in cocos2dx

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

I am making build of my app to be run on Android studio. this errors comes while compiling the project.android I have installed android-ndk-r9 and all path variables are set. command I used cocos run -p android its ends with line NDk build failedhere is my android.mk in jni folder

LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)

$(call import-add-path,$(LOCAL_PATH)/../../cocos2d) $(call import-add-path,$(LOCAL_PATH)/../../cocos2d/external) $(call import-add-path,$(LOCAL_PATH)/../../cocos2d/cocos)

LOCAL_MODULE := cocos2dcpp_shared

LOCAL_MODULE_FILENAME := libcocos2dcpp

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


LOCAL_STATIC_LIBRARIES := cocos2dx_static


$(call import-module,.)


> 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
> _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!

Kindly help me out.

baris atamer 03/19/2015
Error log is needed
MHussain 03/19/2015
@barisatamer have a look.

No Answers Yet

HighResolutionMusic.com - Download Hi-Res Songs


Kiss And Make Up flac

BLACKPINK. 2018. Writer: Soke;Kny Factory;Billboard;Chelcee Grimes;Teddy Park;Marc Vincent;Dua Lipa.
2 Martin Garrix

Waiting For Tomorrow flac

Martin Garrix. 2018. Writer: Pierce Fulton;Mike Shinoda;Martijn Garritsen;Brad Delson.
3 John Legend

Written In The Stars flac

John Legend. 2018. Writer: Kiana Brown;Santoy;Kevin White;Mike Woods;MZMC;The Heavy Group;Rice N' Peas.
4 Martin Garrix

Access flac

Martin Garrix. 2018. Writer: Martin Garrix.
5 Martin Garrix

Yottabyte flac

Martin Garrix. 2018. Writer: Martin Garrix.
6 Alan Walker

Diamond Heart flac

Alan Walker. 2018. Writer: Alan Walker;Sophia Somajo;Mood Melodies;James Njie;Thomas Troelsen;Kristoffer Haugan;Edvard Normann;Anders Froen;Gunnar Greve;Yann Bargain;Victor Verpillat;Fredrik Borch Olsen.
7 Cardi B

Taki Taki flac

Cardi B. 2018. Writer: Bava;Juan Vasquez;Vicente Saavedra;Jordan Thorpe;DJ Snake;Ozuna;Cardi B;Selena Gomez.
8 Bradley Cooper

Shallow flac

Bradley Cooper. 2018. Writer: Andrew Wyatt;Anthony Rossomando;Mark Ronson;Lady Gaga.
9 Post Malone

Sunflower flac

Post Malone. 2018. Writer: Louis Bell;Billy Walsh;Carter Lang;Swae Lee;Post Malone.
10 Dyro

Latency flac

Dyro. 2018. Writer: Martin Garrix;Dyro.
11 Lady Gaga

I'll Never Love Again flac

Lady Gaga. 2018. Writer: Benjamin Rice;Lady Gaga.
12 Rita Ora

Let You Love Me flac

Rita Ora. 2018. Writer: Rita Ora.
13 Zara Larsson

Ruin My Life flac

Zara Larsson. 2018. Writer: Delacey;Michael Pollack;Stefan Johnson;Jordan Johnson;Sermstyle;Jackson Foote.
14 Halsey

Without Me flac

Halsey. 2018. Writer: Halsey;Delacey;Louis Bell;Amy Allen;Justin Timberlake;Timbaland;Scott Storch.

Fingers flac

ZAYN. 2018. Writer: Zayn Malik;Alex Oriet;David Phelan.
16 Dewain Whitmore

Burn Out flac

Dewain Whitmore. 2018. Writer: Dewain Whitmore;Ilsey Juber;Emilio Behr;Martijn Garritsen.
17 Mako

Rise flac

Mako. 2018. Writer: Riot Music Team;Mako;Justin Tranter.
18 Bradley Cooper

Always Remember Us This Way flac

Bradley Cooper. 2018. Writer: Lady Gaga;Dave Cobb.
19 Blinders

Breach (Walk Alone) flac

Blinders. 2018. Writer: Dewain Whitmore;Ilsey Juber;Blinders;Martin Garrix.
20 Julia Michaels

There's No Way flac

Julia Michaels. 2018. Writer: Ian Kirkpatrick;Justin Tranter;Julia Michaels;Lauv.

Related questions

Hot questions


Popular Tags