You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After build the apk and try to open it on phone, it stuck on the loading Screen, on console I get this error-
" E/flutter (21270): [ERROR:flutter/lib/ui/ui_dart_state.cc(199)] Unhandled Exception: SocketException: Failed host lookup: 'api.openweathermap.org' (OS Error: No address associated with hostname, errno = 7)
E/flutter (21270): "
I checked the internet and added these 2 line manually-
uses-permission android:name="android.permission.INTERNET"
uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"
I already gave the permission to the app to access the internet on my phone. But still no luck. I checked the Api link- it's perfect on issue on it.
Any solution??
The text was updated successfully, but these errors were encountered:
Not sure if you solved this problem. I also encountered this and got it by giving this permission
uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" in android manifest file.
After build the apk and try to open it on phone, it stuck on the loading Screen, on console I get this error-
" E/flutter (21270): [ERROR:flutter/lib/ui/ui_dart_state.cc(199)] Unhandled Exception: SocketException: Failed host lookup: 'api.openweathermap.org' (OS Error: No address associated with hostname, errno = 7)
E/flutter (21270): "
I checked the internet and added these 2 line manually-
uses-permission android:name="android.permission.INTERNET"
uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"
I already gave the permission to the app to access the internet on my phone. But still no luck. I checked the Api link- it's perfect on issue on it.
Any solution??
The text was updated successfully, but these errors were encountered: