NativeScript / NativeScript/nativescript-cli

tns debug android --log trace not starting app

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

還沒有人認領這個 Issue。

needs more info
主要語言
JavaScript
星號
1.1k
分支
204
平均合併
1 天 9 小時
30 天內合併 PR
8

描述

tns --version
8.1.3
√ Up to date.

tns debug android --log trace
tns doctor --log trace

locks in same step
Collecting system information...

package.json
'''
{
"name": "nativescript-sdk-examples-ng",
"description": "NativeScript & Angular SDK Examples",
"author": "Telerik support@telerik.com",
"version": "0.1.0",
"homepage": "https://github.com/NativeScript/nativescript-sdk-examples-ng",
"repository": {
"type": "git",
"url": "https://github.com/NativeScript/nativescript-sdk-examples-ng"
},
"bugs": {
"url": "https://github.com/NativeScript/nativescript-sdk-examples-ng/issues"
},
"keywords": [
"NativeScript",
"Angular",
"SDK",
"example",
"documentation"
],
"license": "Apache-2.0",
"dependencies": {
"@angular/animations": "11.2.1",
"@angular/common": "11.2.1",
"@angular/compiler": "11.2.1",
"@angular/core": "11.2.1",
"@angular/forms": "11.2.1",
"@angular/platform-browser": "11.2.1",
"@angular/platform-browser-dynamic": "11.2.1",
"@angular/router": "11.2.1",
"@nativescript/angular": "11.0.1",
"@nativescript/camera": "5.0.8",
"@nativescript/core": "7.2.1",
"@nativescript/geolocation": "7.0.0",
"@nativescript/theme": "3.0.1",
"nativescript-intl": "4.0.2",
"reflect-metadata": "0.1.13",
"rxjs": "6.6.3",
"zone.js": "0.11.4"
},
"devDependencies": {
"@angular/compiler-cli": "11.2.1",
"@nativescript/android": "^7.0.1",
"@nativescript/ios": "7.2.0",
"@nativescript/types": "7.2.0",
"@nativescript/webpack": "4.1.0",
"@ngtools/webpack": "11.2.1",
"codelyzer": "6.0.1",
"fs-extra": "9.1.0",
"glob": "7.1.6",
"lazy": "1.0.11",
"markdown-snippet-injector": "0.2.4",
"opener": "1.5.2",
"rimraf": "3.0.2",
"tar.gz": "1.0.7",
"tslint": "6.1.3",
"typescript": "4.1.5"
},
"scripts": {
"pretsc": "npm install",
"tsc": "tsc",
"pretslint": "npm run tsc",
"tslint": "tslint -p tsconfig.json",
"prebuild": "npm run tslint",
"build": "node scripts/build.js",
"postbuild": "npm run inject && npm run archive",
"inject": "mdinject --root=app --docsroot=dist/code-samples --sourceext=".ts|.css|.html" --snippettitles="TypeScript|CSS|HTML"",
"archive": "node scripts/archive.js",
"update-webpack": "./node_modules/.bin/update-ns-webpack --deps --configs",
"update-angular": "./node_modules/.bin/update-app-ng-deps",
"update-app-ng-deps": "update-app-ng-deps",
"ns-verify-bundle": "ns-verify-bundle",
"update-ns-webpack": "update-ns-webpack"
},
"main": "main.js"
}

'''

image

貢獻指南

開啟貢獻指南

從這裡開始

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

研究方向

先使用提供的 NativeScript SDK examples package 重現 tns debug android --log trace,並將其與 tns doctor --log trace 進行比較;據報告,後者會在收集系統資訊時鎖住。Issue 未指定原始檔或測試;完成標準是識別並修復原因,使 Android 應用程式能在 debug 下啟動,且該命令不再卡住。

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

評估

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

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

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