Empty aab/apk build guide

The main purpose of the empty package is to confirm the upload signature and allow the operator to set up in-app purchase items. If the operator needs it, please follow the following process to make a empty package.
Here is an example of using Gradle 6.x in Android Studio:

1.Create a new project

File->New->New Project...->Next
Enter the new project settings interface.
Change Package name/applicationId to the specified package name, and change Minimum SDK to ULUSDK or the minimum Android version required by the game.

2.Add necessary configuration

Add permission to AndroidManifest.xml

    <uses-permission android:name="com.android.vending.BILLING" />

Add dependencies to Moudle:build.gradle

dependencies {
    ...
    implementation 'com.android.billingclient:billing:6.2.1'
    ...
}

And make sure targetSdkVersion is 34 or higher

Add repositories to Project:build.gradle

repositories {
    ...
    google()
    ...
}

3.Build

Build->Generate Signed Bundle / APK...
Choose Android App Bundle or APK as operator requirement.
Next->Key Store Path->Choose existing... Please select the signature used for game release. This signature will be used as the upload signature. Please do not select other signatures at will.
Then fill in the password and alias of the signature file, click Next after filling in everything, select release, click Finish and wait for the packaging to complete.

results matching ""

    No results matching ""