-
Notifications
You must be signed in to change notification settings - Fork 50
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
Starlark aar_import does not expose StarlarkAndroidResourcesInfo #77
Comments
Looks like the issue is |
Yes, looks like the native |
Okay, finally figured out the issue. The pre-alpha version of resource collection (as implemented in The Starlark version of However, the code in examples/android/ndk depends on appcompat via Either the pre-alpha branch needs to check for both possible providers, or rules_jvm_export needs to use the same pre-alpha version of aar_import, or rules_jvm_export isn't compatible with rules_android pre-alpha. |
Looks like rules_jvm_external has support for this, possibly. |
But even using the starlark Using native
Using Starlark
|
Retitled issue to clarify the root cause. |
This should be fixed if/when we merge https://github.com/bazelbuild/rules_android/pull/52/files#diff-e2839f4bd7500de02db70226d1fb363bc1bcd62e2ac7046594dafc3e7040fa09. |
Part of bazelbuild/bazel#16285. Several of these just forcible turn off Android platforms due to other issues (including bazelbuild/rules_android#77)
Is this issue fixed in #224? |
Discovered while testing bazelbuild/examples#287.
When building examples/android/ndk with rules_android master branch, the build succeeds. The
ManifestMerger
action has the--mergeeManfests
argument set to a list of manifest files, which includes@maven//\:androidx_appcompat_appcompat,bazel-out/android-arm64-v8a-fastbuild-ST-0b94fd089017/bin/external/maven/androidx_appcompat_appcompat_resources_processed_manifest/AndroidManifest.xml
When building with the pre-alpha branch, the
ManifestMerger
does not set the flag, and the merge action fails (presumably due to the lack of needed dependencies).The text was updated successfully, but these errors were encountered: