【发布时间】:2016-01-28 19:31:09
【问题描述】:
当我尝试在 ProGuard 中排除第 3 方库时出现以下错误。
它正在编译,如果我在 proguard-project.txt 中添加“-dontwarn com.ak.systemservice.core.security.FuncManager”, 但是尝试运行时会崩溃。
基本上我不想混淆 jar 或整个 jar 中的“com.ak.systemservice.core.security.FuncManager”类,并希望在我的活动中使用“com.ak.systemservice.core.security.FuncManager” .提前致谢。
以下是错误:
[2016-01-26 17:00:27 - MyApp] Proguard 返回错误代码 1。请参阅控制台
[2016-01-26 17:00:27 - MyApp] 警告:com.ak.systemservice.core.security.FuncManager:找不到引用的类 android.os.ServiceManager
[2016-01-26 17:00:27 - MyApp] 警告:com.ak.systemservice.core.security.FuncManager:找不到引用的类 android.os.ServiceManager
[2016-01-26 17:00:27 - MyApp] 警告:com.ak.systemservice.core.security.FuncManager:找不到引用的类 android.security.FuncService$Stub
[2016-01-26 17:00:27 - MyApp] 警告:com.ak.systemservice.core.security.FuncManager:找不到引用的类 android.security.FuncService$Stub
[2016-01-26 17:00:27 - MyApp] 警告:com.ak.systemservice.core.security.FuncManager:找不到引用的类 android.security.FuncService
[2016-01-26 17:00:27 - MyApp] 警告:com.ak.systemservice.core.security.FuncManager:找不到引用的类 android.security.FuncService
[2016-01-26 17:00:27 - MyApp] 警告:com.ak.systemservice.core.security.FuncManager:找不到引用的类 com.ak.systemservice.core.security.FuncManager$1
[2016-01-26 17:00:27 - MyApp] 警告:com.ak.systemservice.core.security.FuncManager:找不到引用的类 com.ak.systemservice.core.security.FuncManager$1
[2016-01-26 17:00:27 - MyApp] 警告:com.ak.systemservice.core.security.FuncManager:找不到引用的类 android.security.FuncService
[2016-01-26 17:00:27 - MyApp] 警告:com.ak.systemservice.core.security.FuncManager:找不到引用的类 android.security.FuncService
[2016-01-26 17:00:27 - MyApp] 警告:com.ak.systemservice.core.security.FuncManager:找不到引用的类 android.security.FuncService
[2016-01-26 17:00:27 - MyApp] 警告:com.ak.systemservice.core.security.FuncManager:找不到引用的类 android.security.FuncService
[2016-01-26 17:00:27 - MyApp] 警告:com.ak.systemservice.core.security.FuncManager:找不到引用的类 android.security.FuncService
[2016-01-26 17:00:27 - MyApp] 警告:com.ak.systemservice.core.security.FuncManager:找不到引用的类 android.security.FuncService
[2016-01-26 17:00:27 - MyApp] 警告:com.ak.systemservice.core.security.FuncManager:找不到引用的类 android.security.FuncService
[2016-01-26 17:00:27 - MyApp] 警告:com.ak.systemservice.core.security.FuncManager:找不到引用的类 android.security.FuncService
【问题讨论】:
标签: java android eclipse obfuscation android-proguard