SocketException: Failed host lookup: 'media-cdn.tripadvisor.com' code example
Example: SocketException: Failed host lookup
//Add this to your androidManifest file(app/src/main/)
<uses-permission android:name="android.permission.INTERNET"/>
//Add this to your androidManifest file(app/src/main/)
<uses-permission android:name="android.permission.INTERNET"/>