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.

Android / does any one know what this lines mean in the guide

Author
Message
3d point in space
10
Years of Service
User Offline
Joined: 30th Jun 2009
Location: Idaho
Posted: 20th Jan 2012 03:16
To compile the tier 2 template app open cygwin and browse to the android template 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/template/template_android" then try to compile the template 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 template_android folder. This compiles all the C++ code into the native library that will be the main part of the Android application.

This is where the guide losses me.

Go through yourself at a wall.
BatVink
Moderator
16
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 20th Jan 2012 14:28
Step by step...

To compile the tier 2 template app open cygwin - have you installed Cygwin?

...and browse to the android template directory
e.g cd "/cygdrive/c/android/AGK/IDE/template/template_android"
...or wherever you put your IDE folder, copied from the AppGameKit installation folder.

...then compile the template with the path to the NDK installation
e.g. "/cygdrive/c/android/android-ndk-r6b/ndk-build 2> log.txt"
...or wherever you installed your Android NDK.

3d point in space
10
Years of Service
User Offline
Joined: 30th Jun 2009
Location: Idaho
Posted: 20th Jan 2012 16:32 Edited at: 20th Jan 2012 16:37
I have installed cygwin yes this guide is alot harder then the apple guide.

how do u compile it with a make comand or a java command. i type make template_android. It says compile to NDK path "/cygdrive/c/android/android-ndk-r6b/ndk-build 2> log.txt" So what exactly do u type once in this path. NDK "/cygdrive/c/android/android-ndk-rb6/ndk-build 2>log.txt" is this the right command it does not work I am trying this on a 64 bit machine I will try on 32 bit today.

i know cd commands got to the directory in cygwin, where template_android is then type make template_android it was not the right command.

Go through yourself at a wall.
3d point in space
10
Years of Service
User Offline
Joined: 30th Jun 2009
Location: Idaho
Posted: 20th Jan 2012 17:13 Edited at: 20th Jan 2012 17:15
here is the image of the paths.



Go through yourself at a wall.

Attachments

Login to view attachments
Hockeykid
DBPro Tool Maker
11
Years of Service
User Offline
Joined: 26th Sep 2007
Location:
Posted: 20th Jan 2012 17:19
Set the current directory to "template_android" then do the following:



You shouldn't need the "make"

Sean

3d point in space
10
Years of Service
User Offline
Joined: 30th Jun 2009
Location: Idaho
Posted: 20th Jan 2012 22:44 Edited at: 20th Jan 2012 22:45
Well i got it I also followed this guide right here to enable your phone.

Some other things this guide did not tell you to install was the drivers for you phone.

look at this guide for setting up your phone for development
http://developer.android.com/guide/developing/device.html
i have a vedio recorder maybe I will show the steps on it, and post it here.

Go through yourself at a wall.

Login to post a reply

Server time is: 2019-08-21 06:07:01
Your offset time is: 2019-08-21 06:07:01