[Android] In-App Billing issue: Signature verification failed

I’ve been several weeks having an error when querying my inventory:

Error -1003: Purchase verification failed

After wondering what was the reason, and exporting tons of useless signed application packages, just discovered on this thread what is the reason: The dummy product android.test.purchased. Once you have used it (bought it, queried it, or used it in any other form), all the calls to queryInventoryAsync() will result in a failure, reaching this path:

mGotInventoryListener = new QueryInventoryFinishedListener() {
     public void onQueryInventoryFinished(IabResult result, Inventory inv) {
          if (result.isFailure()) {
               Log.i(LOG_TAG, "Inventory error:"+result.getMessage());


To fix it, just uninstall and re-install the app that uses in-app billing, and do not use android.test.purchased anymore.

There is also a solution without uninstalling that can be seen on the StackOverflow thread.


As always, hope someone saves time thanks to that!! 🙂




One thought on “[Android] In-App Billing issue: Signature verification failed

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s