I have exactly the same problem: ~/android-sdk/platforms/android-7 ➔ adb remount remount succeeded ~/android-sdk/platforms/android-7 ➔ adb push /etc/hosts /system/etc/ hosts failed to copy '/etc/hosts' to '/system/etc/hosts': No space left on device
The reason why I need to use my local hosts file is simply because I'm running local server which needs to be accessed by android emulator. Not that uncommon setup I guess. I wonder why it is not working out of the box. Any help greatly appreciated. Thanks Antonin On Mar 23, 8:47 am, Marek Pola <marek.p...@gmail.com> 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 <tushn...@gmail.com> 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 "Nospacelefton > >device" when I do an adb push. > > > Does anyone know how to resolve this issue? Can we increase thespace > > 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 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.