I can test my app on a mobile phone but cant get e...
# android
b
I can test my app on a mobile phone but cant get emulator working. Ive tried emulators using SDK 17, 26 & 29 but it always hands when it get to
Copy code
var data = URL(params[0]).readText()
it hangs(I used a debugger and when it runs the code it just never comes back, the code is in AsyncTask.doInBackground (I know it depreciated, I am doing tutorials). Any advice? The URL is
Copy code
<https://www.flickr.com/services/feeds/photos_public.gne?tags=android,%20oreo&tagmode=any&format=json&nojsoncallback=1>
This works fine if I just do it in InteliJ. I know URL is Java but the readText extension is. if it's not enough Kotlinly can someone point me to a good alternative place to ask question?
😶 4