diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2020-05-12 00:34:16 -0400 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2020-05-12 00:34:16 -0400 |
| commit | a1566ccf4015a05b5e720f110c530775ef45efde (patch) | |
| tree | afd38ef3272056d51a47d8810ee1b707cf19f21f | |
| parent | dee6255f0765e94eb2506fd394c7e86f3ae3e50e (diff) | |
add Android Studio instructions
| -rw-r--r-- | static/build.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/static/build.html b/static/build.html index ac18136b..938b36d4 100644 --- a/static/build.html +++ b/static/build.html @@ -84,6 +84,7 @@ </ul> </li> <li><a href="#standalone-sdk">Standalone SDK</a></li> + <li><a href="#android-studio">Android Studio</a></li> <li> <a href="#testing">Testing</a> <ul> @@ -812,6 +813,25 @@ export PATH="$HOME/android/sdk/cmdline-tools/latest/bin"</pre> <pre>sdkmanager --update</pre> + <h2 id="android-studio"> + <a href="#android-studio">Android Studio</a> + </h2> + + <p>You can install Android Studio alongside the standalone SDK and it will detect it + via the <code>ANDROID_HOME</code> environment variable rather than installing another + copy of it. For example:</p> + + <pre>cd ~/android +curl -O https://dl.google.com/dl/android/studio/ide-zips/3.6.3.0/android-studio-ide-192.6392135-linux.tar.gz +tar xf android-studio-ide-192.6392135-linux.tar.gz +mv android-studio studio</pre> + + <p>Add the Android Studio executables to your <code>PATH</code>:</p> + + <pre>export PATH="$HOME/android/studio/bin:$PATH"</pre> + + <p>You can start it with <code>studio.sh</code>.</p> + <h2 id="testing"> <a href="#testing">Testing</a> </h2> |
