Tuesday, September 28, 2010

mkdir with android emulator. "permission denied"

I recently ran into a small issue when i tried to create a directory in my sdcard for my emulator.

When I tried to use this approach as explained here the emulator showed permission denied when trying to mkdir in the sdcard.

The way i solved the issue:
1. open command prompt
2. type in - adb shell
3. type in cd /sdcard/
4. type in mkdir yourfilename

worked like a charm hope this can help anyone else stuck in this same situation.

first small blogpost but hopefully this got the ball rolling for many more ;)

4 comments:

Anonymous said...

This was of great help to me. I was almost about to pull my hair out. My hairline thanks you. :)

Anonymous said...

Thanks, great help for starters like me..

Anonymous said...

I'm doing step 2 and it's also giving me permission denied!!
Do you have any idea what can I do?

Anonymous said...

^ Try sudo before the command.

Post a Comment