dropbox / dropbox/dropbox-sdk-java

Execution failed for task ':core:generateStone'.

Aperta
#526 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Java
Stelle
627
Fork
463
Merge medio
5m
PR unite (30g)
10

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.