Skip to content

Commit 2b01908

Browse files
committed
docs(README.md): update how to setup env var for Android Studio
Signed-off-by: Bofu Chen (bafu) <bofu@numbersprotocol.io>
1 parent dc41c4c commit 2b01908

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,10 @@ cordova-res android --skip-config --copy
7777

7878
#### Android
7979

80-
If your operating system is Linux, set the `linuxAndroidStudioPath` in `capacitor.config.json`. For example,
80+
If your operating system is Linux, set the environment variable `CAPACITOR_ANDROID_STUDIO_PATH` for your Android Studio. The default value is `/usr/local/android-studio/bin/studio.sh`.
8181

82-
```json
83-
{
84-
"linuxAndroidStudioPath": "/home/username/android-studio/bin/studio.sh"
85-
}
82+
```sh
83+
export CAPACITOR_ANDROID_STUDIO_PATH="/home/username/android-studio/bin/studio.sh"
8684
```
8785

8886
Before running the app with Android Studio, build and sync the dependencies and web assets.

0 commit comments

Comments
 (0)