NativeScript / NativeScript/nativescript-cli
platform not properly prepared after previous command crash
Chưa có ai nhận issue này.
- 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ả
- 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
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
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.
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, ios, javascript
- Lĩnh vực
- cli, mobile-dev
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 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