Facebook Sharer
选择您要替换的背景颜色:
【农历新年】背景图片:
个性化设定
 注册  找回密码
查看: 766|回复: 0
打印 上一主题 下一主题

Google In App Billing unable to start receiver

[复制链接]

17

主题

0

好友

316

积分

超级会员

Rank: 5Rank: 5Rank: 5Rank: 5Rank: 5

跳转到指定楼层
1#
发表于 2014-3-3 07:07 PM |只看该作者 |倒序浏览
i have an own google in app billing SDK, which work at application A, but show unable to start receiver at application B. my log did receive those callback singed data from google service.. and i dont know why....hundred thanks if this problem is solve... Below is the log i receive...Please do let me know if another thing is necessary...
  1. 03-03 19:05:05.135: I/BillingService(12572): Service starting with onCreate
  2. 03-03 19:05:05.135: I/BillingService(12572): Market Billing Service Successfully Bound
  3. 03-03 19:05:05.170: I/BillingService(12572): Market Billing Service Connected.
  4. 03-03 19:05:07.130: I/BillingService(12572): isBillingSupported response was: RESULT_OK
  5. 03-03 19:05:07.130: I/BillingService(12572): requestPurchase()
  6. 03-03 19:05:07.140: I/BillingService(12572): current request is:9096932744197679716
  7. 03-03 19:05:07.140: I/BillingService(12572): REQUEST_PURCHASE Sync Response code: RESULT_OK
  8. 03-03 19:05:11.110: I/BillingService(12572): Received action: com.android.vending.billing.IN_APP_NOTIFY
  9. 03-03 19:05:11.110: I/BillingService(12572): notify got id: android.test.purchased
  10. 03-03 19:05:11.110: I/BillingService(12572): getPurchaseInformation()
  11. 03-03 19:05:11.110: I/BillingService(12572): Nonce generateD: 5044355212491260364
  12. 03-03 19:05:11.135: I/BillingService(12572): current request is:1078848523662405957
  13. 03-03 19:05:11.135: I/BillingService(12572): GET_PURCHASE_INFORMATION Sync Response code: RESULT_OK
  14. 03-03 19:05:12.020: I/BillingService(12572): Received action: com.android.vending.billing.PURCHASE_STATE_CHANGED
  15. 03-03 19:05:12.020: I/BillingService(12572): purchaseStateChanged got signedData: {"nonce":5044355212491260364,"orders":[{"notificationId":"android.test.purchased","orderId":"transactionId.android.test.purchased","packageName":"com.kenjidemo.kenjidemo4","productId":"android.test.purchased","purchaseTime":1393844265334,"purchaseState":0}]}
  16. 03-03 19:05:12.020: I/BillingService(12572): purchaseStateChanged got signature:
  17. 03-03 19:05:12.020: I/BillingService(12572): signedData: {"nonce":5044355212491260364,"orders":[{"notificationId":"android.test.purchased","orderId":"transactionId.android.test.purchased","packageName":"com.kenjidemo.kenjidemo4","productId":"android.test.purchased","purchaseTime":1393844265334,"purchaseState":0}]}
  18. 03-03 19:05:12.025: D/AndroidRuntime(12572): Shutting down VM
  19. 03-03 19:05:12.025: W/dalvikvm(12572): threadid=1: thread exiting with uncaught exception (group=0x41cc02a0)
  20. 03-03 19:05:12.035: E/AndroidRuntime(12572): FATAL EXCEPTION: main
  21. 03-03 19:05:12.035: E/AndroidRuntime(12572): java.lang.RuntimeException: Unable to start receiver com.example.mfacesdk3.BillingReceiver: java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0
  22. 03-03 19:05:12.035: E/AndroidRuntime(12572):         at android.app.ActivityThread.handleReceiver(ActivityThread.java:2277)
  23. 03-03 19:05:12.035: E/AndroidRuntime(12572):         at android.app.ActivityThread.access$1500(ActivityThread.java:140)
  24. 03-03 19:05:12.035: E/AndroidRuntime(12572):         at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303)
  25. 03-03 19:05:12.035: E/AndroidRuntime(12572):         at android.os.Handler.dispatchMessage(Handler.java:99)
  26. 03-03 19:05:12.035: E/AndroidRuntime(12572):         at android.os.Looper.loop(Looper.java:137)
  27. 03-03 19:05:12.035: E/AndroidRuntime(12572):         at android.app.ActivityThread.main(ActivityThread.java:4898)
  28. 03-03 19:05:12.035: E/AndroidRuntime(12572):         at java.lang.reflect.Method.invokeNative(Native Method)
  29. 03-03 19:05:12.035: E/AndroidRuntime(12572):         at java.lang.reflect.Method.invoke(Method.java:511)
  30. 03-03 19:05:12.035: E/AndroidRuntime(12572):         at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1006)
  31. 03-03 19:05:12.035: E/AndroidRuntime(12572):         at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:773)
  32. 03-03 19:05:12.035: E/AndroidRuntime(12572):         at dalvik.system.NativeStart.main(Native Method)
  33. 03-03 19:05:12.035: E/AndroidRuntime(12572): Caused by: java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0
  34. 03-03 19:05:12.035: E/AndroidRuntime(12572):         at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:251)
  35. 03-03 19:05:12.035: E/AndroidRuntime(12572):         at java.util.ArrayList.get(ArrayList.java:304)
  36. 03-03 19:05:12.035: E/AndroidRuntime(12572):         at com.example.mfacesdk3.BillingHelper.verifyPurchase(BillingHelper.java:300)
  37. 03-03 19:05:12.035: E/AndroidRuntime(12572):         at com.example.mfacesdk3.BillingReceiver.purchaseStateChanged(BillingReceiver.java:46)
  38. 03-03 19:05:12.035: E/AndroidRuntime(12572):         at com.example.mfacesdk3.BillingReceiver.onReceive(BillingReceiver.java:28)
  39. 03-03 19:05:12.035: E/AndroidRuntime(12572):         at android.app.ActivityThread.handleReceiver(ActivityThread.java:2270)
  40. 03-03 19:05:12.035: E/AndroidRuntime(12572):         ... 10 more
  41. 03-03 19:05:12.060: D/dalvikvm(12572): GC_CONCURRENT freed 180K, 8% free 12352K/13319K, paused 4ms+3ms, total 23ms
复制代码




收藏收藏0
您需要登录后才可以回帖 登录 | 注册

JBTALKS.CC |联系我们 |隐私政策 |Share

GMT+8, 2025-1-28 09:51 AM , Processed in 0.116634 second(s), 27 queries .

Powered by Discuz! X2.5

© 2001-2012 Comsenz Inc.

Ultra High-performance Dedicated Server powered by iCore Technology Sdn. Bhd.
Domain Registration | Web Hosting | Email Hosting | Forum Hosting | ECShop Hosting | Dedicated Server | Colocation Services
本论坛言论纯属发表者个人意见,与本论坛立场无关
Copyright © 2003-2012 JBTALKS.CC All Rights Reserved
合作联盟网站:
JBTALKS 马来西亚中文论坛 | JBTALKS我的空间 | ICORE TECHNOLOGY SDN. BHD.
回顶部