User Tag List

Results 1 to 5 of 5

Thread: Can't Build Android Project

  1. #1
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    ScrotieFlapWack's Avatar
    Join Date
    Dec 2015
    Location
    United Kingdom
    Posts
    72
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)

    Can't Build Android Project

    Hi Guys,

    I am having an issue when building my project in Clickteam Fusion 2.5. I have downloaded everything from the Android SDK manager (I know its not necessary) but whatever API version I choose in my application settings in CF2.5 I keep getting an error message pop up after trying to build my project which gives me a massive error log.

    Buildfile: C:\Users\David\AppData\Local\Temp\And17E8.tmp\buil d.xml

    -set-mode-check:

    -set-debug-files:

    -check-env:
    [checkenv] Android SDK Tools Revision 24.4.1
    [checkenv] Installed at D:\android-sdk

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

    -set-debug-mode:

    -debug-obfuscation-check:

    -pre-build:

    -build-setup:
    [getbuildtools] Using latest Build Tools: 23.0.2
    [echo] Resolving Build Target for RuntimeAndroid...
    [gettarget] Project Target: Android 6.0
    [gettarget] API level: 23
    [echo] ----------
    [echo] Creating output directories if needed...
    [mkdir] Created dir: C:\Users\David\AppData\Local\Temp\And17E8.tmp\bin
    [mkdir] Created dir: C:\Users\David\AppData\Local\Temp\And17E8.tmp\bin\ res
    [mkdir] Created dir: C:\Users\David\AppData\Local\Temp\And17E8.tmp\bin\ rsObj
    [mkdir] Created dir: C:\Users\David\AppData\Local\Temp\And17E8.tmp\bin\ rsLibs
    [mkdir] Created dir: C:\Users\David\AppData\Local\Temp\And17E8.tmp\gen
    [mkdir] Created dir: C:\Users\David\AppData\Local\Temp\And17E8.tmp\bin\ classes
    [mkdir] Created dir: C:\Users\David\AppData\Local\Temp\And17E8.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...
    [echo] ----------
    [echo] Handling BuildConfig class...
    [buildconfig] Generating BuildConfig class.

    -pre-compile:

    -compile:
    [javac] Compiling 401 source files to C:\Users\David\AppData\Local\Temp\And17E8.tmp\bin\ classes
    [javac] C:\Users\David\AppData\Local\Temp\And17E8.tmp\src\ Runtime\CrashReporter.java:24: error: package org.apache.http does not exist
    [javac] import org.apache.http.HttpResponse;
    [javac] ^
    [javac] C:\Users\David\AppData\Local\Temp\And17E8.tmp\src\ Runtime\CrashReporter.java:25: error: package org.apache.http does not exist
    [javac] import org.apache.http.NameValuePair;
    [javac] ^
    [javac] C:\Users\David\AppData\Local\Temp\And17E8.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\David\AppData\Local\Temp\And17E8.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\David\AppData\Local\Temp\And17E8.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\David\AppData\Local\Temp\And17E8.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\David\AppData\Local\Temp\And17E8.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\David\AppData\Local\Temp\And17E8.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\David\AppData\Local\Temp\And17E8.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\David\AppData\Local\Temp\And17E8.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\David\AppData\Local\Temp\And17E8.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\David\AppData\Local\Temp\And17E8.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\David\AppData\Local\Temp\And17E8.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\David\AppData\Local\Temp\And17E8.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\David\AppData\Local\Temp\And17E8.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\David\AppData\Local\Temp\And17E8.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\David\AppData\Local\Temp\And17E8.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\David\AppData\Local\Temp\And17E8.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\David\AppData\Local\Temp\And17E8.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\David\AppData\Local\Temp\And17E8.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\David\AppData\Local\Temp\And17E8.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\David\AppData\Local\Temp\And17E8.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] 6 warnings

    BUILD FAILED
    D:\android-sdk\tools\ant\build.xml:716: The following error occurred while executing this line:
    D:\android-sdk\tools\ant\build.xml:730: Compile failed; see the compiler error output for details.

    Total time: 13 seconds

    I have no clue what all this means or even where to look to find where the problem is coming from. I have the correct directories in my CF2.5 preferences for the SDK and JDK.

    Hoping somebody can help me, I really want to test my application on a device.

    Thanks.

  2. #2
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,423
    Mentioned
    227 Post(s)
    Tagged
    4 Thread(s)
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  3. #3
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    ScrotieFlapWack's Avatar
    Join Date
    Dec 2015
    Location
    United Kingdom
    Posts
    72
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    Awesome thanks Fernando. It's all working now

  4. #4
    Clicker Fusion 2.5Android Export Module

    Join Date
    Jan 2014
    Posts
    61
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,

    I just bought the Amazon Fire TV controller extension from Clickstore and I can't build apps when using it.

    I'm using API 22 as recommended.

    When I take the Fire TV object out, it builds.

    Help appreciated.

    ##EDIT: I installed the beta updates for CTF2.5 and Android Exporter and it builds with no problems. ##

    Thanks.

  5. #5
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,423
    Mentioned
    227 Post(s)
    Tagged
    4 Thread(s)
    did you download the amazon fire TV SDK using android sdk manager?
    Regards,


    Fernando Vivolo

    ... new things are coming ...

Similar Threads

  1. Build an app with an MMF project
    By skymen in forum Fusion 2.5
    Replies: 0
    Last Post: 19th August 2015, 06:46 AM
  2. How to build and run a project or application
    By District in forum iOS Export Module 2.5
    Replies: 1
    Last Post: 22nd January 2015, 03:50 AM
  3. [solved]Build Error "Unable to resolve project target 'android-18'"
    By Jonas in forum Android Export Module 2.5
    Replies: 0
    Last Post: 30th November 2014, 10:32 PM
  4. [Build 257.6] BUG on export XCode project
    By Sphax in forum iOS Export Module Version 2.0
    Replies: 6
    Last Post: 15th March 2013, 04:35 AM
  5. HELP!!! No sound when BUILD my project
    By daniele in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 28th January 2008, 04:22 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •