Clickteam Fusion 2.5
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?
< >
กำลังแสดง 1-14 จาก 14 ความเห็น
kisguri  [ผู้พัฒนา] 25 เม.ย. 2014 @ 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  [ผู้พัฒนา] 25 เม.ย. 2014 @ 8: 38am 
Here is a good resource to start with: http://developer.android.com/tools/help/emulator.html
DannyUK2k14  [ผู้พัฒนา] 25 เม.ย. 2014 @ 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!
โพสต์ดั้งเดิมโดย 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  [ผู้พัฒนา] 25 เม.ย. 2014 @ 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.
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?
แก้ไขล่าสุดโดย Yuri Bezmenov; 25 เม.ย. 2014 @ 2: 31pm
kisguri  [ผู้พัฒนา] 25 เม.ย. 2014 @ 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 25 เม.ย. 2014 @ 6: 46pm 
Have you installed JDK and Android SDK? Just asking
โพสต์ดั้งเดิมโดย 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.

โพสต์ดั้งเดิมโดย 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).
แก้ไขล่าสุดโดย Yuri Bezmenov; 26 เม.ย. 2014 @ 4: 22am
kisguri  [ผู้พัฒนา] 28 เม.ย. 2014 @ 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.
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  [ผู้พัฒนา] 28 เม.ย. 2014 @ 1: 35pm 
Its why we are here, have fun emulating!
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.
โพสต์ดั้งเดิมโดย 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.
< >
กำลังแสดง 1-14 จาก 14 ความเห็น
ต่อหน้า: 1530 50

วันที่โพสต์: 25 เม.ย. 2014 @ 2: 21am
โพสต์: 14