我在Android工作室尝试导出签名APK与Proguard真实.
我收到以下错误:
FAILURE: Build Failed with an exception.
* What went wrong:
Execution Failed for task ':Application:proguardRelease'.
> java.io.IOException: Can't write [C:\AndroidStudioProject\MyFirstProjectonAndroidWear\Application\build\intermediates\classes-proguard\release\classes.jar] (Can't read [C:\AndroidStudioProject\MyFirstProjectonAndroidWear\Application\build\intermediates\exploded-aar\com.android.support\support-v4\20.0.0\classes.jar(;;;;;;!Meta-INF/MANIFEST.MF)] (Duplicate zip entry [classes.jar:android/support/v4/os/ParcelableCompat$CompatCreator.class]))
我还在proguard中给出了以下内容但没有帮助:
-dontwarn android.support.v4.**
-keep class android.support.v4.** { *; }
这是我正在使用的proguard文件:
最佳答案