Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49087

Ionic build android - UnsupportedClassVersionError

$
0
0

@zvunks wrote:

Hello,
i don't know how to solve this error:

:generateDebugResources UP-TO-DATE
:mergeDebugResources UP-TO-DATE
:processDebugManifest UP-TO-DATE
:processDebugResources
:generateDebugSources
:compileDebugJava UP-TO-DATE
:preDexDebugjava.lang.UnsupportedClassVersionError: com/android/dx/command/Main
: Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:14
2)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at java.lang.ClassLoader.loadClass(ClassLoader.java:412)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)

Exception in thread "main"
FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':preDexDebug'.

    com.android.ide.common.internal.LoggedErrorException: Failed to run command:
    C:\Users\Tibi\AppData\Local\Android\sdk\build-tools\24.0.0\dx.bat --dex
    --output F:\MyZone\ProiecteDiverse\spalatorie\spalatorieionicapp\spalatorie\plat
    forms\android\build\intermediates\pre-dexed\debug\classes-4bab03d384de85c3bc40f0
    82b871ff1c0fed04ac.jar F:\MyZone\ProiecteDiverse\spalatorie\spalatorieionicapp\s
    palatorie\platforms\android\build\intermediates\exploded-aar\android\CordovaLib\
    unspecified\debug\classes.jar
    Error Code:

Help please... thanks!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49087

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>