Android emulator: Failed to copy files to /storage/sdcard, Read-only file system

Posted: October 6, 2015 in Android

I encountered this error when copying file to emulator SD card. The below solution resolves this error.

$adb -s target-device shell
$su
$mount -o rw,remount rootfs /
$chmod 777 /mnt/sdcard

Credit: http://stackoverflow.com/questions/2083709/android-emulator-sdcard-push-error-read-only-file-system

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s