mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Updated docs for next
This commit is contained in:
@@ -73,7 +73,8 @@ choco install python2</div><blockquote><p>You can find additional installation o
|
||||
|
||||
</span><h3><a class="anchor" name="android-development-environment"></a>Android Development Environment <a class="hash-link" href="docs/getting-started.html#android-development-environment">#</a></h3><p>Setting up your development environment can be somewhat tedious if you're new to Android development. If you're already familiar with Android development, there are a few things you may need to configure. In either case, please make sure to carefully follow the next few steps.</p><h4><a class="anchor" name="1-download-and-install-android-studio"></a>1. Download and install Android Studio <a class="hash-link" href="docs/getting-started.html#1-download-and-install-android-studio">#</a></h4><p><a href="https://developer.android.com/studio/install.html" target="_blank">Android Studio</a> provides the Android SDK and AVD (emulator) required to run and test your React Native apps.</p><span><block class="mac android" />
|
||||
|
||||
</span><blockquote><p>Android Studio requires the <a href="https://www.java.com/en/download/mac_download.jsp" target="_blank">Java Development Kit (JDK)</a>, version 1.8 or higher. You can type <code>javac -version</code> in a terminal to see what version you have, if any.</p></blockquote><span><block class="mac windows android" />
|
||||
</span><blockquote><p>Android Studio requires the <a href="http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html" target="_blank">Java SE Development Kit(JDK)</a>, version 8. You can type <code>javac -version</code> in a terminal to see what version you have, if any.</p></blockquote><div class="prism language-javascript">$ javac <span class="token operator">-</span>version
|
||||
javac <span class="token number">1.8</span><span class="token punctuation">.</span>0_111</div><blockquote><p>The version string <code>1.8.x_xxx</code> corresponds to JDK 8.</p></blockquote><span><block class="mac windows android" />
|
||||
|
||||
</span><h4><a class="anchor" name="2-install-the-avd-and-haxm"></a>2. Install the AVD and HAXM <a class="hash-link" href="docs/getting-started.html#2-install-the-avd-and-haxm">#</a></h4><p>Choose <code>Custom</code> installation when running Android Studio for the first time. Make sure the boxes next to all of the following are checked:</p><ul><li><code>Android SDK</code></li><li><code>Android SDK Platform</code></li><li><code>Performance (Intel ® HAXM)</code></li><li><code>Android Virtual Device</code></li></ul><p>Then, click "Next" to install all of these components.</p><blockquote><p>If you've already installed Android Studio before, you can still <a href="https://software.intel.com/en-us/android/articles/installation-instructions-for-intel-hardware-accelerated-execution-manager-windows" target="_blank">install HAXM</a> without performing a custom installation.</p></blockquote><span><block class="linux android" />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user