User Tag List

Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 21

Thread: Error to export on Android (APK)

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export Module

    Join Date
    Dec 2015
    Location
    Bosnia and Herzegovina
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Error to export on Android (APK)

    Hello

    I have installed Fusion 2.5 Developer (Bulid 286.6) (Unicode) and Exporter to Android, Java JDK, Android SDK.
    Before I did not have problems with export apk file.
    I picked up a new Windows 7 32-bit on the computer and I have everything I need to have installed.

    Please HELP !!!!!! ( This is my games and I need to upload but cant export ( https://play.google.com/store/apps/d...ovic.TapTheEgg )

    It appears to me this error:


    Buildfile: C:\Users\Salih\AppData\Local\Temp\And881D.tmp\buil d.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.2.2
    [checkenv] Installed at C:\Program Files\Android\android-sdk

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

    -build-setup:
    [getbuildtools] Using latest Build Tools: 24.0.2
    [echo] Resolving Build Target for RuntimeAndroid...
    [gettarget] Project Target: Android 4.3.1
    [gettarget] API level: 18
    [echo] ----------
    [echo] Creating output directories if needed...
    [mkdir] Created dir: C:\Users\Salih\AppData\Local\Temp\And881D.tmp\bin
    [mkdir] Created dir: C:\Users\Salih\AppData\Local\Temp\And881D.tmp\bin\ res
    [mkdir] Created dir: C:\Users\Salih\AppData\Local\Temp\And881D.tmp\bin\ rsObj
    [mkdir] Created dir: C:\Users\Salih\AppData\Local\Temp\And881D.tmp\bin\ rsLibs
    [mkdir] Created dir: C:\Users\Salih\AppData\Local\Temp\And881D.tmp\gen
    [mkdir] Created dir: C:\Users\Salih\AppData\Local\Temp\And881D.tmp\bin\ classes
    [mkdir] Created dir: C:\Users\Salih\AppData\Local\Temp\And881D.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 374 source files to C:\Users\Salih\AppData\Local\Temp\And881D.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\Salih\AppData\Local\Temp\And881D.tmp\bin\ classes
    [dex] input: C:\Users\Salih\AppData\Local\Temp\And881D.tmp\libs \library.jar
    [dex] input: C:\Users\Salih\AppData\Local\Temp\And881D.tmp\libs \android-support-v4.jar
    [dex] input: C:\Users\Salih\AppData\Local\Temp\And881D.tmp\libs \zip_file.jar
    [dex] input: C:\Users\Salih\AppData\Local\Temp\And881D.tmp\libs \zbar.jar
    [dex] input: C:\Users\Salih\AppData\Local\Temp\And881D.tmp\libs \downloader_library.jar
    [dex] Pre-Dexing C:\Users\Salih\AppData\Local\Temp\And881D.tmp\libs \library.jar -> library-2aec5f00e80ea2f26ffcd2f5d1ca8044.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\Android\android-sdk\tools\ant\build.xml:888: The following error occurred while executing this line:
    C:\Program Files\Android\android-sdk\tools\ant\build.xml:890: The following error occurred while executing this line:
    C:\Program Files\Android\android-sdk\tools\ant\build.xml:902: The following error occurred while executing this line:
    C:\Program Files\Android\android-sdk\tools\ant\build.xml:283: null returned: 1

    Total time: 6 seconds

  2. #2
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,822
    Mentioned
    7 Post(s)
    Tagged
    2 Thread(s)
    Can you detail what you have in your preferences for Java?

    What Java version and 32 or 64 bit?

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export Module

    Join Date
    Dec 2015
    Location
    Bosnia and Herzegovina
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have Java version 32 bit

    Preferences for java C:\Program Files\Java\jdk1.7.0_79

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export Module

    Join Date
    Dec 2015
    Location
    Bosnia and Herzegovina
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have Java version 32 bit

    Preferences for java C:\Program Files\Java\jdk1.7.0_79

  5. #5
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,822
    Mentioned
    7 Post(s)
    Tagged
    2 Thread(s)
    Is that Java 7? Try Java 8 and see if that changes anything.

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export Module

    Join Date
    Dec 2015
    Location
    Bosnia and Herzegovina
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I installed java 8 but dont help

    BUILD FAILED
    C:\Program Files\Android\android-sdk\tools\ant\build.xml:716: The following error occurred while executing this line:
    C:\Program Files\Android\android-sdk\tools\ant\build.xml:730: Unable to find a javac compiler;
    com.sun.tools.javac.Main is not on the classpath.
    Perhaps JAVA_HOME does not point to the JDK.
    It is currently set to "C:\Program Files\Java\jre1.8.0_101"

  7. #7
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,822
    Mentioned
    7 Post(s)
    Tagged
    2 Thread(s)
    Do you get the same error in a blank app?

    Can you find out what Java_home is pointing to?

  8. #8
    Clicker Fusion 2.5 DeveloperAndroid Export Module

    Join Date
    Dec 2015
    Location
    Bosnia and Herzegovina
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes a tried a blank app and is same thing.

  9. #9
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,152
    Mentioned
    158 Post(s)
    Tagged
    3 Thread(s)
    Unable to find a javac compiler;
    something went wrong with the installation

    it does not find the javac compiler , also did you check if inside preferences in editor (menu tools->preferences) java sdk path point correctly to the one installed?
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  10. #10
    Clicker Fusion 2.5 DeveloperAndroid Export Module

    Join Date
    Dec 2015
    Location
    Bosnia and Herzegovina
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I check preferences in editor and everything look fine JDK and SDK

Page 1 of 3 1 2 3 LastLast

Similar Threads

  1. error on android export
    By chubbybarbarian in forum Android Export Module 2.5
    Replies: 1
    Last Post: 2nd September 2016, 02:11 PM
  2. Android doesn't export to apk error.
    By ClickTeamMan in forum Android Export Module 2.5
    Replies: 25
    Last Post: 8th August 2016, 04:57 PM
  3. AdMob + Export android = Error
    By greengobyte in forum Android Export Module 2.5
    Replies: 7
    Last Post: 1st June 2016, 04:44 PM
  4. Android SDK Export error
    By alienayyy in forum Android Export Module 2.5
    Replies: 3
    Last Post: 19th October 2015, 08:38 PM
  5. Android export fatal error
    By SoftWarewolf in forum Android Export Module 2.5
    Replies: 10
    Last Post: 21st August 2014, 11:38 AM

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
  •