2017-05-21 137 views
1

我得到試圖運行PEPK工具錯誤運行PEPK工具機器人工作室

c當出現以下錯誤:\用戶\ PRASHANT亞達夫\ AndroidStudioProjects \ PROJECT1> Java的罐子pepk.jar --keystore =密鑰庫--alias =鍵--output = encrypted_private_key_path --encryptionkey = eb10fe8f7c7c9df715022017b00c6471f8ba8170b13049a11e6c09ffe3056a104a3bbe4ac5a955f4ba4fe93fc8cef27558a3eb9d2a529a2092771fb833b656cd48b9de6a

Exception in thread "main" java.lang.UnsupportedClassVersionError: com/google/wireless/android/vending/developer/signing/tools/extern/export/ExportEncryptedPrivateKeyTool : Unsupported major.minor version 52.0 
    at java.lang.ClassLoader.defineClass1(Native Method) 
    at java.lang.ClassLoader.defineClass(Unknown Source) 
    at java.security.SecureClassLoader.defineClass(Unknown Source) 
    at java.net.URLClassLoader.defineClass(Unknown Source) 
    at java.net.URLClassLoader.access$100(Unknown Source) 
    at java.net.URLClassLoader$1.run(Unknown Source) 
    at java.net.URLClassLoader$1.run(Unknown Source) 
    at java.security.AccessController.doPrivileged(Native Method) 
    at java.net.URLClassLoader.findClass(Unknown Source) 
    at java.lang.ClassLoader.loadClass(Unknown Source) 
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) 
    at java.lang.ClassLoader.loadClass(Unknown Source) 
    at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source) 
+0

您安裝了哪個版本的Java? – MatPag

+0

java -version「1.7.0_79」 –

回答

0

我不知道爲什麼@MatPag評論刪除了。無論如何,將jdk升級到1.8解決了這個問題。

+0

我已將JDK 1.7更新到1.8,並設置在可變路徑中,但獲得了相同的Unsupported major.minor版本52.0。 –