android эмулятор sdk 10 api 29 не запускается после перемонтирования и перезагрузки - PullRequest
3 голосов
/ 26 марта 2020

У меня странное поведение при попытке перемонтировать устройство с SDK 10 и API 29, после перемонтирования эмулятор зависает (устройство в автономном режиме) Воспроизвести:

  • ОС: MacOs
  • С помощью android studio определить новое устройство: пиксель 2 (или пиксель 3 / nexus 5), Android 10.0 x86, API 29
  • запустить эмулятор с помощью командной строки: emulator -avd Pixel_2_API_29_SDK10 -writable-system -verbose
  • run adb -s emulator-5554 root
  • run 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
  • run: adb -s emulator-5554 reboot adb reboot вызывает эмулятор повесить
➜  ~ adb devices
List of devices attached
emulator-5554   offline

1 Ответ

0 голосов
/ 06 мая 2020

Это проблема, о которой уже сообщалось в Google, вы можете посмотреть здесь: https://issuetracker.google.com/issues/144891973

...