Hi there.
As I said in the title, I cannot get Clickteam Fusion 2.5 (Steam version) to build any Android applications. I do not know if the bit of text I posted is any help with determining the problem, so here is the whole thing in all its glory:
---
Buildfile: C:\Users\XXXX\AppData\Local\Temp\And9C77.tmp\build.xml
-set-mode-check:
-set-debug-files:
-check-env:
[checkenv] Android SDK Tools Revision 24.3.2
[checkenv] Installed at D:\Program Files (x86)\android-sdk-windows
-setup:
[echo] Project Name: RuntimeAndroid
[gettype] Project Type: Application
-set-debug-mode:
-debug-obfuscation-check:
-pre-build:
-build-setup:
[getbuildtools] Using latest Build Tools: 22.0.1
[echo] Resolving Build Target for RuntimeAndroid...
[gettarget] Project Target: Android 5.1.1
[gettarget] API level: 22
[echo] ----------
[echo] Creating output directories if needed...
[mkdir] Created dir: C:\Users\XXXX\AppData\Local\Temp\And9C77.tmp\bin
[mkdir] Created dir: C:\Users\XXXX\AppData\Local\Temp\And9C77.tmp\bin\res
[mkdir] Created dir: C:\Users\XXXX\AppData\Local\Temp\And9C77.tmp\bin\rsObj
[mkdir] Created dir: C:\Users\XXXX\AppData\Local\Temp\And9C77.tmp\bin\rsLibs
[mkdir] Created dir: C:\Users\XXXX\AppData\Local\Temp\And9C77.tmp\gen
[mkdir] Created dir: C:\Users\XXXX\AppData\Local\Temp\And9C77.tmp\bin\classes
[mkdir] Created dir: C:\Users\XXXX\AppData\Local\Temp\And9C77.tmp\bin\dexedLibs
[echo] ----------
[echo] Resolving Dependencies for RuntimeAndroid...
[dependency] Library dependencies:
[dependency] No Libraries
[dependency]
[dependency] ------------------
[echo] ----------
[echo] Building Libraries with 'debug'...
[subant] No sub-builds to iterate on
-code-gen:
[mergemanifest] Merging AndroidManifest files into one.
[mergemanifest] Manifest merger disabled. Using project manifest only.
[echo] Handling aidl files...
[aidl] No AIDL files to compile.
[echo] ----------
[echo] Handling RenderScript files...
[echo] ----------
[echo] Handling Resources...
[aapt] Generating resource IDs...
BUILD FAILED
D:\Program Files (x86)\android-sdk-windows\tools\ant\build.xml:649: The following error occurred while executing this line:
D:\Program Files (x86)\android-sdk-windows\tools\ant\build.xml:694: Execute failed: java.io.IOException: Cannot run program "C:\Users\XXXX\AppData\Local\Temp\And9C77.tmp\${aapt}": CreateProcess error=2, Das System kann die angegebene Datei nicht finden
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at org.apache.tools.ant.taskdefs.launcher.Java13CommandLauncher.exec(Java13CommandLauncher.java:58)
at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:428)
at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:442)
at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:628)
at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:669)
at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:495)
at com.android.ant.AaptExecTask.execute(AaptExecTask.java:703)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
at com.android.ant.IfElseTask.execute(IfElseTask.java:120)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:396)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:435)
at org.apache.tools.ant.Target.performTasks(Target.java:456)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1248)
at org.apache.tools.ant.Main.runBuild(Main.java:851)
at org.apache.tools.ant.Main.startAnt(Main.java:235)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Caused by: java.io.IOException: CreateProcess error=2, Das System kann die angegebene Datei nicht finden
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
... 47 more
Total time: 3 seconds
---
As you can see, there are some bits of German in there, since that is the native language of my PC. Might that be a reason?
I've spent hours reading through this forum and trying out different ways to fix it. Since I lack the programming knowledge to determine the problem, I have resorted to trying pretty much everything. Here's what I've done so far:
- un- and reinstall Clickteam Fusion 2.5
- un- and reinstall both JDK and Android SDK
- try out different APIs (14, 18, 22)
- try out different versions of JDK (32 bit and 64 bit); PC is running on a 64 bit system
- try out an older verson of JDK and SDK
- install JDK and SDK on different drives (C: or D:)
- check and doublecheck the correct path names in the preferences menu
- disable anti virus program while building application
Nothing seems to work. Exe files, on the other hand, are made just fine.
Frankly, I'm at a loss. I really hope you can help me with this.
Regards,
Andrew