commit | aeec74029e0a52950d710b8124c8cf33941d46e2 | [log] [tgz] |
---|---|---|
author | Roger Ellis <ellisr@google.com> | Tue Feb 18 17:24:04 2020 -0800 |
committer | Roger Ellis <ellisr@google.com> | Wed Feb 19 17:29:06 2020 -0800 |
tree | 6af2c37e78fe558cb463c22c177ddf60f689fefb | |
parent | c13501dd895a239c07d2ca36df32b1cf5c5e1028 [diff] |
Include Resize button that will scale the viewport - This is the first pass at adding a method for resizing the video element in the window. This was initially tied to the window resize event but this resulted in poor performance as the resize call happened too frequently. - Submitting this CL as a stop-gap until we can figure out a more optimized method for handling window resizing. Test: Build, boot, resize test at multiple resolutions Bug: 149793288 Change-Id: I50db4f49c421e545a8f21c58c2f7300d7bc16b4a
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!