NativeScript / NativeScript/nativescript-cli
snapshot generation is executed twice if you have both emulator and device attached
未关闭
还没有人认领这个 Issue。
bug
- 主要语言
- JavaScript
- 星标
- 1.1k
- 派生
- 204
- 平均合并
- 1 天 9 小时
- 30 天内合并 PR
- 8
描述
Environment
- CLI: 6.2.1
To Reproduce
tns create js_app --jstns run android --release --key-store-path {} --key-store-password {} --key-store-alias {} --key-store-alias-password {} --env.uglify --env.snapshot- In the logs you can see that snapshot generation and build are executed twice. Expected they should be executed only once.
Note: it is reproducible with --release build in general, not only with snapshot
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
在模拟器和设备都已连接的情况下,使用 tns create js_app --js 以及提供的 tns run android --release ... --env.snapshot 命令复现该问题。首先比较每个目标的日志,并跟踪负责安排 release 构建和 snapshot 生成的 CLI 入口点。完成标准是 release 构建和 snapshot 生成各自只运行一次。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript
- 领域
- cli, mobile
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100