Reputation: 34036
i am having difficulties to have my android app running in the emulator to connect to servers in my local network. i am getting a
java.net.UnknownHostException
but the servers are resolvable fine from the machine where the emulator is run.
thanks for any help on this topic!
Upvotes: 8
Views: 7448
Reputation: 161
Try adding <uses-permission android:name="android.permission.INTERNET" />
to your manifest. This allows your application network access.
More can be found here.
Upvotes: 4