[go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Execution failed for task ':core:generateStone'. #526

Open
gosr opened this issue Mar 3, 2024 · 1 comment
Open

Execution failed for task ':core:generateStone'. #526

gosr opened this issue Mar 3, 2024 · 1 comment

Comments

@gosr
Copy link
gosr commented Mar 3, 2024
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.

@greg-db
Copy link
Contributor
greg-db commented Mar 4, 2024

Thanks for the report! I'll ask the team to fix this up.

To work around this, I suggest using the published version so you don't need to build it locally. To do so, replace implementation(project(":android")) in examples/android/build.gradle with:

    implementation 'com.dropbox.core:dropbox-core-sdk:6.0.0'
    implementation 'com.dropbox.core:dropbox-android-sdk:6.0.0'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants