User Tag List

Results 1 to 6 of 6

Thread: Android export wont build

  1. #1
    Clicker Fusion 2.5 Developer

    Join Date
    Feb 2011
    Posts
    37
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Android export wont build

    Hi Everyone,

    I have run into a problem that is beyond my ability to solve

    when trying to build a project in android it continues to throw a build error I have reinstalled android and all sdks as well as the java jdk and reinstalled fusion developer and the exporter as well I have checked the file paths and as far as I can tell they are correct this is the error report I got from trying to build a blank project.

    Buildfile: C:\Users\dusty\AppData\Local\Temp\And67FB.tmp\buil d.xml

    -set-mode-check:

    -set-debug-files:

    -check-env:
    [checkenv] Android SDK Tools Revision 25.1.7
    [checkenv] Installed at C:\AndroidSdk

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

    -set-debug-mode:

    -debug-obfuscation-check:

    -pre-build:

    -build-setup:
    [getbuildtools] Using latest Build Tools: 24.0.0
    [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\dusty\AppData\Local\Temp\And67FB.tmp\bin
    [mkdir] Created dir: C:\Users\dusty\AppData\Local\Temp\And67FB.tmp\bin\ res
    [mkdir] Created dir: C:\Users\dusty\AppData\Local\Temp\And67FB.tmp\bin\ rsObj
    [mkdir] Created dir: C:\Users\dusty\AppData\Local\Temp\And67FB.tmp\bin\ rsLibs
    [mkdir] Created dir: C:\Users\dusty\AppData\Local\Temp\And67FB.tmp\gen
    [mkdir] Created dir: C:\Users\dusty\AppData\Local\Temp\And67FB.tmp\bin\ classes
    [mkdir] Created dir: C:\Users\dusty\AppData\Local\Temp\And67FB.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 374 source files to C:\Users\dusty\AppData\Local\Temp\And67FB.tmp\bin\ classes
    [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.

    -post-compile:

    -obfuscate:

    -dex:
    [dex] input: C:\Users\dusty\AppData\Local\Temp\And67FB.tmp\bin\ classes
    [dex] input: C:\Users\dusty\AppData\Local\Temp\And67FB.tmp\libs \library.jar
    [dex] input: C:\Users\dusty\AppData\Local\Temp\And67FB.tmp\libs \android-support-v4.jar
    [dex] input: C:\Users\dusty\AppData\Local\Temp\And67FB.tmp\libs \zip_file.jar
    [dex] input: C:\Users\dusty\AppData\Local\Temp\And67FB.tmp\libs \zbar.jar
    [dex] input: C:\Users\dusty\AppData\Local\Temp\And67FB.tmp\libs \downloader_library.jar
    [dex] Pre-Dexing C:\Users\dusty\AppData\Local\Temp\And67FB.tmp\libs \library.jar -> library-24cd06d5aeac48aff9a7bf66e9a177a6.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:\AndroidSdk\tools\ant\build.xml:888: The following error occurred while executing this line:
    C:\AndroidSdk\tools\ant\build.xml:890: The following error occurred while executing this line:
    C:\AndroidSdk\tools\ant\build.xml:902: The following error occurred while executing this line:
    C:\AndroidSdk\tools\ant\build.xml:283: null returned: 1


    Any help anyone could give would be greatly appreciated I have used fusion and the android exporter before and have never run into this kind of sustained problem ever.

    Thanks hope you all have a great day

    Dusty
    Podunk Studioz

  2. #2
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    13,095
    Mentioned
    123 Post(s)
    Tagged
    2 Thread(s)
    What build of Fusion do you use? Did you install the patch of the build 286 after reinstalling the Android exporter?

  3. #3
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,152
    Mentioned
    158 Post(s)
    Tagged
    3 Thread(s)
    what java sdk version you have installed?, build tool 24 (not the api) does require java 8 and please update to the latest one in case you have an older java 8 version.
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  4. #4
    Clicker Fusion 2.5 Developer

    Join Date
    Feb 2011
    Posts
    37
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Version appears to be R286.6 I checked for an update when I reinstalled everything and it says I am up to date

  5. #5
    Clicker Fusion 2.5 Developer

    Join Date
    Feb 2011
    Posts
    37
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have tried using jdk1.7.0_79 and jdk1.6.0_45 will install 8 and see if that solves it

  6. #6
    Clicker Fusion 2.5 Developer

    Join Date
    Feb 2011
    Posts
    37
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks guys for the help changed to jdk 8 fixed it I can build now

Similar Threads

  1. Is In App Purchase feature for Ouya broken with latest Android export build?
    By BrashMonkey in forum Android Export Module 2.5
    Replies: 12
    Last Post: 20th January 2016, 10:41 PM
  2. Android Export Error - Build Fails Every Time Between 4-5 sec
    By henryhissagames in forum Android Export Module 2.5
    Replies: 4
    Last Post: 29th December 2015, 06:27 PM
  3. Wont build the application (java 1.6/1.7)
    By District in forum Android Export Module 2.5
    Replies: 4
    Last Post: 27th May 2015, 11:53 PM
  4. MMF2 wont build
    By HyperspazzMan in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 29th November 2009, 08:45 PM
  5. MMF2 STAND-ALONE wont build!!!!! :((((
    By uncleswell in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 2nd February 2007, 12:31 PM

Tags for this Thread

Posting Permissions

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