Commit 100dc95c2bf53c93b5b4087cf0f9c3855eaef008
1 parent
23dcff7429
Exists in
master
修改混淆配置
Showing 1 changed file with 3 additions and 9 deletions Side-by-side Diff
doc/AndroidDocument.md
| ... | ... | @@ -216,22 +216,16 @@ Help==>About Eclips点击Android对应的图标就可以查看版本了. |
| 216 | 216 | 类,导致SDK无法正常工作,解决方法如下: |
| 217 | 217 | Ø 请开发者在混淆配置文件proguard.cfg或proguard-project.txt的最后加上 |
| 218 | 218 | |
| 219 | - -keep class com.gumptech.sdk.GumpSDK{ | |
| 220 | - public static final <fields>; | |
| 221 | - public static void init(java.lang.String,java.lang.String); | |
| 222 | - public static void init(java.lang.String,java.lang.String,java.lang.String,java.lang.String); | |
| 223 | - public static void start(android.app.Activity); | |
| 224 | - public static void logout(android.app.Activity); | |
| 225 | - public static void boundMail(android.app.Activity); | |
| 226 | - } | |
| 227 | 219 | -keep class com.gumptech.sdk.view.* {*;} |
| 220 | + -keep class com.gumptech.sdk.web.* {*;} | |
| 228 | 221 | -keep class com.gumptech.sdk.GumpSDK$Callback{ |
| 229 | 222 | void onLogout(); |
| 230 | 223 | } |
| 231 | 224 | -keep class com.gumptech.sdk.GumpPreference{ |
| 232 | 225 | public static final <fields>; |
| 233 | 226 | } |
| 234 | - -keep class com.facebook.** { *; } | |
| 227 | + -keep class com.upay.billing.** { *; } | |
| 228 | + -dontwarn com.upay.billing.** | |
| 235 | 229 | |
| 236 | 230 | -keepattributes Signature |
| 237 | 231 | -keep class com.upay.billing.** { *; } |