-
Notifications
You must be signed in to change notification settings - Fork 6
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
Bazel demo app is crashing at startup on API 34 #19
Comments
Thanks for your report, I was able to repro and it does indeed look like an issue between bazel's Here are some workarounds for now while we investigate:
|
I dug into this a little bit and I suspect that
CoreComponentFactory is potentially just the first class loaded that hits this issue. This seems to come down to a change in API 34 to not allow writeable dex files as part of the security posture, so it seems likely that some part of the toolchain is erroneously including a writeable file. Next steps on our end is likely to try updating the rules_android toolchain since we are running an older version, then spend some more time trying to figure out what part of the toolchain is doing the wrong thing |
Can confirm that the app also installs and runs fine for me on an emulator with API 33 |
I'm building the Bazel demo app using
$> ./bazelw mobile-install --fat_apk_cpu=arm64-v8a --config=android :android_app
(after getting it working #13 (comment)), the app gets generated and deployed to the connected device but when I open it, it crashes 💥and
It seems like an issue with the
mobile-install
toolchain.cc @murki @mattklein123
The text was updated successfully, but these errors were encountered: