FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

docs: Update SDK root in README by goonerify · Pull Request #1939 · NativeScript/docs-v7 · GitHub

This repository was archived by the owner on Nov 17, 2022. It is now read-only.

Repository navigation

Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .md  (1) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
4 changes: 2 additions & 2 deletions docs/start/ns-setup-linux.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -106,15 +106,15 @@ Complete the following steps to set up NativeScript on your Linux development ma
and add the following:
<pre><code class="language-terminal">export ANDROID_HOME="/usr/local/android/sdk/"
export ANDROID_SDK_ROOT="/usr/local/android/sdk/"
export PATH="${PATH}:${ANDROID_SDK_ROOT}cmdline-tools/tools/:${ANDROID_SDK_ROOT}platform-tools/"</code></pre>
export PATH="${PATH}:${ANDROID_SDK_ROOT}cmdline-tools/cmdline-tools/:${ANDROID_SDK_ROOT}platform-tools/"</code></pre>

5. Update your current session variables by running:
<pre><code class="language-terminal">source ~/.bashrc</code></pre>
or logout from current user and login again so environment variables changes take place.

6. Install all packages for the Android SDK Platform 28, Android SDK Build-Tools 28.0.3 or later, Android Support Repository, Google Repository and any other SDKs that you may need. You can alternatively use the following command, which will install all required packages. In order to install SDK's go to Android Studio -> Settings -> System Settings -> Android SDK -> Mark all the Android versions you would like to support within your project (The API Level column indicates the SDK Platform).

<pre class="add-copy-button"><code class="language-terminal">sudo $ANDROID_SDK_ROOT/cmdline-tools/tools/bin/sdkmanager "tools" "emulator" "platform-tools" "platforms;android-28" "build-tools;28.0.3" "extras;android;m2repository" "extras;google;m2repository"
<pre class="add-copy-button"><code class="language-terminal">sudo $ANDROID_SDK_ROOT/cmdline-tools/cmdline-tools/bin/sdkmanager "tools" "emulator" "platform-tools" "platforms;android-28" "build-tools;28.0.3" "extras;android;m2repository" "extras;google;m2repository"
</code></pre>

7. Setup Android Emulators (AVD) by following the article [here]({%slug android-emulators%})
Expand Down

Back | FazBrowse Home | New Git URL