Trixie Jensen [TDG] Apr 25 @ 2:21am
What should I do to emulate my game for Android?
I was looking to the properties of my game and it showed things like, which platform it will be, the screen display, its rotation... Even an emulator mode to test my game, so I click on "emulator" and a window appeared and I suppose that's some kind of list, but nothing appears in it and I have to select something to make the emulator running.

What should I do to emulate my game correctly for Android?
Showing 1-14 of 14 comments
< >
kisguri  [developer] Apr 25 @ 8:35am 
I have never used a a Android emulator, I always have either tested inside of Fusion or on Device. I will see if someone else at CT can provide a better answer!
kisguri  [developer] Apr 25 @ 8:38am 
Here is a good resource to start with: http://developer.android.com/tools/help/emulator.html
DannyUK2k14  [developer] Apr 25 @ 8:38am 
You have to setup the emulator in the Android SDK first. Open up the Android SDK Manager, click Tools > Manage AVD's, setup your emulated device, reboot Fusion 2.5 and it should then work... However, I strongly recommend not using the emulator as it really isn't an emulation of how your app/game would run!
Trixie Jensen [TDG] Apr 25 @ 10:16am 
Originally posted by DannyUK2k14:
However, I strongly recommend not using the emulator as it really isn't an emulation of how your app/game would run!
Then what should I do to test the game? Build the APK and install it in my mobile phone? I was thinking in that.
DannyUK2k14  [developer] Apr 25 @ 11:22am 
Sure, alternatively if you plug in your phone / tablet to your pc via USB, you can do a Build and Run and it will build the app, send it to your device and launch it.
Trixie Jensen [TDG] Apr 25 @ 1:19pm 
Houston, we have a problem. I went to "Build and Run" option, and I picked the desktop so I can put it to my phone later (just because building it in the phone directly freezes my computer).

But the build failed, leading me to a TXT file with the following text:

Buildfile: C:\Users\X\AppData\Local\Temp\AndD5D4.tmp\build.xml

BUILD FAILED
C:\Users\X\AppData\Local\Temp\AndD5D4.tmp\build.xml:83: Cannot find C:\Program Files (x86)\Java\jdk1.7.0_51\tools\ant\build.xml imported from C:\Users\X\AppData\Local\Temp\AndD5D4.tmp\build.xml

Total time: 0 seconds

I put "X" where my name was -just in case.

What should I do to fix that?
Last edited by Trixie Jensen [TDG]; Apr 25 @ 2:31pm
kisguri  [developer] Apr 25 @ 3:15pm 
Looks to me like it can't find the Java folder, double check to see if it is in the correct folder shown in your error text above, if it is, then you need to visit Clickteam.com to submit a bug in the bug box.
Sue Apr 25 @ 6:46pm 
Have you installed JDK and Android SDK? Just asking
Trixie Jensen [TDG] Apr 26 @ 1:18am 
Originally posted by kisguri:
Looks to me like it can't find the Java folder, double check to see if it is in the correct folder shown in your error text above, if it is, then you need to visit Clickteam.com to submit a bug in the bug box.
I've probably have messed up with my Java and Android installments in my early hours... Maybe I put the wrong directory in "General" in preferences.

Originally posted by Sue:
Have you installed JDK and Android SDK? Just asking
Yes I did, yet I don't know what directory I should put in "General" in "Preferences". I installed them by default directories, but I think I'll need to install them again. I just don't know what SDK and what JDK I have to install, I followed the instructions here ( http://store.steampowered.com/app/267650/ ) but it seems that I'm a noob or it is not enough.

Edit: In the SDK Manager, I managed to install the package of API 19 (Android 4.4.2).
Last edited by Trixie Jensen [TDG]; Apr 26 @ 4:22am
kisguri  [developer] Apr 28 @ 8:19am 
Take a look at: http://steamcommunity.com/app/248170/discussions/0/558754259773944394/?tscn=1398476802 for more information. I have asked one of the guys who has used emulation to also comment.
Trixie Jensen [TDG] Apr 28 @ 1:21pm 
Ok. I found the error and I had a nice build of my game with no errors in the game. It was my mistake setting the general directories up.

I didn't put the directory well of the Android SDK. The correct directory (for me) is: XXXX/AppData\Local\Android\android-sdk . The Java JDK was fine, the Android SDK was the whole problem.

I thank all of you for the help and sorry for any trouble I caused.
kisguri  [developer] Apr 28 @ 1:35pm 
Its why we are here, have fun emulating!
francois Apr 29 @ 10:51pm 
The Android emulator of the Android SDK is really slow unless you have a very fast machine.
It is much much better to test on a real device anyway.
Trixie Jensen [TDG] Apr 29 @ 11:04pm 
Originally posted by francois:
The Android emulator of the Android SDK is really slow unless you have a very fast machine.
It is much much better to test on a real device anyway.
I do. In fact, instead of emulating I build the APK and pass it to my phone.
Showing 1-14 of 14 comments
< >
Per page: 15 30 50