Android Question B4A 7.00 & major.minor version 52.0

luke2012

Well-Known Member
Licensed User
Longtime User
Hi All.
I'm happy to receive the new version of B4A (from @Erel).
After installed the new version I got an error while compiling my existing projects (using the old version all was ok):

B4X:
B4A version: 7.00
Parsing code.    (0.34s)
Compiling code.    (3.61s)
   
ObfuscatorMap.txt file created in Objects folder.
Compiling layouts code.    (0.16s)
Organizing libraries.    (0.58s)
Generating R file.    (0.27s)
Compiling generated Java code.    (7.52s)
Convert byte code - optimized dex.    Error
java.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:142)
    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 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"

Any Idea to solve this issue with the new version ?
 

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

luke2012

Well-Known Member
Licensed User
Longtime User
What about versione 7.01 ? I received the official mail to download versione 7.00 but not 7.01. It's a bug fix version?
 
Upvote 0

techknight

Well-Known Member
Licensed User
Longtime User
I think this would have gone far better if erel would have put in an alert to tell you to install Java 8 when you attempted to compile with Java 7 or earlier. Instead of dumping out cryptic data that nobody understands and I see these threads over and over again... But thats my 2 cents.
 
Upvote 0
Top