安卓模拟器SDK 10 api 29重装重启后无法启动。

问题描述 投票:3回答:1

我在使用SDK 10和API 29重装设备时遇到了奇怪的行为,重装后模拟器挂起(设备离线)。要复制。

  • 操作系统:MacOs
  • 使用android studio定义新设备:pixel 2 (或pixel 3nexus 5), Android 10.0 x86, API 29。
  • 使用命令行启动仿真器。emulator -avd Pixel_2_API_29_SDK10 -writable-system -verbose
  • 运行 adb -s emulator-5554 root
  • 运行 adb -s emulator-5554 remount
The adb remmount result failure as follow:
adb remount 
Skip mounting partition: /product
Skip mounting partition: /product_services
Skip mounting partition: /product
Skip mounting partition: /product_services
Skip mounting partition: /product
Skip mounting partition: /product_services
Skip mounting partition: /product
Skip mounting partition: /product_services
Skip mounting partition: /product
Skip mounting partition: /product_services
Skip mounting partition: /product
Skip mounting partition: /product_services
W Disabling verity for /system
E Skipping /system
Skip mounting partition: /product
Skip mounting partition: /product_services
Skip mounting partition: /product
Skip mounting partition: /product_services
Skip mounting partition: /product
Skip mounting partition: /product_services
Skip mounting partition: /product
Skip mounting partition: /product_services
Skip mounting partition: /product
Skip mounting partition: /product_services
Skip mounting partition: /product
Skip mounting partition: /product_services
Skip mounting partition: /product
Skip mounting partition: /product_services
W DM_DEV_STATUS failed for scratch: No such device or address
E [liblp]No device named scratch
[liblp]Partition scratch will resize from 0 bytes to 536870912 bytes
[liblp]Updated logical partition table at slot 0 on device /dev/block/by-name/super
[libfs_mgr]Created logical partition scratch on device /dev/block/dm-3
[libfs_mgr]__mount(source=/dev/block/dm-3,target=/mnt/scratch,type=f2fs)=0: Success
Skip mounting partition: /product
Skip mounting partition: /product_services
Using overlayfs for /vendor
Skip mounting partition: /product
Skip mounting partition: /product_services
Skip mounting partition: /product
Skip mounting partition: /product_services
Skip mounting partition: /product
Skip mounting partition: /product_services
[libfs_mgr]__mount(source=overlay,target=/vendor,type=overlay,upperdir=/mnt/scratch/overlay/vendor/upper)=0
Skip mounting partition: /product
Skip mounting partition: /product_services
/system/bin/remount exited with status 7
remount failed
  • 运行。adb -s emulator-5554 rebootThe adb reboot 导致仿真器挂起
➜  ~ adb devices
List of devices attached
emulator-5554   offline
android android-studio android-emulator adb android-debug
1个回答
0
投票

这是一个问题,这已经被报告给谷歌,你可以看看这里。https:/issuetracker.google.comissues144891973

© www.soinside.com 2019 - 2024. All rights reserved.