更新时间:2023-10-11 12:05:22
如 ProGuard故障排除的链接所指示页在控制台日志中,则应将project.properties
中的目标更改为包含缺少类的目标.在这种情况下:"android-18"或"Google Inc.:Google APIs:18".
As indicated by the link to the ProGuard Troubleshooting page in your console log, you should change the target in project.properties
to a target that contains the missing classes. In this case: "android-18" or maybe "Google Inc.:Google APIs:18".
您仍然可以在AndroidManifest.xml
中指定其他minSdkVersion.
You can still specify a different minSdkVersion in AndroidManifest.xml
.
您应该不指定任何-libraryjars选项,因为Android构建过程已经为您指定了这些选项-您现在只会看到有关重复类的警告.实际上,Android构建过程还会为您指定其他大多数选项.
You should not specify any -libraryjars options, since the Android build process already specifies those options for you -- you'll just see warnings about duplicate classes now. In fact, the Android build process specifies most other options for you as well.