android - adb: error: Read-only file system when trying to push hosts file -


i try push updated hosts file android device create android studio.

i follow these steps:

~/library/android/sdk/platform-tools/adb devices ~/library/android/sdk/platform-tools/adb -s emulator-5554 remount ~/library/android/sdk/platform-tools/adb -s emulator-5554 pull /system/etc/hosts ~/desktop/ ~/library/android/sdk/platform-tools/adb -s emulator-5554 push ~/desktop/hosts /system/etc/hosts 

after last command, error: "adb: error: failed copy '~/desktop/hosts' '/system/etc/hosts': read-only file system"

about 2 months ago, tried same steps , didn't errors. worked correctly.

what more should do?

the issue has been solved. removed virtual device , set new one.


Comments