Kotlin URL().readText() crashes application

后端 未结 0 1413
孤独总比滥情好
孤独总比滥情好 2021-01-17 07:56

I\'m trying to get some text from my website and toast it, but I get android.os.NetworkOnMainThreadError when running

var str = URL("https:/         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题