commit | ad704b059ad011d21cb0ee05c57e9c3944e30631 | [log] [tgz] |
---|---|---|
author | Andreas Huber <andih@google.com> | Fri Jan 17 12:42:38 2020 -0800 |
committer | Alistair Delva <adelva@google.com> | Sat Jan 18 01:29:48 2020 +0000 |
tree | 5fc3634145191b718678103e0d684fd1324320aa | |
parent | e5bd6d51804efee224f4766db5d4de65c37f4c58 [diff] |
Resolve public IP automatically with STUN server Optionally, if FLAGS_public_ip is empty or "0.0.0.0", contact an external STUN server to resolve our public IP. This defaults to stun.l.google.com:19302 but can be pointed at other servers via FLAGS_stun_server. Bug: 147509789 Change-Id: Ib7d884ea7c51d5f9401727361b64bc84f8e5d33a
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!