一切都好,直到我提出抗议。这是我的proGuard项目。txt
-keep class com.j256.**
-keepclassmembers class com.j256.** { *; }
-keep enum com.j256.**
-keepclassmembers enum com.j256.** { *; }
-keep interface com.j256.**
-keepclassmembers interface com.j256.** { *; }
-keep class com.liba.carpool.db.**
-keepclassmembers class com.liba.carpool.db.** { *; }
-keepattributes Signature
这是logcat:
每个人都遇到同样的问题,谢谢
我遇到了和你一样的问题。我的解决方案是添加-会保留属性*注释*
,它是有效的。希望能帮助到你:)
我在我的proGuard规则中添加了这些行:
-keep class com.j256.**
-keepclassmembers class com.j256.** { *; }
-keep enum com.j256.**
-keepclassmembers enum com.j256.** { *; }
-keep interface com.j256.**
-keepclassmembers interface com.j256.** { *; }
-keepattributes Signature
-keepattributes *Annotation*
-keepclassmembers class * { public <init>(android.content.Context); }