Skip to content

Bazel 8 Migration - Patch databinding prefixes needed by databinding_exec#200

Merged
edwin-grabtaxi merged 1 commit intomigration/bazel_8_main_branchfrom
migration/bazel_8_patch_databinding_prefixes
Feb 21, 2026
Merged

Bazel 8 Migration - Patch databinding prefixes needed by databinding_exec#200
edwin-grabtaxi merged 1 commit intomigration/bazel_8_main_branchfrom
migration/bazel_8_patch_databinding_prefixes

Conversation

@edwin-grabtaxi
Copy link
Collaborator

@edwin-grabtaxi edwin-grabtaxi commented Feb 4, 2026

This patch fix the build error faced when running databinding targets due to missing classes using databinding_exec.jar.

NoClassDefFoundError: kotlin/TypeCastException
NoClassDefFoundError: androidx/databinding/Bindable
NoClassDefFoundError: org/antlr/v4/runtime/ParserRuleContext
NoClassDefFoundError: com/google/gson/Gson

databinding_exec is a jar repackaged from all_android_tools_deploy. Right now in rules_android, the classes found in the error is not included as prefixes that's being repackaged to databinding_exec. The patch helps to add necessary packages as prefixes to the tool.

@edwin-grabtaxi edwin-grabtaxi merged commit 2ac43e7 into migration/bazel_8_main_branch Feb 21, 2026
0 of 3 checks passed
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.

2 participants