Clickteam Fusion 2.5

Clickteam Fusion 2.5

Yuri Bezmenov 2014 年 4 月 25 日 上午 2:21
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  [開發人員] 2014 年 4 月 25 日 上午 8:35 
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  [開發人員] 2014 年 4 月 25 日 上午 8:38 
Here is a good resource to start with: http://developer.android.com/tools/help/emulator.html
DannyUK2k14  [開發人員] 2014 年 4 月 25 日 上午 8:38 
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!
Yuri Bezmenov 2014 年 4 月 25 日 上午 10:16 
引用自 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  [開發人員] 2014 年 4 月 25 日 上午 11:22 
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.
Yuri Bezmenov 2014 年 4 月 25 日 下午 1:19 
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; 2014 年 4 月 25 日 下午 2:31
kisguri  [開發人員] 2014 年 4 月 25 日 下午 3:15 
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 2014 年 4 月 25 日 下午 6:46 
Have you installed JDK and Android SDK? Just asking
Yuri Bezmenov 2014 年 4 月 26 日 上午 1:18 
引用自 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; 2014 年 4 月 26 日 上午 4:22
kisguri  [開發人員] 2014 年 4 月 28 日 上午 8:19 
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.
Yuri Bezmenov 2014 年 4 月 28 日 下午 1:21 
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  [開發人員] 2014 年 4 月 28 日 下午 1:35 
Its why we are here, have fun emulating!
francois 2014 年 4 月 29 日 下午 10:51 
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.
Yuri Bezmenov 2014 年 4 月 29 日 下午 11:04 
引用自 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

張貼日期: 2014 年 4 月 25 日 上午 2:21
回覆: 14