Hi Mark,

Would you please give a little more detail about pushing files to that
app-local file sotre? I still got the "permission denied" when I was
trying to push a file there (My phone don't have that "files"
subdirectory).

Thanks a lot,
and Best regards,

Bo

On Apr 3, 11:10 pm, Mark Murphy <[email protected]> wrote:
> [email protected] wrote:
> > C:\android-sdk-windows-1.1_r1\tools>adb push C:\src\test \data
> > failed to copy 'C:\src\test' to '\data': Read-only file system
>
> > wtf??
>
> 1. Android runs Linux and therefore uses slashes (/) not backslashes (\)
> on paths.
>
> 2. You should not be attempting to put files in /data in Android. In
> particular, on the device, you do not have permissions to put files
> there. Please store files in the app-local file store
> (/data/data/your.package.here/files) or on the SD card, noting that you
> need to set up an SD card image for use with the emulator if you have
> not done so already.
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> _The Busy Coder's Guide to Android Development_ Version 2.0 Available!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to