I'm trying to screw to the application In-App-Billing. I downloaded the app for the beta test. But there were problems with debagging. When I compile locally on a computer and try to test, I’m getting a message this version of the application is not configured for billing . This does not happen if the app is downloaded from the store. But I can’t upload every edit to the store ... Actually, it’s necessary somehow when debugging as to generate and download an apk with a release key to the phone. If there is any more loyal method advise. Thank.

  • one
    Most likely you will have enough of these 7 points: ru.stackoverflow.com/a/528621/17609 Or is your question how to sign the application with a release key when you start it from the studio and at the same time so that it shows something in the logs? - Yuriy SPb
  • The second option. It is insane at the slightest revision to constantly upload to the store. I want to test locally. AS = = USB => Phone - Bogdan Shulga

1 answer 1

In order to test the work of purchases in the market is necessary :

  1. Upload version of the application with connected libs and permissions in beta test
  2. Create items in the console.
  3. Write testers e-mail to console
  4. Send them a link to the beta test for which they must pass and take it

Further, in order to collect new versions from the studio and change / test something, you must configure the signing of the APK file with the release key - this is written as:

Can I run an application from IDE with signature release key

It is also very important that the version of the assembly in the studio coincides with the version of the application in the market.

To see the exhaust in the logs, you need to register in the manifest of the application - android:debuggable="true" tag android:debuggable="true" . And do not forget to change it to false , because in the market can not fill the application with true

  • one
    What does it seem like (IDE with the release key signed) is what is needed. Thank. - Bogdan Shulga