Step 1: Install Android Studio and required SDKs
Before building your Median Android app, install Android Studio and configure your local development environment. Download the latest version of Android Studio. Follow the steps in the Android Studio installation guide. Make sure to follow the Setup Wizard and install all recommended SDK packages.TipDuring setup, be sure to install the Android SDK Platform and all required components.
Step 2: Download the Android source code
Download the Android source code from your app’s private management page by opening the “Build & Deploy” tab and clicking the “Download” button in the Android SOURCE CODE category.
Download the Android source in App Studio
Step 3: Extract the source archive
Extract the downloadedandroid_source.tar.gz file and open your app using one of the following methods.
- Double-click the
android_source.tar.gzfile in Windows Explorer or the macOS Finder. - Open a command prompt or terminal session and run the command
tar -xzvf android_source.tar.gz

Figure 2: Source archive content
Step 4: Open the project in Android Studio
Open Android Studio and click the “Open” button as seen in Figure 3 to open your app.
Figure 3: Open a new Android project

Figure 4: Open the Android source directory

Figure 5: Trust and open project
Step 5: Run or debug your app
Wait for Android Studio to initialize the project, and once finished you will seeBUILD SUCCESSFUL in the Build Output panel as seen in Figure 6:

Figure 6: Android Studio debug and console
Step 6: Generate a signed APK or app bundle
To create a signed bundle or apk for publishing to Google Play, you need a keystore file, generally namedrelease.keystore, that you will use to sign your bundle or apk.
If you would like to use the same keystore that we use for build through our website, please first purchase a license and then contact us.
Once you have your keystore, in Android Studio, select Build → Generate Signed Bundle / APK.

Figure 7: Build menu

Figure 8: Signed bundle or APK dialog
password Key alias: release Key password: password

Figure 9: Keystore configuration
normalRelease and click “Create”.

Figure 10: Release configuration
locate button, as seen in Figure 11. The locate link opens the directory containing your generated file, as shown in Figure 12.
Alternatively, navigate to the /normal/release directory to see your generated file.

Figure 11: APK generation progress

Figure 12: Generated APK file