简体   繁体   中英

in-app billing doesn't work in some devices

I use the Trivial_drive code in the new android project and upload the apk file to app store and run the project in my device and emulator and it's worked fine. but in some device like sony xperia m dual it doesn't work. the screen shot of error:

http://www.axgig.com/images/60177538539637605313.png

and even on genymotion emulator 2.3 and 4.2 version it's work fine but in 4.4.2 version it doesn't work.

the error:

Error purchasing: Iabresult : null data in IAB Result (response:1002:bad response received)

what wrong with this? please help me

and sorry for my bad english

First thing that I saw was that you tested on emulator the in app purchase:

LINK: Here you will find the following:

"After implementing the above changes, compile and run the application on a physical Android device (Google Play Billing cannot be tested within an emulator session) and make sure that the “In-app Billing is set up OK” message appears in the LogCat output panel. "

And at this LINK

Don't

1)Don't use emulator for testing its does not support Billing Services.

2)Don't use unsigned apk for Billing services.

3)Don't share your key with any one.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM