Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Android Player Build Problems

Author
Message
anwserman
12
Years of Service
User Offline
Joined: 20th May 2011
Location: Wisconsin
Posted: 1st Feb 2012 10:52
I have gotten further in my attempts at building my app for Android devices, but I've hit a snag with compiling it. I'm at this step:
Quote: "To compile the tier 1 interpreter app open cygwin and browse to the android interpreter directory (cygwin is case sensitive and does not allow spaces in your project path), for example in my enironment that would be 'cd "/cygdrive/c/android/AGK/IDE/apps/interpreter_android" then try to compile the interpreter with the path to the NDK installation e.g. "/cygdrive/c/android/android-ndk-r6b/ndk-build 2> log.txt" errors will be put in log.txt in the interpreter_android folder. This compiles all the C++ code into the native library that will be the main part of the Android application."


I was able to get the command to run, however this is the output I receive:

Quote: "Jeff@Jeff-Toshiba /cygdrive/c/android/AGK/IDE/apps/interpreter_android
$ /cygdrive/c/android/android-ndk-r6b/ndk-build 2> log.txt
Compile++ arm : android_player <= Core.cpp
/cygdrive/c/android/android-ndk-r6b/build/core/build-binary.mk:220: recipe for target `/cygdrive/c/android/AGK/IDE/apps/interpreter_android/obj/local/armeabi/objs/android_player/Core.o' failed
"


I have attached my log file, does anyone have any ideas how to fix this?

Hi there. My name is Dug. I have just met you, and I love you.

Attachments

Login to view attachments
kamac
13
Years of Service
User Offline
Joined: 30th Nov 2010
Location: Poland
Posted: 1st Feb 2012 14:19 Edited at: 1st Feb 2012 14:19
I had this too. Move your app from /apps/ to /templates/ and it'll work. I presume it's false linking or so. (Has to be re-done after changind directory to apps from templates probably)

http://www.kamacdev.wordpress.com ~ My developer blog, mind paying a visit ?
anwserman
12
Years of Service
User Offline
Joined: 20th May 2011
Location: Wisconsin
Posted: 1st Feb 2012 19:34 Edited at: 1st Feb 2012 19:54
Nope. It doesn't work. I moved the path to

Quote: "/cygdrive/c/android/IDE/templates/template_android"


and the command still doesn't work

EDIT: I deleted everything and tried it again... worked first time :/

Hi there. My name is Dug. I have just met you, and I love you.
kamac
13
Years of Service
User Offline
Joined: 30th Nov 2010
Location: Poland
Posted: 1st Feb 2012 21:07 Edited at: 1st Feb 2012 21:11
It fails at compiling Core.cpp. Did you change something in it?

Weird. I just had the same problem, but i closed Android.mk and it compiled..

http://www.kamacdev.wordpress.com ~ My developer blog, mind paying a visit ?

Login to post a reply

Server time is: 2024-05-06 06:20:13
Your offset time is: 2024-05-06 06:20:13