NativeScript / NativeScript/nativescript-cli

Getting error in android native

未關閉
#5,742 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

bug-pending-triage
主要語言
JavaScript
星號
1.1k
分支
204
平均合併
1 天 9 小時
30 天內合併 PR
8

描述

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)

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

從附加的 nativescriptlog.txt 開始,並將其與回報的 ns runtns run android 指令進行比較。在嘗試重現之前,檢查 Windows 環境的詳細資訊,尤其是回報中缺少的 Java 和 NativeScript 項目。完成的標準是找出 Android 執行反覆失敗的原因,並確認可以可靠地重新執行。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
android, angular, javascript
領域
cli, mobile
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
需要釐清
新手友好度
20/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。