Unable to resolve host “” No address associated with host name

You probably don’t have the INTERNET permission. Try adding this to your AndroidManifest.xml file, right before </manifest>:

<uses-permission android:name="android.permission.INTERNET" />

Note: the above doesn’t have to be right before the </manifest> tag, but that is a good / correct place to put it.

Note: if this answer doesn’t help in your case, read the other answers!

Leave a Comment