Execution failed for task ':core:generateStone'.

Open
#526 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
42/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Stale
Tech stack
android, java, python

Research direction

Start with the README under examples/android and trace the core:generateStone task and its pythonCommand.set("python") setting. Reproduce the documented setup and the Python 3.12 failure, then document the required local dependencies and commands needed to run the Android example successfully.

Written by the indexing model from the issue text.

Description

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.

Dominant language
Java
Stars
627
Forks
463
Avg merge
5m
Merged PRs (30d)
10

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dropbox/dropbox-sdk-java

All issues in dropbox/dropbox-sdk-java

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.