add Android Studio instructions
This commit is contained in:
parent
dee6255f07
commit
a1566ccf40
@ -84,6 +84,7 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#standalone-sdk">Standalone SDK</a></li>
|
<li><a href="#standalone-sdk">Standalone SDK</a></li>
|
||||||
|
<li><a href="#android-studio">Android Studio</a></li>
|
||||||
<li>
|
<li>
|
||||||
<a href="#testing">Testing</a>
|
<a href="#testing">Testing</a>
|
||||||
<ul>
|
<ul>
|
||||||
@ -812,6 +813,25 @@ export PATH="$HOME/android/sdk/cmdline-tools/latest/bin"</pre>
|
|||||||
|
|
||||||
<pre>sdkmanager --update</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">
|
<h2 id="testing">
|
||||||
<a href="#testing">Testing</a>
|
<a href="#testing">Testing</a>
|
||||||
</h2>
|
</h2>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user