解决Error:ProGuard: [show_entry] java.io.IOException: Can't read [C:\Users\Alex\.AndroidStudio1.5\syst

最近用mac版Android studio 打包APK,老是在混淆时报一个错:

Error:ProGuard: [show_entry] java.io.IOException: Can't read [C:\Users\Alex\.AndroidStudio1.5\system\compile-server\_temp_\proguard_input0.jar] (Can't process class [com/memezhibo/android/activity/AccuseActivity$1.class] (Unsupported class version number [52.0] (maximum 51.0, Java 1.7)))

如图:解决Error:ProGuard: [show_entry] java.io.IOException: Can't read [C:\Users\Alex\.AndroidStudio1.5\syst_第1张图片

经过各种百度谷歌,并没啥卵用,有一天我把JDK1.8换成了1.7,再配置了下设置,如图:

解决Error:ProGuard: [show_entry] java.io.IOException: Can't read [C:\Users\Alex\.AndroidStudio1.5\syst_第2张图片

然后配置好后,再混淆签名打包APK,欧了

你可能感兴趣的:(解决Error:ProGuard: [show_entry] java.io.IOException: Can't read [C:\Users\Alex\.AndroidStudio1.5\syst)