Skip to content

Commit 88cddac

Browse files
author
Katie Horne
authored
Fix formatting of Android dev doc (#343)
1 parent 7b61704 commit 88cddac

File tree

1 file changed

+29
-27
lines changed

1 file changed

+29
-27
lines changed

guides/mobile-development/index.md

Lines changed: 29 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -16,54 +16,56 @@ developed remotely on Coder.
1616
local machine.
1717

1818
1. Start Android Studio, and when prompted, install the SDK.
19-
![Android SDK
20-
Install](../../assets/android-sdk-missing.png)
19+
20+
![Android SDK Install](../../assets/android-sdk-missing.png)
2121

2222
1. [Create and start](https://developer.android.com/studio/run/managing-avds) a
23-
Virtual Device. ![Android Device](../assets/android-avd.png)
23+
Virtual Device.
24+
25+
![Android Device](../../assets/android-avd.png)
2426

2527
1. Create a workspace variable called `ANDROID_SDK_PATH` and set it to the
2628
installation path of your Android SDK (for example, it's typically
2729
`~/Library/Android/sdk` on macOS and
2830
`C:\Users\<USER_NAME>\AppData\Local\Android\sdk` on Windows).
29-
![Android SDK
30-
Path](../../assets/android-sdk-path.png)
31+
32+
![Android SDK Path](../../assets/android-sdk-path.png)
3133

3234
1. Start the Android Debug Server on port 5555:
3335

34-
```console
35-
$ $ANDROID_SDK_PATH/platform-tools/adb tcpip 5555
36-
restarting in TCP mode port: 5555
37-
```
36+
```console
37+
$ $ANDROID_SDK_PATH/platform-tools/adb tcpip 5555
38+
restarting in TCP mode port: 5555
39+
```
3840

3941
1. Create a Coder workspace that includes the Android SDK; you can do this by
4042
including the following in your Dockerfile:
4143

42-
```Dockerfile
43-
FROM codercom/enterprise-android
44-
```
44+
```Dockerfile
45+
FROM codercom/enterprise-android
46+
```
4547

46-
Alternatively, you can import or extend
47-
[Coder's image](https://github.com/cdr/enterprise-images/blob/master/images/android/Dockerfile.ubuntu))
48+
Alternatively, you can import or extend
49+
[Coder's image](https://github.com/cdr/enterprise-images/blob/master/images/android/Dockerfile.ubuntu)
4850

4951
1. Forward your Android Debug Server to the remote workspace:
5052

51-
```console
52-
# You must have the Coder CLI installed.
53-
$ coder config-ssh
54-
$ ssh -R 5555:127.0.0.1:5555 coder.<NAME_OF_YOUR_WORKSPACE>
55-
```
53+
```console
54+
# You must have the Coder CLI installed.
55+
$ coder config-ssh
56+
$ ssh -R 5555:127.0.0.1:5555 coder.<NAME_OF_YOUR_WORKSPACE>
57+
```
5658

5759
1. Run `adb devices` to view the emulators forwarded from your local machine:
5860

59-
```console
60-
$ adb devices
61-
List of devices attached
62-
emulator-5556
63-
```
61+
```console
62+
$ adb devices
63+
List of devices attached
64+
emulator-5556
65+
```
6466

6567
1. Build and run your Android applications remotely:
6668

67-
```console
68-
./gradlew android:installDebug
69-
```
69+
```console
70+
./gradlew android:installDebug
71+
```

0 commit comments

Comments
 (0)