Android Emulator sdcard push error: Read-only file system
I found this works $./adb shell $su mount -o rw,remount rootfs / chmod 777 /mnt/sdcard exit Source: http://www.coderanch.com/t/611842/Android/Mobile/Android-emulator-sdcard-writable
I found this works $./adb shell $su mount -o rw,remount rootfs / chmod 777 /mnt/sdcard exit Source: http://www.coderanch.com/t/611842/Android/Mobile/Android-emulator-sdcard-writable
If you have a virtual device with root access, this should do the job: $ > adb shell generic_x86:/ $ generic_x86:/ $ exit $ > adb root restarting adbd as root $ > adb shell generic_x86:/ # If you don’t, you might be interested in this answer to a different question, which explains how to … Read more
Use 10.0.2.2 to access your actual machine. As you’ve learned, when you use the emulator, localhost (127.0.0.1) refers to the device’s own loopback service, not the one on your machine as you may expect. You can use 10.0.2.2 to access your actual machine, it is an alias set up to help in development.
I think some of the answers may have addressed this, however obliquely, but here’s what worked for me. Assuming your problem is occurring when you’re on a wireless network and you have a LAN card installed, the issue is that the emulator tries to obtain its DNS settings from that LAN card. Not a problem … Read more