How to test In-app Billing on an emulator?

Dimitri Dewaele picture Dimitri Dewaele · Sep 29, 2014 · Viewed 7.4k times · Source

Is it possible to disable in-app billing/purchase and test my application on an Android Emulator? I want to do some functional testing of my application on multiple emulators. Later on I would test the 'in-app billing' on a real device.

Anyone have experience? How should I do this?

From Google: http://developer.android.com/guide/market/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. The device you use for testing must run a standard version of the Android 1.6 or later platform (API level 4 or higher), and have the most current version of the Android Market application installed.

Answer