You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+22-5Lines changed: 22 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,7 @@ Contains the source code for the NativeScript's Android Runtime. [NativeScript](
12
12
-[Build Prerequisites](#build-prerequisites)
13
13
-[How to build](#how-to-build)
14
14
-[How to run tests](#how-to-run-tests)
15
+
-[Misc](#misc)
15
16
-[Get Help](#get-help)
16
17
17
18
<!-- /TOC -->
@@ -39,11 +40,21 @@ For more details on how it works, read the [documentation](https://docs.nativesc
39
40
## Build Prerequisites
40
41
Following are the minimal prerequisites to build the runtime package.
41
42
42
-
* Install the latest [Android Studio ](https://developer.android.com/studio/index.html).
43
-
* Install Android API Level 22, 23, 24, 25 from Android Studio -> Tools -> Android -> SDK Manager
44
-
* Android NDK 15c - [NDK Archives](https://developer.android.com/ndk/downloads/older_releases.html) or [NDK Downloads](https://developer.android.com/ndk/downloads/index.html) if you can't find it in the archives.
45
-
* Download Android Support Repository through the Android SDK Manager
46
-
* Download Build Tools 25.0.2 through the Android SDK Manager.
43
+
* Install the latest [Android Studio](https://developer.android.com/studio/index.html).
44
+
* From the SDK Manager (Android Studio -> Tools -> Android -> SDK Manager) install the following components:
45
+
* Android API Level 23, 24, 25, 26
46
+
* Android NDK
47
+
* Android Support Repository
48
+
* Download Build Tools
49
+
* CMake
50
+
* LLDB
51
+
* Clone this repository as well as the submodules: `git clone --recurse-submodules [email protected]:NativeScript/android-runtime.git`
52
+
53
+
## Working with the Runtime in Android Studio
54
+
55
+
* Open the test-app folder in Android Studio. It represents a valid Android project and you are able to build and run a test application working with the Runtime from the source.
56
+
57
+
Note: You might need to run the Android Studio from the command line in order to preserve the environment variables. This is in case you get errors like "missing npm" if starting the studio the usual way.
47
58
48
59
## How to Build
49
60
@@ -76,6 +87,12 @@ Following are the minimal prerequisites to build the runtime package.
76
87
```Shell
77
88
gradlew runtest
78
89
```
90
+
## Contribute
91
+
We love PRs! Check out the [contributing guidelines](CONTRIBUTING.md). If you want to contribute, but you are not sure where to start - look for [issues labeled `help wanted`](https://github.com/NativeScript/android-runtime/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22).
Please, use [github issues](https://github.com/NativeScript/android-runtime/issues) strictly for [reporting bugs](CONTRIBUTING.md#reporting-bugs) or [requesting features](CONTRIBUTING.md#requesting-new-features). For general questions and support, check out the [NativeScript community forum](https://discourse.nativescript.org/) or ask our experts in [NativeScript community Slack channel](http://developer.telerik.com/wp-login.php?action=slack-invitation).
0 commit comments