In application billing: reset static response to not acquired

I am testing application billing in my application with static answers https://developer.android.com/google/play/billing/billing_testing.html I use android.test.purchased to verify my purchase the first time I was able to make it buy, but now it is debited as purchased, and I can no longer test it.

Is there a reset method that has acquired state?

+4
source share
2 answers

If you use API version 3, it treats all products as managed products. Managed means that it is acquired once. Thus, this means that you must first use this product and tell Google that the purchased product is being consumed. Then it will be available for purchase again. Please visit http://developer.android.com/google/play/billing/api.html#consume

+3
source

Have you tried reinstalling the application inside the emulator or on your device?

I think this will be the correct result.

for quick uninstall use adb command

cd ../android-sdk/platform-tools adb uninstall your.package.name 
+1
source

All Articles