NativeScript / NativeScript/nativescript-cli
Release build key path accepts only absolute paths on Windows (can be relative on MAC)
未关闭
还没有人认领这个 Issue。
bug
build
os: android
os: windows
run
- 主要语言
- JavaScript
- 星标
- 1.1k
- 派生
- 204
- 平均合并
- 1 天 9 小时
- 30 天内合并 PR
- 8
描述
On Windows, building in release for Android is accepting only absolute path for the keygen.
e.g.
Windows
tns run android --bundle --release --for-device --key-store-path D:\my-release-key.jks --key-store-password <pass>--key-store-alias <alias>--key-store-alias-password <alias-pass>
On Windows only absolute paths are accepted - in this case the key is sotre d in D:
MAC
tns run android --bundle --release --for-device --key-store-path ./my-release-key.jks --key-store-password <pass>--key-store-alias <alias>--key-store-alias-password <alias-pass>
On MAC the path cna be relative to the root project e.g in this case the key is store in <project-folder>/my-release-key.jks
Using next versions of CLI, modules, nativescript-angular and dev-WebPack plugins.(demo app here)
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
使用文档中记载的 --key-store-path 命令重新生成 Windows release Android build,然后将其与 macOS 所示的相对路径命令进行比较。跟踪 NativeScript CLI 在 release build 期间如何解析 --key-store-path;当项目相对的 keystore 路径在 Windows 上与绝对路径一样被接受时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- android, javascript
- 领域
- cli, mobile
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100