When you are working on app which wants to access internet, you need to add extra permission in androidManifest. xml else your application won’t be able to access internet. So you need to put below code in AndroidManifest. xml file to access internet in your app.