mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-20 20:59:18 +07:00
Add info about adding project (#12864)
This commit is contained in:
@ -4,7 +4,11 @@ This is a work in progress - feel free to contribute. Much of this information i
|
|||||||
|
|
||||||
## Run configuration
|
## Run configuration
|
||||||
|
|
||||||
- In Android Studio, Run > Edit configurations (be sure the Gradle sync is finished successfully first).
|
- First, enable the android project in Gradle
|
||||||
|
- In .\settings.gradle.kts, replace `if (System.getenv("ANDROID_HOME") != null)` with `if (true)`.
|
||||||
|
- In .\build.gradle.kts, change `if (System.getenv("ANDROID_HOME") != null)` to `if (true)`.
|
||||||
|
- Run "Sync Project with Gradle Files" to populate the available projects and add the android project.
|
||||||
|
- In Android Studio, Run > Edit configurations (be sure the Gradle sync is finished successfully first).
|
||||||
- Click "+" to add a new configuration
|
- Click "+" to add a new configuration
|
||||||
- Choose "Android App"
|
- Choose "Android App"
|
||||||
- Give the configuration a name, we recommend "Android"
|
- Give the configuration a name, we recommend "Android"
|
||||||
|
Reference in New Issue
Block a user