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 ;)