NativeScript / NativeScript/nativescript-cli

tns debug android --log trace not starting app

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

Nobody has claimed this yet.

needs more info
Dominant language
JavaScript
Stars
1.1k
Forks
204
Avg merge
1d 9h
Merged PRs (30d)
8

Description

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

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 by reproducing tns debug android --log trace with the provided NativeScript SDK examples package and compare it with tns doctor --log trace, which reportedly locks during system information collection. The issue names no source file or test; done means identifying and fixing the cause so the Android app starts under debug and the command no longer hangs.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.