android_sdk depends on non existing files when using build tools version 33
Los mantenedores suelen responder en 6 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- android
- Área
- build-system, mobile-dev
Línea de trabajo
Empieza por la regla de repositorio android_sdk y la configuración de android_sdk_repository, centrándote en su dependencia de build-tools/$version/mainDexClasses.rules. Reproduce el fallo con api_level 34 y build_tools_version 33.0.0 y, después, verifica que compilar un destino android_* ya no depende del archivo eliminado.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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 (https://github.com/bazelbuild/bazel/blob/b85f2d198c99cc66013f9afb688d8fa368f9a3a6/tools/android/android_sdk_repository_template.bzl#L185) . 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 https://github.com/bazelbuild/bazel/commit/252d36384b8b630d77d21fac0d2c5608632aa393
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
- Lenguaje dominante
- Java
- Estrellas
- 205
- Forks
- 113
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de bazelbuild/rules_android
-
build_java8_legacy_dex.sh does not set JAVA_RUNFILES for the d8/r8 launchersPosiblemente ocupada @TrapsterDK la tomó hace 17 días. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
bazelbuild/rules_android#599 ·
Los mantenedores suelen responder en 6 días
-
`Desugar` actions don't run on multiplex workersPosiblemente ocupada @lukaciko la tomó hace 46 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
bazelbuild/rules_android#539 · 2 comentarios ·
Los mantenedores suelen responder en 6 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
bazelbuild/rules_android#535 · 2 reacciones ·
Los mantenedores suelen responder en 6 días
-
desugar_globals output is not reproducible (zip entry order varies)Posiblemente ocupada @TrapsterDK la tomó hace 6 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 30/100
bazelbuild/rules_android#610 ·
Los mantenedores suelen responder en 6 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 42/100
bazelbuild/rules_android#602 ·
Los mantenedores suelen responder en 6 días
Todos los issues de bazelbuild/rules_android
Issues similares
-
[P2] 生产环境下启动门闩的失败明细不进容器标准输出Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Lincoln-cn/JAiRouter#1473 ·
Los mantenedores suelen responder en 1 día
-
Link not working in the feedback concerning String.format() in exercise 'Tim from Marketing'Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
exercism/java-analyzer#379 ·
-
area: ui bug priority: low
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
tetsuji16/microProject#1893 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
liberation-data/fornax4j#325 ·
Los mantenedores suelen responder en 1 día
-
[Bug]: FE and Kinesis extraction pipes render flow starting at the centre and scroll the source arm backwardsPosiblemente ocupada @chonkzillaofficial la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
BCCE-team/BuildCraft#85 ·