dropbox / dropbox/dropbox-sdk-java

Execution failed for task ':core:generateStone'.

未关闭
#526 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Java
星标
627
派生
463
平均合并
5 分钟
30 天内合并 PR
10

描述

- 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.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。