add internet permission in manifest file code example
Example 1: allow internet permission android
//add to AndroidManifest.xml
<uses-permission android:name="android.permission.INTERNET" />
Example 2: internet permission android
<uses-permission android:name="android.permission.INTERNET" />