commit | b3f28d3da12ea2d97d838f66765bf21d5dee2f7f | [log] [tgz] |
---|---|---|
author | jingwen <jingwen@google.com> | Mon Dec 10 19:30:57 2018 -0800 |
committer | Copybara-Service <copybara-piper@google.com> | Mon Dec 10 19:32:32 2018 -0800 |
tree | b67d241d033d366d2f0602d199991bd9e3bff036 | |
parent | a2d4d3d794b02da6e1249415025d5605a504c063 [diff] |
Fix mobile-install v1 error when incrementally installing the native libs' manifest onto the device Somewhere between 28 and 29, when creating directories as part of adb push, the behavior changed w.r.t. directory permissions. On 28, the created directories via adb push have the permissions drwxrwxr-x. On 29, the permissions are drwxrwx--x. The difference is the read permission for others. For some reason, this causes the adb push to fail. It turns out that inserting a adb shell mkdir -p /data/local/tmp/incrementaldeployment/com.example.android.bazel/native/ before pushing the files creates the directory with the correct permissions, allowing native_manifest to be pushed correctly. Fixes https://github.com/bazelbuild/examples/issues/77 Fixes https://github.com/bazelbuild/bazel/issues/6814 RELNOTES: Fixed mobile-install v1 error when installing an app with native libraries onto an Android 9 (Pie) device. See https://github.com/bazelbuild/examples/issues/77 PiperOrigin-RevId: 224928364
{Fast, Correct} - Choose two
Build and test software of any size, quickly and reliably.
Speed up your builds and tests: Bazel only rebuilds what is necessary. With advanced local and distributed caching, optimized dependency analysis and parallel execution, you get fast and incremental builds.
One tool, multiple languages: Build and test Java, C++, Android, iOS, Go, and a wide variety of other language platforms. Bazel runs on Windows, macOS, and Linux.
Scalable: Bazel helps you scale your organization, codebase, and continuous integration solution. It handles codebases of any size, in multiple repositories or a huge monorepo.
Extensible to your needs: Easily add support for new languages and platforms with Bazel's familiar extension language. Share and re-use language rules written by the growing Bazel community.
Follow our tutorials:
See CONTRIBUTING.md
Bazel is released in ‘Beta’. See the product roadmap to learn about the path toward a stable 1.0 release.