mirror of
https://github.com/dolphin-emu/dolphin
synced 2024-11-04 12:33:45 -05:00
1.6 KiB
1.6 KiB
How to Set Up an Android Development Environment
If you'd like to contribute to the Android project, but do not currently have a development environment setup, follow the instructions in this guide.
Prerequisites
If you downloaded Android Studio, install it with the default options and open the project located in dolphin/Source/Android
Setting Up Android Studio
- Wait for background tasks to complete on the bottom of the window.
- Launch the Android SDK Manager by clicking on its icon in Android Studio's main toolbar:
- Install or update the SDK Platform. Choose the API level as defined in the app module's build.gradle file.
- Install a CMake version as defined in the app module's build.gradle file. The option won't appear until you select
Show Package Details
. - Select
Build Variants
on the left side of the window to choose the build variant and ABI you would like to compile for the:app
module. - Select the green hammer icon in the main toolbar to build and create the apk in
Source/Android/app/build/outputs/apk
Compiling from the Command-Line
For command-line users, any task may be executed with cd Source/Android
followed by gradlew <task-name>
. In particular, gradlew assemble
builds debug and release versions of the application (which are placed in Source/Android/app/build/outputs/apk
).