Thank you for your help. I am building android 1.5r3 from the source. I did $ source build/envsetup.sh $ lunch 1 $ make -j4
after the build is done $ ./out/host/darwin-x86/bin/mksdcard 32M mysdcard.img mount img on my local machine and drag and drop 4 images file to it $./out/host/darwin-x86/bin/emulator -sdcard mysdcard.img & The emulator started. But when I go to 'Gallery' App it said 'No Media Found'. I appreciate if you have any idea to my problem. I did 'adb logcat' when I start my emulator. The only int sdcard related I found is 'create NNNAAAAA file: /sdcard/DCIM/100ANDRO failed'. Not sure if that is related.: D/dalvikvm( 620): GC freed 1727 objects / 112640 bytes in 85ms I/ActivityManager( 580): Starting activity: Intent { action=android.intent.action.MAIN categories={android.intent.category.LAUNCHER} flags=0x10200000 comp={com.android.camera/com.android.camera.GalleryPicker} } I/ActivityManager( 580): Start proc com.android.camera for activity com.android.camera/.GalleryPicker: pid=710 uid=10003 gids={1006, 2001, 3003} E/ImageManager( 710): create NNNAAAAA file: /sdcard/DCIM/100ANDRO failed V/ImageManager( 710): storage state is removed V/ImageManager( 710): storage state is removed V/ImageManager( 710): storage state is removed V/ImageManager( 710): storage state is removed W/IInputConnectionWrapper( 620): showStatusIcon on inactive InputConnection I/ActivityManager( 580): Displayed activity com.android.camera/.GalleryPicker: 827 ms I/ARMAssembler( 580): generated scanline__00000077:03545404_00000A04_00000000 [ 29 ipp] (51 ins) at [0x18f398:0x18f464] in 793000 ns D/dalvikvm( 620): GC freed 1561 objects / 81728 bytes in 84ms On Wed, Aug 19, 2009 at 4:10 PM, David Turner<di...@android.com> wrote: > Are you using the SDK with an AVD? If so, this should not happen. > Otherwise, trying using the -sdcard <file> option, as in: > mksdcard 32M mysdcard.img > emulator -sdcard mysdcard.img <other options> > > On Wed, Aug 19, 2009 at 3:28 PM, n179911 <n179...@gmail.com> wrote: >> >> Hi, >> >> I am trying to copy an image to the emulator sd card by: >> >> $ adb push ~/Desktop/bullet_ball_glass_red.png >> /sdcard/bullet_ball_glass_red.png >> >> But I get an error saying: >> failed to copy '/Users/n179911/Desktop/bullet_ball_glass_red.png' to >> '/sdcard/bullet_ball_glass_red.png': Read-only file system >> >> So I tried to go to adb shell to manual change the /sdcard to non >> read-only, but it still wont let me. >> $ adb shell >> # su >> # chmod 777 /sdcard >> Unable to chmod /sdcard: Read-only file system >> # >> >> > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---