Swetha wrote:
> I am trying to access the sdcard on ADP2 from command prompt using adb
> tool and from window explorer, it says "Access is denied". I have
> followed the below procedure:
> 
> 1) Installed the USB driver from Android site.
> 2) Connected the phone
> 3) Opened the "USB Connected" option from the notification bar of the
> phone, clicked "Mount". Also USB Debugging is enabled.
>
> 4) I am able to get the device name using "adb devices" command, also
> I am able to install APK file
> 
> But, when I tried to push APK or any text file to the sdcard, it is
> failing. This is the command I tried: "adb push Hello.apk /sdcard", it
> gives an error "Permission denied".

Correct, because the card is in use by the host operating system.

Unmount the card, tell Android (via the Notification) to stop making the
card available, wait for the card to be remounted *within Android*, then
try adb push.

> Also I tried accessing the sdcard from window explorer, it gives an
> error "Access is denied".

Now that I can't explain.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

_The Busy Coder's Guide to *Advanced* Android Development_
Version 1.3 Available!

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

Reply via email to