commit | 1f65a4a75b2c76fb8b47fdbe1c2bf9ddf70adb6c | [log] [tgz] |
---|---|---|
author | Jorge E. Moreira <jemoreira@google.com> | Fri Nov 08 15:23:32 2019 -0800 |
committer | Jorge E. Moreira <jemoreira@google.com> | Mon Jan 06 14:05:06 2020 -0800 |
tree | 2da03a7a49e7e218858db00ed4a32575c8ec06d6 | |
parent | e87ceb1b96332c4252fcb20a1154ab63150cdc14 [diff] |
Set default values for webrtc related flags - Disable the vnc server by default if --start_webrtc is provided - The build process produces the webrtc assets and certs as artifacts, which in turn allows to add them to the cvd host package - Provide default paths for the webrtc assets and certs Bug: 141887532 Test: launch_cvd -start_webrtc -webrtc_public_ip=127.0.0.1 Change-Id: I09b136c47dacd8dc0bf23ab42620a3f37f9d0313
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!