![]() ![]() If you remember Android Studio is built from IntelliJ Idea. It sounds like I may be missing a configuration or something similar? I followed EMBs instructions on the DocWiki to configure my project. This should solve the problem of unsupported major.minor version 55.0 error in Android Studio. The UnsupportedClassVersionError is a sub-class of the LinkageError and thrown by the Java Virtual Machine (JVM). Usually you get error: Unsupported major.minor version 52. If I manually run the above command but use the 1.8.0_60\bin\java.exe instead, it complains about a missing buildconfig.json file - which is missing from the release folder. Unsupported major.minor version 52.0 when rendering in Android Studio Check your JAVAHOME to use jdk 1.8 Also check : the parameter in Android Studio in order to change at File->Other Settings->Default Project Structure->SDKs This is bug in Android Studio. Unsupported major.minor version 51.0 error comes when you run a class file created using Java 1.7 (major version 51.0) into a lower JRE version e.g. Where is it determining that it needs to use JDK1.7.0_25? I can't see this anywhere in my Tools > Options? Surely it should be using the one I defined in my SDK Manager? Error: E6408 Unable to execute '"C:\Program Files\Java\jdk1.7.0_25\bin\java.exe" -jar "c:\program files (x86)\embarcadero\studio\20.0\bin\android\bundletool-all-0.10.3.jar" build-bundle -modules="C:\Development\Project\Android64\Release\Project\base.zip" -output="C:\Development\Project\Android64\Release\myShiftPlanner\bin\Project-unsigned.aab" -config="C:\Development\Project\Android64\Release\Project\buildconfig.json"' (Error 1) J2SE 8 Version 52 J2SE 7 Version 51 J2SE 6.0 Version 50 J2SE 5.0 Version 49 JDK 1.4 Version 48 JDK 1.3 Version 47 JDK 1.2 Version 46 JDK 1.1 Version 45 () ( ) 1. The odd thing is that the command Delphi is running is: I've always used JDK1.8.0_60 and that's what the paths are in my SDK Manager for Android 32 and 64 targets. Error: E6408 : com/android/tools/build/bundletool/BundleToolMain : Unsupported major.minor version 52.0 ![]() The project is configured to build this, but I'm getting an error at Deployment time: Android SDK Manager error: Unsupported major.minor version 52. keepclassmembers public class * extends 've successfully built and tested my app on Android 64 with Rio 10.3.3 and now trying to build the. So your options are downgrade alfresco plugin version or upgrade to JDK 1.8. You can se requirements of the plugin here: Maven Alfresco PLugin Requirements. # keep setters in Views so that animations can still work. Your problem is that Maven Alfresco Plugin 2.1.0 requires JDK 1.8 as shown in the exception (version 52.0). # "proguard-android-optimize.txt" file instead of this one from your # include optimization flags in your own project configuration file # Note that if you want to enable optimization, you cannot just # through the ProGuard optimize and preverify steps (and performs some # This is a configuration file for ProGuard. ![]() (Path to your Android SDK Folder)/tools/proguard -keep public class .* In addition to following Douglas' answer above, I had to add the following lines of text to the proguard-android.txt file found in this folder: Android : Android Studio continues to get a Unsupported major.minor version 52.0 Delphi 31.3K subscribers Subscribe No views 4 minutes ago Android : Android Studio continues to. Typically in linux you jave more than one Java SDK installed. ![]() I had a problem where Proguard was removing the Google Play Services libraries from my app. Coding example for the question CAS4 Unsupported major.minor version 52.0-eclipse. Which is coordinated with a Pull Request in the Xamarin.Android repository: In which the following bug was logged as well: Thus, the 'major.minor version 52.0' error is possibly because the jar was compiled in JDK 1.8, but you are trying to run it using a JDK 1.7 environment. This is listed in the Xamarin.Android 7.0 release notes: The error regarding the unsupported major.minor version is because during compile time you are using a higher JDK and a lower JDK during runtime. Simply rename the existing folder to something else and add the new version of proguard. I would recommend that you install this on the side of the default version that Android ships in android-sdk\tools\proguard. 2 warnings UnityEditor.HostView:OnGUI () Click to expand. It is recommended that the compiler be upgraded. You need to update the default Android SDK proguard.jar with the latest version of Proguard found here: warning: D:AndroidSDKplatformsandroid-24android.jar (java/lang/AutoCloseable.class): major version 52 is newer than 51, the highest major version supported by this compiler. ![]()
0 Comments
Leave a Reply. |