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

Cannot build a project without a local.properties file #672

Closed
mhsmith opened this issue Aug 12, 2022 · 1 comment
Closed

Cannot build a project without a local.properties file #672

mhsmith opened this issue Aug 12, 2022 · 1 comment
Labels
Milestone

Comments

@mhsmith
Copy link
Member

mhsmith commented Aug 12, 2022

Chaquopy version

12.0.1

Describe your issue

The Android Gradle plugin is capable of building a project with no local.properties file, as long as the ANDROID_HOME or ANDROID_SDK_ROOT environment variable is set. So the absence of this file should not be a fatal error:

java.io.FileNotFoundException: C:\Users\smith\cygwin\git\beeware\toga\examples\command\android\gradle\Command Example\local.properties (The system cannot find the file specified)
        at com.chaquo.python.PythonPlugin.createTicketTask(PythonPlugin.groovy:497)
        at com.chaquo.python.PythonPlugin$createTicketTask$9.callCurrent(Unknown Source)
        at com.chaquo.python.PythonPlugin.afterEvaluate(PythonPlugin.groovy:168)
@mhsmith mhsmith added the bug label Aug 12, 2022
@mhsmith mhsmith added this to the 12.1 milestone Aug 12, 2022
@mhsmith
Copy link
Member Author

mhsmith commented Sep 10, 2022

Fixed in e38edf1.

@mhsmith mhsmith closed this as completed Sep 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant