"Probably the reason why it's not working is that the /system partition is mounted read-only for obvious (security) reasons."
This may be true, but according to the adb command [ http://android-dls.com/wiki/index.php?title=ADB ] You should be able to get around this by remounting. Relevant: "adb remount - remounts the /system partition on the device read-write" However, I've done that and I'm still receiving: failed to copy './hosts' to '/system/etc/hosts': Out of memory I, like the rest, am simply trying to test a local website on android. Is editing the hosts file not the recommended approach for testing dev stage websites on android? I'm open to suggestions for a better way.... On Mar 23, 3:47 am, Marek Pola <[email protected]> wrote: > Hello, > > Probably the reason why it's not working is that the /system partition > is mounted read-only for obvious (security) reasons. You need to > remount it. Search on this mail list for the exact commands. > > But why do you need to edit the hosts file? Can't you use DNS to find > the IP address of your host? > > Regards > Marek > > On Mar 22, 5:04 am, Tushneem <[email protected]> wrote: > > > I am trying to edit the hosts file to access rest services in my local > > network. Using adb pull I am able to get the hosts file for the > > emulator and edit it. However I get the error "No space left on > > device" when I do an adb push. > > > Does anyone know how to resolve this issue? Can we increase the space > > for /system? If so how? Are there any other easier ways to access > > local area network (without creating a DNS server). > > > thanks -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

