dropbox / dropbox/dropbox-sdk-java

Execution failed for task ':core:generateStone'.

Ouverte
#526 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Java
Étoiles
627
Forks
463
Merge moyen
5 min
PR mergées (30 j)
10

Description

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

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.