commit | 2fce64dd9875fc2a4a069b893a3d7f5a916e4671 | [log] [tgz] |
---|---|---|
author | Jorge E. Moreira <jemoreira@google.com> | Wed Dec 04 16:50:10 2019 -0800 |
committer | Jorge E. Moreira <jemoreira@google.com> | Mon Jan 06 14:05:32 2020 -0800 |
tree | 968d9c3ea3d33281155cfe7c9516e6dbe31ff02a | |
parent | 392833b0d2571a2f38c6bc2a368ef2bdd9462721 [diff] |
use libjsoncpp instead of android::JSONObject Bug: 141887532 Test: locally Change-Id: I2c07e0d8cfa19b70d81d010bcdc1546587a964bd
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!