NativeScript / NativeScript/nativescript-cli

Getting error in android native

Open
#5,742 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug-pending-triage
Dominant language
JavaScript
Stars
1.1k
Forks
204
Avg merge
1d 9h
Merged PRs (30d)
8

Description

Issue Description

When I try to run ns run or tns run android I am getting error every time sometimes it run but when it stop and try to run again I face error again it is so greatful if anyone can help me with this problem as soon as possible. Here i attach txt file for log
nativescriptlog.txt

Reproduction

No response

Relevant log output (if applicable)

No response

Environment

OS: Windows 10 10.0.19044
CPU: (24) x64 12th Gen Intel(R) Core(TM) i9-12950HX
Shell: Not Found
node: 18.16.0
npm: 8.11.0
nativescript: Not Found

android

java: Not Found
ndk: 22.1.7171670
apis: 26, 30, 31, 32, 33, 33
build_tools: 30.0.3, 32.0.0, 33.0.0, 33.0.2, 34.0.0, 34.0.0, 34.0.0
system_images:

  • android-30 | Intel x86_64 Atom
  • android-30 | Google APIs Intel x86 Atom
  • android-30 | Google APIs Intel x86_64 Atom
  • android-30 | Google Play Intel x86 Atom
  • android-30 | Google Play Intel x86_64 Atom
  • android-31 | Google APIs Intel x86_64 Atom
  • android-31 | Google Play Intel x86_64 Atom
  • android-33 | Google APIs Intel x86_64 Atom

ios

xcode: Not Found
cocoapods: Not Found
python: Not Found
python3: Not Found
ruby: Not Found
platforms: Not Found


### Dependencies

```json
"dependencies": {
  "@angular/animations": "~15.2.0",
  "@angular/common": "~15.2.0",
  "@angular/compiler": "~15.2.0",
  "@angular/core": "~15.2.0",
  "@angular/forms": "~15.2.0",
  "@angular/platform-browser": "~15.2.0",
  "@angular/platform-browser-dynamic": "~15.2.0",
  "@angular/router": "~15.2.0",
  "@nativescript/angular": "^15.2.0",
  "@nativescript/core": "~8.5.0",
  "@nativescript/theme": "~3.0.2",
  "nativescript-auth0": "^4.1.0",
  "nativescript-ui-sidedrawer": "~15.2.0",
  "rxjs": "~7.6.0",
  "zone.js": "~0.13.0"
},
"devDependencies": {
  "@angular-devkit/build-angular": "~15.2.0",
  "@angular/compiler-cli": "~15.2.0",
  "@nativescript/android": "8.5.0",
  "@nativescript/types": "~8.5.0",
  "@nativescript/webpack": "~5.0.14",
  "@ngtools/webpack": "~15.2.0",
  "typescript": "~4.8.4"
}

### Please accept these terms

- [X] I have searched the [existing issues](https://github.com/NativeScript/nativescript-cli/issues) as well as [StackOverflow](https://stackoverflow.com/questions/tagged/nativescript) and this has not been posted before
- [X] This is a bug report
- [X] I agree to follow this project's [Code of Conduct](https://github.com/NativeScript/NativeScript/blob/master/tools/notes/CONTRIBUTING.md#coc)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the attached nativescriptlog.txt and compare it with the reported ns run and tns run android commands. Check the Windows environment details, especially the reported missing Java and NativeScript entries, before attempting reproduction. Done means identifying the cause of the recurring Android run failure and confirming a reliable rerun.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, angular, javascript
Domain
cli, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.