I am facing java.io.IOException: grpc failed error
In my app, I want to show the address to the user. I am using Fused Location Provider API to find the user's current location but I am facing some error. I thought the problem is Thread.I want to use coroutines, but as a new in kotlin, I don't know how to implement this.
better understanding, please see the code below
MainFragment.kt
class MainFragment : Fragment() {
private lateinit var lat: String
private lateinit var lon: String
override fun onCreateView(
inflater: LayoutInflater,...