NativeScript / NativeScript/nativescript-cli

Release build key path accepts only absolute paths on Windows (can be relative on MAC)

Đang mở
#3,258 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

bug build os: android os: windows run
Ngôn ngữ chính
JavaScript
Star
1.1k
Fork
204
Merge trung bình
1 ngày 9 giờ
Pull request đã merge (30 ngày)
8

Mô tả

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)

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Tái hiện bản build Android release trên Windows bằng lệnh --key-store-path đã được ghi trong tài liệu, sau đó so sánh với lệnh dùng đường dẫn tương đối được nêu cho macOS. Truy vết cách NativeScript CLI phân giải --key-store-path trong các bản build release; được xem là hoàn tất khi đường dẫn keystore tương đối với project được chấp nhận trên Windows cũng như đường dẫn tuyệt đối.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
android, javascript
Lĩnh vực
cli, mobile
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.