ASWB can't import an project if it uses 'rules_android' rules. #7296
Labels
awaiting-maintainer
Awaiting review from Bazel team on issues
product: Android Studio
Android Studio plugin
type: bug
Description of the bug:
The ASWB doesn't correctly handle starlarkified Android rules, defined in https://github.com/bazelbuild/rules_android.
Please take a look at the small reproducer app: https://github.com/KirillTim/rules_android_basicapp and follow the readme on how to get the root cause error.
In short, intellij_info_impl.bzl aspect refers to the
android_common.AndroidIdeInfo
symbol, that is not defined by therules_android
with the following stacktrace:Which category does this issue belong to?
Android Studio
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
The simplest way to reproduce the bug is to checkout this project: https://github.com/KirillTim/rules_android_basicapp, that essentially contains of single
MODULE.bazel
andBUILD
file and follow the steps described in repository readme.Which Intellij IDE are you using? Please provide the specific version.
Android Studio 2024.2.2, Build #AI-242.23726.103.2422.12816248
What programming languages and tools are you using? Please provide specific versions.
Bazel version 7.5.0,
rules_android
version 0.6.0What Bazel plugin version are you using?
12816248-api-version-242
Have you found anything relevant by searching the web?
The same issue reported earlier: #7123
Any other information, logs, or outputs that you want to share?
No response
The text was updated successfully, but these errors were encountered: