Navigate to Google Play Console and sign into your developer account.
Select the app desired.
On the left navigation panel, select
Store presence, then select
In-app products, select
ADD NEW PRODUCTto launch the product creation modal.
MANAGED PRODUCTand fill in the
Product IDfield. Then select
CONTINUEto proceed to Managed product details.
Fill in the
Descriptionfields. Select the pricing template under
SUBMIT UPDATEat the top of the page.
Inactivedrop-down (found below
SUBMIT UPDATE), and set the product status to
Under Developer Tools > Services & APIs find the section "Licensing & in-app billing". Locate the Base64-encoded RSA public key. Copy the key. (See screenshot below - the key is in the censored area)
Open your Android project in Android Studio. In the project's
strings.xmladd a string element:
<resources> <string name="SKILLZ_GOOGLE_PLAY_LICENSE_KEY">YourKey</string> </resources>
Where "YourKey" is the key copied from the dashboard. Note: Make sure there are no spaces.