We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In MainActivity.kt, starting with Chapter 8, the http link gives me this error in MainActivity->onCreate:
weatherapp W/System.err: java.io.IOException: Cleartext HTTP traffic to api.openweathermap.org not permitted
I propose changing the http://api.openweather... URL to https://api.openweather...
The text was updated successfully, but these errors were encountered:
if not, please update manifest.
<manifest ...> <application ... android:usesCleartextTraffic="true" ...> ...
Sorry, something went wrong.
According to Network security configuration: "Starting with Android 9.0 (API level 28), cleartext support is disabled by default."
@SVNicolaeDaniel suggestion works. Can also look at the following for more options: https://stackoverflow.com/questions/45940861/android-8-cleartext-http-traffic-not-permitted
In MainActivity.kt, starting with Chapter 8, the http link gives me this error in MainActivity->onCreate: weatherapp W/System.err: java.io.IOException: Cleartext HTTP traffic to api.openweathermap.org not permitted I propose changing the http://api.openweather... URL to https://api.openweather...
this solved the problem
No branches or pull requests
In MainActivity.kt, starting with Chapter 8, the http link gives me this error in MainActivity->onCreate:
I propose changing the http://api.openweather... URL to https://api.openweather...
The text was updated successfully, but these errors were encountered: