can we test the in-app purchase android application via GOOGLE APIs emulator

情到浓时终转凉″ 提交于 2019-12-24 00:43:30

问题


I have one question in my mind that can we test the in-app purchase application in Google Apis emulator with different api level?

Any information regarding this will be welcomed.


回答1:


You cannot test services like in app billing and LVL on emulators as they lack Google Play, which acts as a middleman between your app and then launch Google servers. Additionally, the accounts you can configure on the emulator are limited in functionality.

See this for details on testing.




回答2:


No, you can't. There's a way to test you in-app billing, but it's something you have to install on a real device, not the emulator:

http://developer.android.com/guide/google/play/billing/billing_testing.html

"To test in-app billing in an application you must install the application on an Android-powered device. You cannot use the Android emulator to test in-app billing."




回答3:


I know of this open-source library project called android-test-billing who apparently lets you test IAB in the emulator by recreating the Google Play Billing Service.

I haven't tried it myself, though.




回答4:


YES, we have several options nowadays.

1) https://www.bignox.com/ -> Tested -> Passed :D

2) http://www.bluestacks.com/

3) http://www.memuplay.com/

-> My friends said that it works too, but I haven't tried yet.

Cheers.



来源:https://stackoverflow.com/questions/12283221/can-we-test-the-in-app-purchase-android-application-via-google-apis-emulator

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!