commit | bdc6212dc0c669b6c0a3b6c2d1f2a65d8756bd98 | [log] [tgz] |
---|---|---|
author | Jon Spivack <spivack@google.com> | Tue Jan 21 20:47:09 2020 -0800 |
committer | Jon Spivack <spivack@google.com> | Wed Jan 22 17:25:16 2020 -0800 |
tree | f714fa60cbf49842a35ce6cb732ad708af0d4fa1 | |
parent | adee1e9619c713263bb509ef3b17a883d35ac6dd [diff] |
Add aidl_lazy_test_server to Cuttlefish Having this test service on Cuttlefish allows the corresponding tests to be run as part of presubmit. Bug: 147380480 Test: aidl_lazy_test Change-Id: I694e6ad35ca06a5ca7dad355e38b820a06cc6071
git clone https://github.com/google/android-cuttlefish cd android-cuttlefish debuild -i -us -uc -b sudo dpkg -i ../cuttlefish-common_*_amd64.deb sudo apt-get install -f
aosp-master
if you don't know what you're looking foraosp_cf_x86_phone
and click on userdebug
for the latest buildArtifacts
aosp_cf_x86_phone-img-xxxxxx.zip
-- it will always have img
in the name. Download this filecvd-host_package.tar.gz
. You should always download a host package from the same build as your images.mkdir cf cd cf tar xvf /path/to/cvd-host_package.tar.gz unzip /path/to/aosp_cf_x86_phone-img-xxxxxx.zip
Launch cuttlefish with:
$ HOME=$PWD ./bin/launch_cvd
Stop cuttlefish with:
$ HOME=$PWD ./bin/stop_cvd
You can use adb
to debug it, just like a physical device:
$ ./bin/adb -e shell
You can use the TightVNC JViewer. Once you have downloaded the TightVNC Java Viewer JAR in a ZIP archive, run it with
$ java -jar tightvnc-jviewer.jar -ScalingFactor=50 -Tunneling=no -host=localhost -port=6444
Click "Connect" and you should see a lock screen!