If the solution is only upgrade for Java 8, say me too. 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. I don't want to upgrade the version of Java (if it is the solution) I wanted to run in Java 7. Your problem is that Maven Alfresco Plugin 2.1.0 requires JDK 1.8 as shown in the exception (version 52.0). That I saw in other solutions in "stackoverflow" but I can't solve the problem. I already try to add lines to pom.xml like: Here is the summary: 1) Android SDK: I have these install in my Android SDK: - Android SDK Build-tools 24.0.1 - Android SDK Build-tools 24.0.2 - Android SDK Platforms-tools 24.0.3 (See attached). Manages the lifecycle of the componentX-share AMP (Alfresco Module Package) 'Unsupported major.minor version 52.0' After a long investigation, sdk update, etc. OS name: "linux", version: "3.19.0-25-generic", arch: "amd64", family: "unix" Unsupported major.minor version 52.0 - The error regarding the unsupported major.minor version is because during compile time you are using a higher JDK and. Error:Gradle: Exception in thread main : com/android/dx/command/Main : Unsupported major.minor version 52.0 at. Some Android Studio plugins do not support Java 1.6 anymore, so its best to confirm what. Java home: /usr/lib/jvm/java-7-openjdk-amd64/jreĭefault locale: pt_PT, platform encoding: UTF-8 Seeing Unsupported major.minor version 52.0 on some plugins. Java version: 1.7.0_79, vendor: Oracle Corporation Maven home: /home/patricia/Transferências/apache-maven-3.3.3 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. Java -> -version java version "1.7.0_79" OpenJDK Runtime Environment Which java -> /usr/lib/jvm/java-1.7.0-openjdk-amd64/bin/java Do the method above, only when you are using java. Which javac -> /usr/lib/jvm/java-1.7.0-openjdk-amd64/bin/javac In Android Studio 2.1 Go to File-> Project Structure->App -> Build Tool Version. and point Xamarin Studio or Visual Studio to the newer version of the JDK in. Org/alfresco/maven/plugin/VersionMojo : Unsupported major.minorīut I already saw if the versions of java are equal, and it's correct. saying something to the effect of unsupported major.minor version 52.0. ':alfresco-maven-plugin:2.1.0' due to an API (default-set-version) on project componentX-share: Executionįailed: Unable to load the mojo 'set-version' in the plugin : com/android/apksigner/ApkSignerTool : Unsupported major.minor version 52.0Īt 1(Native Method)Īt (ClassLoader.java:800)Īt (SecureClassLoader.java:142)Īt (URLClassLoader.java:449)Īt $100(URLClassLoader.java:71)Īt $1.run(URLClassLoader.java:361)Īt $1.run(URLClassLoader.java:355)Īt (Native Method)Īt (URLClassLoader.java:354)Īt (ClassLoader.java:425)Īt (ClassLoader.java:412)Īt $AppClassLoader.loadClass(Launcher.java:308)Īt (ClassLoader.java:358)Īt (.plugin:alfresco-maven-plugin:2.1.0:set-version (BuildTarget target, System.String installPath, System.String companyName, System.String productName, Int32 width, Int32 height, System.String downloadWebplayerUrl, System.String manualDownloadWebplayerUrl, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:316)ĬommandInvokationFailure: Failed to sign APK package. (BuildTarget target, System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry) (System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry) (System.String stagingArea, System.String packageName, androidLibraries) (System.String title, System.String message) (System.String title, System.String message, System.Exception ex) : com/android/build/gradle/LibraryPlugin : Unsupported major.minor version 52.0 This error means studio runs with Java 1.7, not 1.8, you need to check if you have older java also installed and make sure you have proper JAVAHOME environment variable. UnityException: Resource compilation failed!įailed to recompile android resource files.
0 Comments
Leave a Reply. |