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

Download android sdk for gradle plugin tests #3702

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Walingar
Copy link
Collaborator

No description provided.

# Commit hashes and sdk versions from https://android.googlesource.com/platform/manifest/+/refs/heads/androidx-main/default.xml

downloadLinuxSDK() {
clone linux/platforms/android-32 https://android.googlesource.com/platform/prebuilts/fullsdk/platforms/android-32 master
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just took version from core repository, but I get this kind of errors:

Could not determine the dependencies of task ':compileAndroidMain'.
> Failed to install the following Android SDK packages as some licences have not been accepted.
     build-tools;34.0.0 Android SDK Build-Tools 34
  To build this project, accept the SDK license agreements and install the missing components using the Android Studio SDK Manager.
  All licenses can be accepted using the sdkmanager command line tool:
  sdkmanager.bat --licenses

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like we need to change SDK to 34, but I don't see repositories with that.
Or we need to change SDK to 32 in test projects. But it didn't help me
@igordmn do you have any thoughts?

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

Successfully merging this pull request may close these issues.

None yet

1 participant