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

android_sdk depends on non existing files when using build tools version 33 #19712

Open
mauriciogg opened this issue Oct 3, 2023 · 0 comments
Labels

Comments

@mauriciogg
Copy link
Contributor

Description of the bug:

The android_sdk repo rule depends on build-tools/$version/mainDexClasses.rules source file but this was deleted for build-tools version 33.0.0 (

main_dex_classes = "build-tools/%s/mainDexClasses.rules" % build_tools_directory,
) . This breaks builds when trying to update to build-tools 33.

Which category does this issue belong to?

Android

What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.

Create an android project and declare the android_sdk_repository in the WORKSPACE file with the following parameters.

android_sdk_repository(
    name = "androidsdk",
    api_level = 34,  # The API version for Android compileSdk
    build_tools_version = "33.0.0",
)

Building any android_* target will break the build.

Which operating system are you running Bazel on?

Mac OS 13.5.2 (22G91)

What is the output of bazel info release?

No response

If bazel info release returns development version or (@non-git), tell us how you built Bazel.

Building git from source commit 252d363

What's the output of git remote get-url origin; git rev-parse master; git rev-parse HEAD ?

No response

Is this a regression? If yes, please try to identify the Bazel commit where the bug was introduced.

No response

Have you found anything relevant by searching the web?

No response

Any other information, logs, or outputs that you want to share?

No response

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

4 participants