Browse Source

Android building and installation instructions (#2172)

pull/2173/head
Oleksandr Kalko 5 years ago committed by GitHub
parent
commit
aae61b0c05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 14
      docs/building.md
  2. 7
      docs/installing.md

14
docs/building.md

@ -178,6 +178,20 @@ The nro-file will be generated in the build folder. Test with an emulator (RyuJi
[Nintendo Switch manual](docs/manual/platforms/switch.md)
</details>
<details><summary>Android</summary>
### Installing dependencies
Install [Android Studio](https://developer.android.com/studio)
After first launch configuration, go to "Configure -> SDK Manager -> SDK Tools".
Select "NDK (Side by side)" and "CMake" checkboxes and click "OK".
### Compiling
Click "Open Existing Project" and choose "android-project" folder in DevilutionX root folder.
Wait until Gradle sync is completed.
In Android Studio, go to "Build -> Make Project" or use the shortcut Ctrl+F9
You can find the compiled APK in `/android-project/app/build/outputs/apk/`
</details>
<details><summary>Nintendo 3DS</summary>
### Installing dependencies

7
docs/installing.md

@ -59,6 +59,13 @@ sudo apt install devilutionx
</details>
<details><summary>Android</summary>
- Copy the APK file to device and tap on it on device's file explorer or install via `adb install` (if USB debugging is enabled on device).
- Create a folder called `devilutionx` in the root of the phone's internal memory or SD card, and place the MPQ-files there.
</details>
<details><summary>New Nintendo 3DS</summary>
### .3dsx installation

Loading…
Cancel
Save