commit | 9306eae13a01f4f40fca2932b32a4f21ce527059 | [log] [tgz] |
---|---|---|
author | Peter Collingbourne <[email protected]> | Tue May 05 10:05:45 2020 -0700 |
committer | Peter Collingbourne <[email protected]> | Tue May 05 10:07:42 2020 -0700 |
tree | d8ad2f309dd8a482c15a177d761cb869ffa2f16b | |
parent | 091b87a28ab59a2797663c8fb3c4ddac456ac09a [diff] |
Add required_images file to cuttlefish build directory. This will be used by acloud to determine which image files to upload (see r.android.com/1300434). Change-Id: If77a1f8d9d34fc59924b16ca030b38c2bbe077fc
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!