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 摘要。