开发者

Trouble having when pushing files to DDMS?

I'm trying to push one mp3 file to (Emulator) the location /system/media/audio/ui using co开发者_运维百科mmand adb push But, i'm having

E:\Android\android-sdk\platform-tools>adb push song.mp3 /system/media/audio/ui
failed to copy 'song.mp3' to '/system/media/audio/ui/song.mp3': Read-only file system

this error. How can i change the Permission or how to push the files to this location. Any idea?


Unless you have a really good reason not to, you should stay in the /sdcard/ folder. Except for /sdcard/, most of the file system is read-only for a normal user.

It is possible, but not recommended, to "root" the phone. After which you would have full access to the whole system. Attempting this on a real phone, could break the phone, or invalidate your warranty.

If you wish to get root-privileges on the emulator, you can look at the accepted answer to this question: how to root/getroot access on android emulator?


That means your emulator does not support the sdcard. So create the emulator with sdcard option. see the bello image...

Trouble having when pushing files to DDMS?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