Android Emulator Can't Start Without Internet Connection

Android Emulator Can't Start Without Internet Connection

Hey guys I've just installed Android Studio on Ubuntu 14.04 LTS, and I have all the needed Sdks and other accessories I think needs to be installed. I can run the emulator whenever I've an Internet connection, but if I disconnect the Internet and try to run the emulator, I get this error message:

Cannot launch AVD in emulator.
Output:
qemu-system-i386: it seems too many emulator instances are running on this machine. Aborting
WARNING: unable to configure any DNS servers, name resolution will not work

Someone suggested I do this: "ifconfig lo up" but whenever I do that nothing change, and I still get the same error when running the emulator offline.

Can you guys please help me.

2

1 Answer

I think I found a way around this after sleepless nights of trials and errors. All I had to do was to turn off WIFI and disable networking, and then the emulator started when I ran it. Don't know if this is a temporary fix, but I have my emulator working perfectly for now. Hope this helps others in similar situation.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Marcus Vance
Author

Marcus Vance

Marcus Vance is a cybersecurity auditor and technology writer dedicated to educating the public about online safety, data privacy regulations, enterprise security, and emerging cyber threats.