简体   繁体   English

Google InApp Billing - 在 Android 模拟器设备上测试应用内订阅购买

[英]Google InApp Billing- Testing In-app subscription purchases on an android emulator devices

I am new to the implementation of Google's Billing library and using this system to make subscriptions inside my app.我是 Google 结算库实施的新手,并使用此系统在我的应用程序内进行订阅。 I would like to know whether it is possible to do in-app billing/purchase and test my application on an Android Emulator devices?我想知道是否可以在 Android Emulator 设备上进行应用内计费/购买并测试我的应用程序? I want to do some functional testing of my application on multiple emulators.我想在多个模拟器上对我的应用程序进行一些功能测试。 Later on I would like to test the 'in-app billing' on a real device.稍后我想在真实设备上测试“应用内计费”。

Can you please suggest on how to test In-App Purchase on emulator devices?您能否建议如何在模拟器设备上测试应用内购买?

You Should have Emulator with Google Play services Enabled and there you can Login in Google Account / Google Play Store as publisher's account.您应该启用带有 Google Play 服务的模拟器,然后您可以在 Google 帐户/Google Play 商店中以发布者帐户的身份登录。

You can try that.你可以试试。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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