User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 15

Thread: Android Exporter Build Fail

  1. #1
    Clicker Fusion 2.5 DeveloperiOS Export Module
    FinalSpecimen's Avatar
    Join Date
    Oct 2011
    Location
    Boston, MA
    Posts
    123
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Android Exporter Build Fail

    Having trouble building my APK. Below is the error log... I have read through the forums and tried everything I've seen including setting API to 22, making sure the JDK and SDK directories are properly set, and installing the proper SDKs in the SDK manager, and still am having issues. Here is a screenshot of all my settings:
    ANDROIDBUILDFAIL.jpg



    Buildfile: C:\Users\Thomas\AppData\Local\Temp\And1FB4.tmp\bui ld.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 25.1.3
    [checkenv] Installed at C:\Program Files (x86)\Android\android-sdk

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

    -build-setup:
    [getbuildtools] Using latest Build Tools: 24.0.0 rc3
    [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\Thomas\AppData\Local\Temp\And1FB4.tmp\bin
    [mkdir] Created dir: C:\Users\Thomas\AppData\Local\Temp\And1FB4.tmp\bin \res
    [mkdir] Created dir: C:\Users\Thomas\AppData\Local\Temp\And1FB4.tmp\bin \rsObj
    [mkdir] Created dir: C:\Users\Thomas\AppData\Local\Temp\And1FB4.tmp\bin \rsLibs
    [mkdir] Created dir: C:\Users\Thomas\AppData\Local\Temp\And1FB4.tmp\gen
    [mkdir] Created dir: C:\Users\Thomas\AppData\Local\Temp\And1FB4.tmp\bin \classes
    [mkdir] Created dir: C:\Users\Thomas\AppData\Local\Temp\And1FB4.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 390 source files to C:\Users\Thomas\AppData\Local\Temp\And1FB4.tmp\bin \classes
    [javac] C:\Users\Thomas\AppData\Local\Temp\And1FB4.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\Thomas\AppData\Local\Temp\And1FB4.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\Thomas\AppData\Local\Temp\And1FB4.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\Thomas\AppData\Local\Temp\And1FB4.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\Thomas\AppData\Local\Temp\And1FB4.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\Thomas\AppData\Local\Temp\And1FB4.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] 6 warnings

    -post-compile:

    -obfuscate:

    -dex:
    [dex] input: C:\Users\Thomas\AppData\Local\Temp\And1FB4.tmp\bin \classes
    [dex] input: C:\Users\Thomas\AppData\Local\Temp\And1FB4.tmp\lib s\ouya-sdk.jar
    [dex] input: C:\Users\Thomas\AppData\Local\Temp\And1FB4.tmp\lib s\library.jar
    [dex] input: C:\Users\Thomas\AppData\Local\Temp\And1FB4.tmp\lib s\notification.jar
    [dex] input: C:\Users\Thomas\AppData\Local\Temp\And1FB4.tmp\lib s\android-support-v4.jar
    [dex] input: C:\Users\Thomas\AppData\Local\Temp\And1FB4.tmp\lib s\zip_file.jar
    [dex] input: C:\Users\Thomas\AppData\Local\Temp\And1FB4.tmp\lib s\gamecontroller.jar
    [dex] input: C:\Users\Thomas\AppData\Local\Temp\And1FB4.tmp\lib s\downloader_library.jar
    [dex] Pre-Dexing C:\Users\Thomas\AppData\Local\Temp\And1FB4.tmp\lib s\ouya-sdk.jar -> ouya-sdk-65adc39d0569fc47fdf3888b4a1c0b09.jar
    [dx] java.lang.UnsupportedClassVersionError: com/android/dx/command/Main : Unsupported major.minor version 52.0
    [dx] at java.lang.ClassLoader.defineClass1(Native Method)
    [dx] at java.lang.ClassLoader.defineClass(ClassLoader.java :800)
    [dx] at java.security.SecureClassLoader.defineClass(Secure ClassLoader.java:142)
    [dx] at java.net.URLClassLoader.defineClass(URLClassLoader .java:449)
    [dx] at java.net.URLClassLoader.access$100(URLClassLoader. java:71)
    [dx] at java.net.URLClassLoader$1.run(URLClassLoader.java: 361)
    [dx] at java.net.URLClassLoader$1.run(URLClassLoader.java: 355)
    [dx] at java.security.AccessController.doPrivileged(Native Method)
    [dx] at java.net.URLClassLoader.findClass(URLClassLoader.j ava:354)
    [dx] at java.lang.ClassLoader.loadClass(ClassLoader.java:4 25)
    [dx] at java.lang.ClassLoader.loadClass(ClassLoader.java:4 12)
    [dx] at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:308)
    [dx] at java.lang.ClassLoader.loadClass(ClassLoader.java:3 58)
    [dx] at sun.launcher.LauncherHelper.checkAndLoadMain(Launc herHelper.java:482)
    [dx] Exception in thread "main"

    BUILD FAILED
    C:\Program Files (x86)\Android\android-sdk\tools\ant\build.xml:888: The following error occurred while executing this line:
    C:\Program Files (x86)\Android\android-sdk\tools\ant\build.xml:890: The following error occurred while executing this line:
    C:\Program Files (x86)\Android\android-sdk\tools\ant\build.xml:902: The following error occurred while executing this line:
    C:\Program Files (x86)\Android\android-sdk\tools\ant\build.xml:283: null returned: 1

    Total time: 9 seconds
    Images attachées Images attachées

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Mar 2009
    Posts
    85
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Are you using the latest beta version of the Android Exporter? For some reason, I think it has many issues.

    In my case I had to install the stable Android release, because with the current beta version, every single game I export freezes and closes automatically after a few seconds, even blank apps. Perhaps using an older beta of the Android Exporter would work?

  3. #3
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,826
    Mentioned
    8 Post(s)
    Tagged
    2 Thread(s)
    Does this same error happen when you build a completely blank file or just this file?

    What version is your JAVA JDK? I can't see the picture its too small.
    Are you running 32bit or 64 bit Java?

  4. #4
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    7,303
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    Sparckman's Avatar
    Join Date
    Feb 2011
    Location
    Planet of the Kangaroos
    Posts
    1,395
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    You could have an object not yet supported by le android exporter.

    Try creating a blank document / set it as an android game / set the API to an API you have downloaded /

    and just hit export.

    see if you get any errors.

    You can always check your settings against this setup guide
    http://community.clickteam.com/threads/94524-SETUP-Android-SDK-JAVA-JDK-How-to-export-to-android-Tutorial


  6. #6
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export Module
    Fusion 2.5 (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Oct 2009
    Posts
    353
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    I also had problems with the update 285.2 .. My game was not working. I reinstalled the 285.1. and my application works better now.

  7. #7
    Clicker Fusion 2.5 DeveloperiOS Export Module
    FinalSpecimen's Avatar
    Join Date
    Oct 2011
    Location
    Boston, MA
    Posts
    123
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I am using jdk1.7.0_79, Fusion version 284.1, and my Java is 32 bit.

    I did make sure to download just the Android SDK tools, not the full studio version.

    And I tried a blank file with no objects, but same result.

  8. #8
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    7,303
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    And did you download the build tool, apies?
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  9. #9
    Clicker Fusion 2.5 DeveloperiOS Export Module
    FinalSpecimen's Avatar
    Join Date
    Oct 2011
    Location
    Boston, MA
    Posts
    123
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Not sure what you mean by "apes" but I believe I have the build tool, here is a screenshot of my SDK:

    https://www.dropbox.com/s/w23ztlealv...IDSDK.png?dl=0

  10. #10
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    7,303
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    Lol, sorry, I mean apies, I see you have API N test with API 22,please
    Regards,


    Fernando Vivolo

    ... new things are coming ...

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Replies: 56
    Last Post: 26th December 2017, 08:53 PM
  2. Replies: 14
    Last Post: 28th September 2015, 03:12 PM
  3. Android exporter problems fail everytime?!
    By gagegage926 in forum Android Export Module 2.5
    Replies: 20
    Last Post: 25th April 2014, 09:44 PM
  4. Android Exporter - Trouble Building an Android Application
    By Appsareawesome in forum Android Export Module Version 2.0
    Replies: 1
    Last Post: 19th February 2014, 06:48 PM
  5. Build fail due to lack of support for setting sound volume
    By BrashMonkey in forum Android Export Module Version 2.0
    Replies: 0
    Last Post: 15th November 2011, 06:46 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
  •