NativeScript / NativeScript/nativescript-cli
platform not properly prepared after previous command crash
还没有人认领这个 Issue。
- 主要语言
- JavaScript
- 星标
- 1.1k
- 派生
- 204
- 平均合并
- 1 天 9 小时
- 30 天内合并 PR
- 8
描述
- CLI: 6.0.2
After running preview command, and the command crashes you cannot run the project. Platform folder is not populated with all needed files and prepare is not executed correctly again on run. Build fails with: Unable to apply changes on device: ZX1G424P6K. Error is: spawn gradlew.bat ENOENT.
To Reproduce
tns create jsApp --jstns preview- Scan the QR code on ios, then scan on android. The command crashes.
tns run androidbuild fails. Platform android is not correctly prepared
log.txt
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
Start by reproducing the crash with the listed tns create, tns preview, and tns run android commands, then inspect log.txt and the preview crash cleanup and platform preparation flow. Done means a crash during preview does not leave the Android platform incomplete, and a subsequent tns run android prepares and builds successfully.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- android, ios, javascript
- 领域
- cli, mobile-dev
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100