Hello,
When running my Kivy app APK it always returns "[Errorno 2] temporary failure in name resolution".
If I run the same app with Kivy Launcher it works fine (and if running on my Windows desktop it also runs fine).
In both scenarios Wifi is on and working fine with DNS resolution.
This is the code where the problem occurs:
LANG = 'pt-pt'
METRIC = 'true'
URL = ('
http://dataservice.accuweather.com/forecasts/v1/daily/5day/{0}?'
+ 'language=' + LANG + '&metric=' + METRIC + '&details=true&apikey='
+ API_ID)
location_id = '274015'
UrlRequest(URL.format(location_id), on_error=self.upd_status, on_failure=self.upd_status, on_success=self.fill_grid)
The self.upd_status simply shows the error message in a Label.
The self.fill_grid fills the grid with the information received.
These are the only imports in the app:
from
kivy.app import App
from kivy.network.urlrequest import UrlRequest
from kivy.uix.boxlayout import BoxLayout
from kivy.uix.label import Label
I tried running in different Android phones (Android 4.1.1 and Android 5.1.1), with the same result.
I'm building the APK with buildozer 0.33 inside the VM provided by Kivy.
I tried "buildozer android debug deploy run logcat > my_log.txt" but couldn't find anything strange in the log file.
Thanks in advance,
JM