//Add this to your androidManifest file(app/src/main/) <uses-permission android:name="android.permission.INTERNET"/>