From c789d78fa2a3fb760e99963bac5000f49747cc88 Mon Sep 17 00:00:00 2001 From: ahumesky Date: Tue, 9 Mar 2021 15:45:40 -0800 Subject: [PATCH] Add prerequisites and instructions for supporting 32-bit binaries on 64-bit machines to the documentation for running android_instrumentation_test. Fixes #13129. RELNOTES: None. PiperOrigin-RevId: 361915089 --- site/docs/android-instrumentation-test.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/site/docs/android-instrumentation-test.md b/site/docs/android-instrumentation-test.md index 0bf5c4aed26f8f..df282decda6d50 100644 --- a/site/docs/android-instrumentation-test.md +++ b/site/docs/android-instrumentation-test.md @@ -80,6 +80,14 @@ $ which Xvfb /usr/bin/Xvfb ``` +- **32-bit Libraries**. Some of the binaries used by the test infrastructure are + 32-bit, so on 64-bit machines, ensure that 32-bit binaries can be run. For + Ubuntu, install these 32-bit libraries: + +``` +sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 libbz2-1.0:i386 +``` + ## Getting started Here is a typical target dependency graph of an `android_instrumentation_test`: