I need help with "Google in-app" (SOLVED)


Hold on. If you want to try In app purchases on Android there are a number of things you need to do:

  1. Create your app on Google Play. Fill out the Store Listing, Content Rating, Pricing & Distribution and most importantly In-app Products section.
  2. Upload a version of your app, signed with your release certificate as a Beta or Alpha test.
  3. Invite testers (in the APK section on Google Play)
  4. Each tester must click on the Opt-in URL to join the beta/alpha test (available in the APK section on Google Play, just below the list of invited testers)
  5. Publish your Beta/Alpha (no worries, it will only be visible and accessible by your testers, no one else)

These are the basic steps. Once you have those in place you can start doing local builds and rapidly deploy them to your device for testing. In order to test In-app purchases using local builds you need to make sure of the following:

  1. The locally built APK must be signed with the same release certificate as the APK you uploaded to Google Play
  2. The locally built APK must have the same package name as the APK you uploaded (as long as you don’t change the Package field in game.project this shouldn’t be an issue)
  3. The locally built APK must have the same version code as the APK you uploaded to Google Play
    With all the above in mind it simply won’t work to download dmengine.apk from d.defold.com, install it and try to use In App Purchases on Android. dmengine.apk is not signed with the same cert, it doesn’t have the same package name and not the same version code.


1.It will be released as beta in Google Play and you can download it as a tester account.
2.I created a “key” and a “certificate” exactly as in the manual. And when I built it, it was reflected.
3&4. I joined the tester by logging in to the url given as the tester account.
5. This is the same as No.1.

I tried downloading the app I uploaded from Google Play directly to my tester account and checked the in-app payment, but it still does not work.