Запуск каракулиAndroid

Форум для тех, кто программирует под Android
Ответить
Anonymous
 Запуск каракули

Сообщение Anonymous »

Я мог бы успешно следовать учебному пособию по https://source.android.com/docs/devices ... rted?hl=de и иметь эмулятор с каравицей в https: // localhost: 8443/

Однако он не указан в разделе «ADB Devices». class = "Snippet-Code">

Код: Выделить всё

7-07 10:54:32.009   964   964 I launch_cvd: main.cc:179 Using system_image_dir of:
===================================================================
NOTICE:

By using this Android Virtual Device, you agree to
Google Terms of Service (https://policies.google.com/terms).
The Google Privacy Policy (https://policies.google.com/privacy)
describes how Google handles information generated as you use
Google Services.
===================================================================

Reading --config option from: /home/user/android-cuttlefish/cf2/android-info.txt
Launching CVD using --config='phone'.
WARNING: dzn is not a conformant Vulkan implementation, testing use only.
WARNING: dzn is not a conformant Vulkan implementation, testing use only.
WARNING: dzn is not a conformant Vulkan implementation, testing use only.
WARNING: dzn is not a conformant Vulkan implementation, testing use only.
WARNING: dzn is not a conformant Vulkan implementation, testing use only.
WARNING: dzn is not a conformant Vulkan implementation, testing use only.
--gpu_mode=gfxstream was requested but the prerequisites for accelerated rendering were not detected so the device may not function correctly. Please consider switching to --gpu_mode=auto or --gpu_mode=guest_swiftshader.
GPU vhost user auto mode: not needed.  Not enabling vhost user gpu.
Path for instance UDS: /tmp/cf_avd_1001
The following lines contain useful debugging information:
Point your browser to https://localhost:8443 to interact with the device.
Serial console is disabled; use -console=true to enable it.
Logcat output: /home/user/android-cuttlefish/cf2/cuttlefish/instances/cvd-1/logs/logcat
Kernel log: /home/user/android-cuttlefish/cf2/cuttlefish/instances/cvd-1/kernel.log
Launcher log: /home/user/android-cuttlefish/cf2/cuttlefish/instances/cvd-1/logs/launcher.log
Instance configuration: /home/user/android-cuttlefish/cf2/cuttlefish/instances/cvd-1/cuttlefish_config.json
Launcher Build ID: 13625421
/home/user/android-cuttlefish/cf2/bin/modem_simulator
/home/user/android-cuttlefish/cf2/bin/tombstone_receiver
/home/user/android-cuttlefish/cf2/bin/cf_vhost_user_input
/home/user/android-cuttlefish/cf2/bin/log_tee
/home/user/android-cuttlefish/cf2/bin/cf_vhost_user_input
/home/user/android-cuttlefish/cf2/bin/log_tee
/home/user/android-cuttlefish/cf2/bin/cf_vhost_user_input
/home/user/android-cuttlefish/cf2/bin/log_tee
/home/user/android-cuttlefish/cf2/bin/cf_vhost_user_input
/home/user/android-cuttlefish/cf2/bin/log_tee
/home/user/android-cuttlefish/cf2/bin/log_tee
/home/user/android-cuttlefish/cf2/bin/wmediumd
/home/user/android-cuttlefish/cf2/bin/operator_proxy
/home/user/android-cuttlefish/cf2/bin/webRTC
/home/user/android-cuttlefish/cf2/bin/casimir_control_server
Start modem simulator, server_fds: 95, Sim type: normal
/home/user/android-cuttlefish/cf2/bin/screen_recording_server
/home/user/android-cuttlefish/cf2/bin/adb_connector
/home/user/android-cuttlefish/cf2/bin/socket_vsock_proxy
/home/user/android-cuttlefish/cf2/bin/socket_vsock_proxy
/home/user/android-cuttlefish/cf2/bin/tcp_connector
/home/user/android-cuttlefish/cf2/bin/control_env_proxy_server
/home/user/android-cuttlefish/cf2/bin/echo_server
/home/user/android-cuttlefish/cf2/bin/gnss_grpc_proxy
/home/user/android-cuttlefish/cf2/bin/logcat_receiver
/home/user/android-cuttlefish/cf2/bin/kernel_log_monitor
/home/user/android-cuttlefish/cf2/bin/openwrt_control_server
/home/user/android-cuttlefish/cf2/bin/log_tee
/home/user/android-cuttlefish/cf2/bin/process_restarter
/home/user/android-cuttlefish/cf2/bin/netsimd
/home/user/android-cuttlefish/cf2/bin/socket_vsock_proxy
/home/user/android-cuttlefish/cf2/bin/socket_vsock_proxy
/home/user/android-cuttlefish/cf2/bin/secure_env
/home/user/android-cuttlefish/cf2/bin/sensors_simulator
/home/user/android-cuttlefish/cf2/bin/log_tee
/home/user/android-cuttlefish/cf2/bin/process_restarter
/home/user/android-cuttlefish/cf2/bin/log_tee
Server listening on unix:/tmp/cf_avd_1001/cvd-1/grpc_socket/CasimirControlServer.sock
/home/user/android-cuttlefish/cf2/bin/process_restarter
Server listening on unix:/tmp/cf_avd_1001/cvd-1/grpc_socket/EchoServer.sock
Server listening on unix:/tmp/cf_avd_1001/cvd-1/grpc_socket/OpenwrtControlServer.sock
WaylandServer running on socket 14
[2025/07/07 10:54:36:9358] N: lws_create_context: LWS: 4.3.0, NET CLI SRV H1 H2 WS ConMon IPv6-absent
[2025/07/07 10:54:36:9362] N: __lws_lc_tag:  ++ [wsi|0|pipe] (1)
[2025/07/07 10:54:36:9366] N: __lws_lc_tag:  ++ [vh|0|default|127.0.0.1|127.0.0.1|0] (1)
starting Rust KeyMint TA implementation in a thread
starting C++ KeyMint implementation in a thread with FDs in=40, out=39
[2025/07/07 10:54:36:9373] N: [vh|0|default|127.0.0.1|127.0.0.1|0]: lws_socket_bind: source ads 127.0.0.1
[2025/07/07 10:54:36:9373] N: __lws_lc_tag:  ++ [wsi|1|listen|default|127.0.0.1|42837] (2)
KeyMint Rust TA running with infile=46, outfile=45, security_level=Software
Secure deletion data file found.  Parsing.
Connection thread running
Failed to connect:No such device
Server listening on unix:/tmp/cf_avd_1001/cvd-1/grpc_socket/ControlEnvProxyServer.sock
root-canal I 07-07 10:54:36.938 device_boutique.cc:37                    Registering beacon
root-canal I 07-07 10:54:36.939 device_boutique.cc:37                    Registering sniffer
netsimd I 07-07 08:54:36.944 rust_main.rs:98 - netsim artifacts path: "/tmp/android-user/netsimd"
(adm_helpers.cc:48): Unable to access speaker.
netsimd I 07-07 08:54:36.945 rust_main.rs:101 - NetsimdArgs {
fd_startup_str: Some(
"{\"devices\":[{\"name\":\"0.0.0.0:6520\",\"chips\":[{\"kind\":\"BLUETOOTH\",\"fdIn\":143,\"fdOut\":144},{\"kind\":\"UWB\",\"fdIn\":145,\"fdOut\":146}],\"device_info\":{\"name\":\"0.0.0.0:6520\", \"kind\":\"CUTTLEFISH\"}}]}",
),
no_cli_ui: false,
no_web_ui: false,
pcap: false,
disable_address_reuse: false,
hci_port: Some(
7300,
),
connector_instance: None,
instance: Some(
1,
),
logtostderr: false,
dev: false,
forward_host_mdns: false,
vsock: None,
config: None,
host_dns: None,
http_proxy: None,
wifi_tap: None,
wifi: None,
test_beacons: false,
no_test_beacons: false,
no_shutdown: false,
verbose: false,
version: false,
}
[2025-07-07T08:54:36.980370049+00:00 INFO  crosvm::crosvm::sys::linux::device_helpers] Trying to attach block device: /home/user/android-cuttlefish/cf2/cuttlefish/instances/cvd-1/ap_overlay.img
[2025-07-07T08:54:36.981167922+00:00 INFO  crosvm::crosvm::sys::linux::device_helpers] Trying to attach block device: /home/user/android-cuttlefish/cf2/cuttlefish/instances/cvd-1/overlay.img
[2025-07-07T08:54:36.990371166+00:00 INFO  crosvm::crosvm::sys::linux::device_helpers] Trying to attach block device: /home/user/android-cuttlefish/cf2/cuttlefish/instances/cvd-1/persistent_composite.img
[2025-07-07T08:54:36.990509066+00:00 INFO  crosvm::crosvm::sys::linux::device_helpers] Trying to attach block device: /home/user/android-cuttlefish/cf2/cuttlefish/instances/cvd-1/sdcard.img
[2025-07-07T08:54:37.057675404+00:00 INFO  devices::sys::linux::acpi] Listening on acpi_mc_group of acpi_event family
[2025-07-07T08:54:37.064707092+00:00 INFO  x86_64] Loaded bzImage kernel
Failed to connect:No such device
[2025-07-07T08:54:38.551457131+00:00 INFO  devices::sys::linux::acpi] Listening on acpi_mc_group of acpi_event family
GUEST_UBOOT_VERSION: SPL 2024.04-gc8fc3d1d8ce6-ab13197479 (Mar 10 2025 - 22:48:14 +0000)
[2025-07-07T08:54:38.560752241+00:00 WARN  devices::pci::pcie::pci_bridge] kernel modify subordinate bus number: 1 -> 255
GUEST_UBOOT_VERSION: 2024.04-gc8fc3d1d8ce6-ab13197479 (Mar 10 2025 - 22:48:14 +0000)
U-Boot 20
starting Rust KeyMint TA implementation in a thread
starting C++ KeyMint implementation in a thread with FDs in=40, out=39
KeyMint Rust TA running with infile=46, outfile=45, security_level=Software
Secure deletion data file found. Parsing.
GUEST_UBOOT_VERSION: generated SMBIOS tables
Failed to connect:No such device
GUEST_KERNEL_VERSION: 6.12.18-android16-1-g50eb8d5d443b-ab13257114 (kleaf@build-host) (Android (12833971, +pgo, +bolt, +lto, +mlgo, based on r536225) clang version 19.0.1 (https://android.googlesource.com/toolchain/llvm-project b3a530ec6537146650e42be89f1089e9a3588460), LLD 19.0.1) #1 SMP PREEMPT Fri Mar 21 17:01:42 UTC 2025
] Linux version
Failed to connect:No such device
Failed to connect:No such device
Failed to connect:Connection reset by peer
Failed to connect:Connection reset by peer
GUEST_BUILD_FINGERPRINT: generic/aosp_cf_x86_64_only_phone/vsoc_x86_64_only:16/BP2A.250605.031.A2.12bafa40/13625421:userdebug/test-keys
Failed to connect:Connection reset by peer
[2025-07-07T08:54:44.902607655+00:00 WARN  devices::virtio::snd::vios_backend::streams] Failed to set audio stream thread to real time: Operation not permitted (os error 1)
[2025-07-07T08:54:44.902693319+00:00 WARN  devices::virtio::snd::vios_backend::streams] Failed to set audio stream thread to real time: Operation not permitted (os error 1)
[2025-07-07T08:54:44.902759071+00:00 WARN  devices::virtio::snd::vios_backend::streams] Failed to set audio stream thread to real time: Operation not permitted (os error 1)
Failed to connect:Connection reset by peer
init: starting service 'adbd'...
proxy_adb] Start event (5) received. Starting proxy
proxy_fastboot] Stop event (11) received.  Stopping proxy
proxy_adb] From: tcp: 6520
proxy_adb] To: vsock: 3:5555 vhost_user: false
VIRTUAL_DEVICE_DISPLAY_POWER_MODE_CHANGED
VIRTUAL_DEVICE_DISPLAY_POWER_MODE_CHANGED
VIRTUAL_DEVICE_BOOT_STARTED
VIRTUAL_DEVICE_BOOT_COMPLETED
Virtual device booted successfully
VIRTUAL_DEVICE_NETWORK_MOBILE_CONNECTED
[2025/07/07 10:55:46:9765] N: __lws_lc_tag:  ++ [wsisrv|0|adopted] (1)
[2025/07/07 10:55:46:9940] N: __lws_lc_tag:  ++ [wsisrv|1|adopted] (2)
[2025/07/07 10:55:46:9940] N: __lws_lc_tag:  ++ [wsisrv|2|adopted] (3)
[2025/07/07 10:55:46:9941] N: __lws_lc_tag:  ++ [wsisrv|3|adopted] (4)
[2025/07/07 10:55:46:9941] N: __lws_lc_tag:  ++ [wsisrv|4|adopted] (5)
[2025/07/07 10:55:46:9941] N: __lws_lc_tag:  ++ [wsisrv|5|adopted] (6)
[2025/07/07 10:55:46:9942] N: __lws_lc_tag:  ++ [wsisrv|6|adopted] (7)
[2025/07/07 10:55:46:9942] N: __lws_lc_tag:  ++ [wsisrv|7|adopted] (8)
[2025/07/07 10:55:46:9943] N: __lws_lc_tag:  ++ [wsisrv|8|adopted] (9)
[2025/07/07 10:55:46:9943] N: __lws_lc_tag:  ++ [wsisrv|9|adopted] (10)
[2025/07/07 10:55:46:9943] N: __lws_lc_tag:  ++ [wsisrv|a|adopted] (11)
[2025/07/07 10:55:46:9981] N: __lws_lc_untag:  -- [wsisrv|0|adopted] (10) 21.610ms
[2025/07/07 10:55:46:9984] N: __lws_lc_untag:  -- [wsisrv|2|adopted] (9) 4.326ms
[2025/07/07 10:55:46:9984] N: __lws_lc_untag:  -- [wsisrv|3|adopted] (8) 4.358ms
[2025/07/07 10:55:46:9986] N: __lws_lc_untag:  -- [wsisrv|8|adopted] (7) 4.364ms
[2025/07/07 10:55:46:9987] N: __lws_lc_untag:  -- [wsisrv|7|adopted] (6) 4.480ms
[2025/07/07 10:55:46:9989] N: __lws_lc_untag:  -- [wsisrv|6|adopted] (5) 4.704ms
[2025/07/07 10:55:46:9989] N: __lws_lc_untag:  -- [wsisrv|5|adopted] (4) 4.779ms
[2025/07/07 10:55:46:9989] N: __lws_lc_untag:  -- [wsisrv|4|adopted] (3) 4.843ms
[2025/07/07 10:55:46:9990] N: __lws_lc_untag:  -- [wsisrv|9|adopted] (2) 4.688ms
(stun_port.cc:334): Port[e416e200:0:1:0:local:Net[lo:127.0.0.x/8:Loopback:id=6]]: UDP send of 96 bytes to host 172.27.112.x:57626 (172.27.112.x:57626) failed with error 22
(stun_port.cc:334): Port[e416e200:0:1:0:local:Net[lo:127.0.0.x/8:Loopback:id=6]]: UDP send of 96 bytes to host 172.31.31.x:57627 (172.31.31.x:57627) failed with error 22
(stun_port.cc:334): Port[e416e200:0:1:0:local:Net[lo:127.0.0.x/8:Loopback:id=6]]: UDP send of 96 bytes to host 10.4.234.x:57628 (10.4.234.x:57628) failed with error 22
(stun_port.cc:334): Port[e416e200:0:1:0:local:Net[lo:127.0.0.x/8:Loopback:id=6]]: UDP send of 96 bytes to host 10.5.163.x:57629 (10.5.163.x:57629) failed with error 22
(stun_port.cc:334): Port[e416e200:0:1:0:local:Net[lo:127.0.0.x/8:Loopback:id=6]]: UDP send of 96 bytes to host 172.27.112.x:57626 (172.27.112.x:57626) failed with error 22
[2025/07/07 10:55:52:0002] N: __lws_lc_untag:  -- [wsisrv|1|adopted] (1) 5.006s
[2025/07/07 10:55:56:9994] N: __lws_lc_untag:  -- [wsisrv|a|adopted] (0) 10.005s< /code>
< /div>
< /div>
< /p>
$ adb devices
* daemon not running; starting now at tcp:5037
* daemon started successfully
List of devices attached
Может быть, кто -то имеет подсказку, как я могу подключиться или сделать видимым это устройство под устройствами ADB.


Подробнее здесь: https://stackoverflow.com/questions/796 ... is-failing
Ответить

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

Вернуться в «Android»