【发布时间】:2019-06-08 12:03:42
【问题描述】:
我正在创建 Xamarin.Android 应用程序。关于启用 Proguard 或 R8 Shrinker 获取 -> Xamarin.Android.D8.Target - "java.exe" exited with code 1
我已经通过启用 MultiDex 修复了 Xamarin.Android.Common.Targets 的相同错误上升。
但Xamarin.Android.D8.Target - "java.exe" exited with code 1 不同。
1>PROGUARD : warning : there were 6319 unresolved references to classes or interfaces.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\Android\Xamarin.Android.D8.targets(49,5): error MSB6006: "java.exe" exited with code 1.
在项目目录中有 proguard.cfg 或 proguard.pro 文件时发生错误
【问题讨论】:
-
你真的需要使用 D8 吗? stackoverflow.com/questions/54391422/…
标签: android xamarin xamarin.android proguard