Guest User

Untitled

a guest
Jan 22nd, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. -keep class com.android.vending.billing.**
  2.  
  3. E/AndroidRuntime: FATAL EXCEPTION: Thread-455
  4. java.lang.NullPointerException
  5. at com.xx.xxxx.util.IabHelper.startSetup(Unknown Source)
  6. at com.xx.xxxx.util.IabHelper$2.run(Unknown Source)
  7. at java.lang.Thread.run(Thread.java:856)
  8.  
  9. -keep class com.android.vending.billing.**
  10.  
  11. -keep class com.xx.xxxx.util.IabHelper.**
  12.  
  13. mContext.getPackageManager()
  14. .queryIntentServices(serviceIntent, 0);
  15.  
  16. List<ResolveInfo> queryIntentServices = mContext.getPackageManager()
  17. .queryIntentServices(serviceIntent, 0);
  18. if (queryIntentServices != null && !queryIntentServices.isEmpty()) {
  19. // service available to handle that Intent
  20. mContext.bindService(serviceIntent, mServiceConn,
  21. Context.BIND_AUTO_CREATE);
  22. }else ...
  23.  
  24. -keep class com.android.vending.** { *; }
Add Comment
Please, Sign In to add comment