Skip to content

can't adb or see the device, but it is clearly running #501

@monkey-jsun

Description

@monkey-jsun

I followed the instructions on below 3 pages (in that order) and launch a CVD. From the log, it is clear that the device is running. But adb doesn't show and the device screen cannot connect (complaining about webrtc setup). Any pointers on how to debug?

https://source.android.com/docs/devices/cuttlefish/on-premises

https://github.com/google/cloud-android-orchestration/blob/main/scripts/on-premises/single-server/README.md

https://github.com/google/cloud-android-orchestration/blob/main/docs/cvdr.md

===================

jsun@dev:~$ cvdr \
--branch=aosp-main \
--build_target=aosp_cf_x86_64_phone-trunk_staging-userdebug \
create
Creating Host........................................ OK
Fetching main bundle artifacts....................... OK
Starting and waiting for boot complete............... OK
Connecting to cvd-1-1................................ Failed to connect ADB to device: unable to contact ADB server: dial tcp 127.0.0.1:5037: connect: connection refused
Waiting connection from ADB server timed out: accept tcp 127.0.0.1:37083: i/o timeout
Connecting to cvd-1-1................................ Failed
60ab85ce67277920cd465f89187d618012dbdd081a83451fd24be0e302f13795 (http://localhost:8080/v1/zones/local/hosts/60ab85ce67277920cd465f89187d618012dbdd081a83451fd24be0e302f13795/)
  cvd/1
  Status: Running
  ADB: not connected
  Displays: [720 x 1280 ( 320 )]
  Logs: http://localhost:8080/v1/zones/local/hosts/60ab85ce67277920cd465f89187d618012dbdd081a83451fd24be0e302f13795/cvds/cvd/1/logs/

1 error occurred:
	* failed to connect to device: no response from agent


jsun@dev:~$ adb devices
* daemon not running; starting now at tcp:5037
* daemon started successfully
List of devices attached

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions