Clickteam Fusion 2.5

Clickteam Fusion 2.5

Pro revolver Jan 25, 2018 @ 12:53pm
Can't build a apk
I am having an issue when building my project in Clickteam Fusion 2.5.

Buildfile: C:/Users/User/AppData/Local/Temp/AndEC40.tmp/build.xml

BUILD FAILED
C:/Users/User/AppData/Local/Temp/AndEC40.tmp/build.xml:84: Cannot find C:\Android\tools\ant\build.xml imported from C:/Users/User/AppData/Local/Temp/AndEC40.tmp/build.xml

Why is this happening?

< >
Showing 1-6 of 6 comments
Esikiel Jan 25, 2018 @ 8:10pm 
do you have the android sdk installed on your comp?
Pro revolver Jan 25, 2018 @ 10:12pm 
Originally posted by Esikiel(Ying Main):
do you have the android sdk installed on your comp?
Yes, I downloaded Android studio
Wodjanoi Jan 29, 2018 @ 8:23am 
It's not mandatory to install Android Studio when you use the Android exporter.
You can install Android Studio if you need it for other tasks, but for Fusion 2.5 it might be better to store the required packages for the Android exporter at a separate location.
If you have not yet done so, take a look at this Guide for instructions (the fix for this build error is included): Android Exporter Setup | Java + SDK Manager
Pro revolver Jan 29, 2018 @ 10:26am 
Originally posted by Wodjanoi:
It's not mandatory to install Android Studio when you use the Android exporter.
You can install Android Studio if you need it for other tasks, but for Fusion 2.5 it might be better to store the required packages for the Android exporter at a separate location.
If you have not yet done so, take a look at this Guide for instructions (the fix for this build error is included): Android Exporter Setup | Java + SDK Manager
Thank you so much! :)
Pro revolver Jan 29, 2018 @ 10:50am 
Originally posted by Wodjanoi:
It's not mandatory to install Android Studio when you use the Android exporter.
You can install Android Studio if you need it for other tasks, but for Fusion 2.5 it might be better to store the required packages for the Android exporter at a separate location.
If you have not yet done so, take a look at this Guide for instructions (the fix for this build error is included): Android Exporter Setup | Java + SDK Manager
Now i have this:




Buildfile: C:/Users/User/AppData/Local/Temp/AndD614.tmp/build.xml

-set-mode-check:

-set-release-mode:

-release-obfuscation-check:
[echo] proguard.config is ${proguard.config}

-pre-build:

-check-env:
[checkenv] Android SDK Tools Revision 26.0.1
[checkenv] Installed at C:\Users\User\Desktop\android_sdk

-setup:
[echo] Project Name: RuntimeAndroid
[gettype] Project Type: Application

