Why do you need the SD Card? Well besides using the SD Card in your app, the more important use is for profiling and debugging. Without the SD Card you will hit errors like
Unable to open trace file permission denied
Here are the steps to setup the card.:
- Open up the console (cmd) and navigate to the android SDK tools folder
- Create your SD Card image. NOTE: 8MB is the minimum size the emulator will accept
mksdcard -l mySdCard 1024M mySdCardFile.img
- Open up Eclipse and modify your run configuration. In the 'Target' tab enter th following for 'Additional Emulator Command Line Options':
- Click run and you should have an emulator with an SD Card.
ERROR: the user data image is used by another emulator. aborting, or if the SD Card doesn't show, try restarting adb.
To restart adb enter the following in the command prompt:
cd C:\android-sdk-windows\platform-tools adb kill-server adb start-server