@nativescript/android
Advanced tools
Comparing version 8.5.0 to 8.5.1-next.2023-06-27-5394727387
{ | ||
"name": "@nativescript/android", | ||
"description": "NativeScript for Android using v8", | ||
"version": "8.5.0", | ||
"version": "8.5.1-next.2023-06-27-5394727387", | ||
"repository": { | ||
@@ -27,3 +27,12 @@ "type": "git", | ||
"android": "7.3." | ||
}, | ||
"scripts": { | ||
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s", | ||
"version": "npm run changelog && git add CHANGELOG.md" | ||
}, | ||
"devDependencies": { | ||
"conventional-changelog-cli": "^2.1.1", | ||
"dayjs": "^1.11.7", | ||
"semver": "^7.5.0" | ||
} | ||
} |
@@ -63,2 +63,14 @@ # Android Runtime for NativeScript | ||
* Install dependencies from NPM: | ||
```Shell | ||
cd test-app/build-tools/jsparser | ||
npm install | ||
``` | ||
* Set environment variables: | ||
- `JAVA_HOME` such that `$JAVA_HOME/bin/java` points to your Java executable | ||
- `ANDROID_HOME` pointing to where you have installed the Android SDK | ||
- `ANDROID_NDK_HOME` pointing to the version of the Android NDK needed for this version of NativeScript | ||
* Run command | ||
@@ -91,4 +103,23 @@ | ||
```Shell | ||
gradlew runtest | ||
gradlew runtests | ||
``` | ||
## How to Connect the Inspector | ||
* Install dependencies: run command | ||
```Shell | ||
cd test-app | ||
npm install | ||
``` | ||
* Run the test app in Android Studio, or manually in the emulator. | ||
* Run command | ||
```Shell | ||
npx ns debug android --start | ||
``` | ||
(If you instead have the `nativescript` NPM module installed globally, | ||
you can omit the `npm install` and the `npx` prefix.) | ||
* This will print out a URL, such as | ||
`devtools://devtools/bundled/inspector.html?ws=localhost:40000`. | ||
Open this URL in Chrome or Chromium. | ||
## Contribute | ||
@@ -95,0 +126,0 @@ 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). |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
111806509
133
3
2161
2