dropbox / dropbox/dropbox-sdk-java

Execution failed for task ':core:generateStone'.

Đang mở
#526 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Java
Star
627
Fork
463
Merge trung bình
5 phút
Pull request đã merge (30 ngày)
10

Mô tả

- Clone the repo
- Follow the readme file here https://github.com/dropbox/dropbox-sdk-java/tree/main/examples/android
- Run the Android app

```
Execution failed for task ':core:generateStone'.
> A problem occurred starting process 'command 'python''

...

Caused by: java.io.IOException: Cannot run program "python" (in directory "/Users/gs/repos/_external/dropbox-sdk-java/core"): error=2, No such file or directory
```

... which sounds like Python isn't installed or isn't available from PATH.

Granted, I didn't have Python installed, so I went ahead and installed Python 3.12.2. That makes `python3` available from PATH, not `python`. So I went to the `pythonCommand.set("python")` line and changed "python" to "python3".

That didn't help:

```
/usr/local/bin/python3: No module named stone.cli
```

Please update the readme with instructions on how to get the Android example app up and running with the required local machine dependencies.

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

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Bắt đầu với README trong examples/android và lần theo task core:generateStone cùng thiết lập pythonCommand.set("python") của nó. Tái hiện thiết lập được ghi lại trong tài liệu và lỗi với Python 3.12, sau đó ghi lại các dependency cục bộ và lệnh cần thiết để chạy thành công ví dụ Android.

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, java, python
Lĩnh vực
documentation, mobile
Loại issue
Tài liệu
Độ khó
2/5
Thời gian dự kiến
1-3 giờ
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
42/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.