开发者

Android on Eclipse: no Wi-Fi 3G or Edge connection detected

开发者 https://www.devze.com 2023-03-06 14:17 出处:网络
I\'m using a third party compiled .jar library, and I can\'t get it working on my Android 2.2 pro开发者_如何学Pythonject with Eclipse. Looking in the LogCat, I see that there is an exception thrown af

I'm using a third party compiled .jar library, and I can't get it working on my Android 2.2 pro开发者_如何学Pythonject with Eclipse. Looking in the LogCat, I see that there is an exception thrown after this debug message:

NO WIFI, 3G or Edge connection detected

from the third party library. So it seems at some point there is a check on the connection being used and the connection used by the Android emulator is not found.

How can I fix this? Is there some option on the emulator to make its connection looks like a 3G or a Wi-Fi one to Android?


It's possible the connection may be blocked by your firewall if you're using one.

Take a look at this section on Emulator Networking to see if it helps you.

Network emulation obviously needs to use an existing ethernet connection so that basically must be open for you to use it.

0

精彩评论

暂无评论...
验证码 换一张
取 消