-build-setup:
[getbuildtools] Using latest Build Tools: 27.0.3
[echo] Resolving Build Target for RuntimeAndroid...
[gettarget] Project Target: Android 8.0.0
[gettarget] API level: 26
[echo] ----------
[echo] Creating output directories if needed...
[mkdir] Created dir: C:/Users/User/AppData/Local/Temp/AndD614.tmp/bin
[mkdir] Created dir: C:/Users/User/AppData/Local/Temp/AndD614.tmp/bin/res
[mkdir] Created dir: C:/Users/User/AppData/Local/Temp/AndD614.tmp/bin/rsObj
[mkdir] Created dir: C:/Users/User/AppData/Local/Temp/AndD614.tmp/bin/rsLibs
[mkdir] Created dir: C:/Users/User/AppData/Local/Temp/AndD614.tmp/gen
[mkdir] Created dir: C:/Users/User/AppData/Local/Temp/AndD614.tmp/bin/classes
[mkdir] Created dir: C:/Users/User/AppData/Local/Temp/AndD614.tmp/bin/dexedLibs
[echo] ----------
[echo] Resolving Dependencies for RuntimeAndroid...
[dependency] Library dependencies:
[dependency] No Libraries
[dependency]
[dependency] ------------------
[echo] ----------
[echo] Building Libraries with 'release'...
[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...
[echo] ----------
[echo] Handling BuildConfig class...
[buildconfig] Generating BuildConfig class.

-pre-compile:

-compile:
[javac] Compiling 416 source files to C:/Users/User/AppData/Local/Temp/AndD614.tmp/bin/classes
[javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release
[javac] warning: [options] target value 1.5 is obsolete and will be removed in a future release
[javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
[javac] C:/Users/User/AppData/Local/Temp/AndD614.tmp/src/Runtime/CrashReporter.java:24: error: package org.apache.http does not exist
[javac] import org.apache.http.HttpResponse;
[javac] ^
[javac] C:/Users/User/AppData/Local/Temp/AndD614.tmp/src/Runtime/CrashReporter.java:25: error: package org.apache.http does not exist
[javac] import org.apache.http.NameValuePair;
[javac] ^
[javac] C:/Users/User/AppData/Local/Temp/AndD614.tmp/src/Runtime/CrashReporter.java:26: error: package org.apache.http.client.entity does not exist
[javac] import org.apache.http.client.entity.UrlEncodedFormEntity;
[javac] ^
[javac] C:/Users/User/AppData/Local/Temp/AndD614.tmp/src/Runtime/CrashReporter.java:27: error: package org.apache.http.client.methods does not exist
[javac] import org.apache.http.client.methods.HttpPost;
[javac] ^
[javac] C:/Users/User/AppData/Local/Temp/AndD614.tmp/src/Runtime/CrashReporter.java:28: error: package org.apache.http.impl.client does not exist
[javac] import org.apache.http.impl.client.DefaultHttpClient;
[javac] ^
[javac] C:/Users/User/AppData/Local/Temp/AndD614.tmp/src/Runtime/CrashReporter.java:30: error: cannot find symbol
[javac] import org.apache.http.params.HttpProtocolParams;
[javac] ^
[javac] symbol: class HttpProtocolParams
[javac] location: package org.apache.http.params
[javac] C:/Users/User/AppData/Local/Temp/AndD614.tmp/src/Runtime/CrashReporter.java:63: error: cannot find symbol
[javac] ArrayList <NameValuePair> postData = new ArrayList <NameValuePair> ();
[javac] ^
[javac] symbol: class NameValuePair
[javac] location: class CrashReporter
[javac] C:/Users/User/AppData/Local/Temp/AndD614.tmp/src/Runtime/CrashReporter.java:63: error: cannot find symbol
[javac] ArrayList <NameValuePair> postData = new ArrayList <NameValuePair> ();
[javac] ^
[javac] symbol: class NameValuePair
[javac] location: class CrashReporter
[javac] C:/Users/User/AppData/Local/Temp/AndD614.tmp/src/Runtime/CrashReporter.java:65: error: cannot find symbol
[javac] postData.add(new NameValuePair()
[javac] ^
[javac] symbol: class NameValuePair
[javac] location: class CrashReporter
[javac] C:/Users/User/AppData/Local/Temp/AndD614.tmp/src/Runtime/CrashReporter.java:95: error: cannot find symbol
[javac] HttpPost post = new HttpPost ("http://bugs.clickteam.com/report.php");
[javac] ^
[javac] symbol: class HttpPost
[javac] location: class CrashReporter
[javac] C:/Users/User/AppData/Local/Temp/AndD614.tmp/src/Runtime/CrashReporter.java:95: error: cannot find symbol
[javac] HttpPost post = new HttpPost ("http://bugs.clickteam.com/report.php");
[javac] ^
[javac] symbol: class HttpPost
[javac] location: class CrashReporter
[javac] C:/Users/User/AppData/Local/Temp/AndD614.tmp/src/Runtime/CrashReporter.java:99: error: cannot find symbol
[javac] { post.setEntity (new UrlEncodedFormEntity (postData));
[javac] ^
[javac] symbol: class UrlEncodedFormEntity
[javac] location: class CrashReporter
[javac] C:/Users/User/AppData/Local/Temp/AndD614.tmp/src/Runtime/CrashReporter.java:105: error: cannot find symbol
[javac] DefaultHttpClient client = new DefaultHttpClient();
[javac] ^
[javac] symbol: class DefaultHttpClient
[javac] location: class CrashReporter
[javac] C:/Users/User/AppData/Local/Temp/AndD614.tmp/src/Runtime/CrashReporter.java:105: error: cannot find symbol
[javac] DefaultHttpClient client = new DefaultHttpClient();
[javac] ^
[javac] symbol: class DefaultHttpClient
[javac] location: class CrashReporter
[javac] C:/Users/User/AppData/Local/Temp/AndD614.tmp/src/Runtime/CrashReporter.java:108: error: cannot find symbol
[javac] HttpProtocolParams.setUseExpectContinue (params, false);
[javac] ^
[javac] symbol: variable HttpProtocolParams
[javac] location: class CrashReporter
[javac] C:/Users/User/AppData/Local/Temp/AndD614.tmp/src/Runtime/CrashReporter.java:111: error: cannot find symbol
[javac] HttpResponse response;
[javac] ^
[javac] symbol: class HttpResponse
[javac] location: class CrashReporter
[javac] C:/Users/User/AppData/Local/Temp/AndD614.tmp/src/Runtime/MMFRuntime.java:1645: warning: non-varargs call of varargs method with inexact argument type for last parameter;
[javac] Method m = c.getDeclaredMethod("disconnect", null);
[javac] ^
[javac] cast to Class<?> for a varargs call
[javac] cast to Class<?>[] for a non-varargs call and to suppress this warning
[javac] C:/Users/User/AppData/Local/Temp/AndD614.tmp/src/Runtime/MMFRuntime.java:1646: warning: non-varargs call of varargs method with inexact argument type for last parameter;
[javac] Object o = m.invoke(null, null);
[javac] ^
[javac] cast to Object for a varargs call
[javac] cast to Object[] for a non-varargs call and to suppress this warning
[javac] C:/Users/User/AppData/Local/Temp/AndD614.tmp/src/Runtime/MMFRuntime.java:1660: warning: non-varargs call of varargs method with inexact argument type for last parameter;
[javac] Method m = c.getDeclaredMethod("connect", null);
[javac] ^
[javac] cast to Class<?> for a varargs call
[javac] cast to Class<?>[] for a non-varargs call and to suppress this warning
[javac] C:/Users/User/AppData/Local/Temp/AndD614.tmp/src/Runtime/MMFRuntime.java:1661: warning: non-varargs call of varargs method with inexact argument type for last parameter;
[javac] Object o = m.invoke(null, null);
[javac] ^
[javac] cast to Object for a varargs call
[javac] cast to Object[] for a non-varargs call and to suppress this warning
[javac] C:/Users/User/AppData/Local/Temp/AndD614.tmp/src/Runtime/MMFRuntime.java:1675: warning: non-varargs call of varargs method with inexact argument type for last parameter;
[javac] Method m = c.getDeclaredMethod("isConnected", null);
[javac] ^
[javac] cast to Class<?> for a varargs call
[javac] cast to Class<?>[] for a non-varargs call and to suppress this warning
[javac] C:/Users/User/AppData/Local/Temp/AndD614.tmp/src/Runtime/MMFRuntime.java:1676: warning: non-varargs call of varargs method with inexact argument type for last parameter;
[javac] Object o = m.invoke(null, null);
[javac] ^
[javac] cast to Object for a varargs call
[javac] cast to Object[] for a non-varargs call and to suppress this warning
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 16 errors
[javac] 9 warnings

BUILD FAILED
C:\Users\User\Desktop\android_sdk\tools\ant\build.xml:716: The following error occurred while executing this line:
C:\Users\User\Desktop\android_sdk\tools\ant\build.xml:730: Compile failed; see the compiler error output for details.

Total time: 4 seconds
Wodjanoi Jan 29, 2018 @ 11:25am 
Did you remove your old files before?
Some files are probably in conflict with each other.
If you did no clean installation so far - try to uninstall everything old Android/Java related and install again with the new instructions.
< >
Showing 1-6 of 6 comments
Per page: 1530 50

Date Posted: Jan 25, 2018 @ 12:53pm
Posts: 6