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

Enable automatic download of missing Android SDK packages in Gradle #35

Open
simonppg opened this issue Sep 23, 2021 · 1 comment
Open
Assignees
Milestone

Comments

@simonppg
Copy link
Owner

Based on this stackoverflow question setting android.builder.sdkDownload=true and android.sdk.channel=2 on gradle.properties file, will auto download the Android SDK. I got a waning about android.sdk.channel=2 being a experimental feature. so I set classpath "com.android.tools.build:gradle-experimental:0.7.0-alpha4" on gradle.build file. This remove the warning but another an error shows that the ANDROID_SDK_ROOT variable was not set. Setting sdk.dir=/path/to/Android/Sdk on local.properties was the solution. But another error show up saying the SDK will not start downloading because the license was not accepted but so far I can't find a way to accept it.

@simonppg simonppg added this to the Unplanned milestone Oct 20, 2021
@simonppg simonppg self-assigned this Mar 2, 2022
@github-actions
Copy link

github-actions bot commented Mar 2, 2022

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

No branches or pull requests

1 participant