-
Notifications
You must be signed in to change notification settings - Fork 4k
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
android_binary rules not compiling due to missing aapt and apkbuilder files #523
Comments
So is the error still that the path looks like Lets see what that little generated script is doing. Could you revert your changes to android_sdk_repository_template.txt, and then add the x option to bash here: Line 136 in 3d84695
so that it's "#!/bin/bash -eux", then try to build your project, then paste the output here? You should see some output like
It seems like |
Any update? |
Hm, this is kind of odd. Now that I look at this output: https://gist.github.com/XperielIndigo/a564fb57fdaa4093e67a aapt apparently gets executed in the target configuration as opposed to the host one. The line:
indicates that the shell prefix removal command Sure I can fix this by changing that shell substitution command a little, but I wonder how that's possible. @gregestren , any clever ideas? The @XperielIndigo , could you tell us how to reproduce this thing? I'm not very smart, so please be explicit and clear :) |
Okay, I sent out a change that I think fixes it. All you need to do is to replace
with
in |
Hi everyone,
I've been building android_binaries for a few months now, however, to make it work I've always had to modify my dev environment to use hard coded paths for accessing the
aapt
andapkbuilder
tools.See #392 for the fix I use.
In the last comment of that issue I ask whether there is a cleaner way to do this that can be incorporated into bazel directly (instead of me patching my clone).
Has there been any progress on this issue? Or can someone tell me how to get bazel head to compile android_binaries appropriately (i.e. without the missing file errors)?
Cheers
Indigo
The text was updated successfully, but these errors were encountered: