Category : google-cloud-translate

What I want to do is to translate a list of texts with google cloud translation which is works but sometimes it is very slow. So after 10 seconds I want to cancel it and with withTimeoutOrNull block but it doesn’t cancel the operation it keeps running even after the timeout. lifecycleScope.launch { withContext(Dispatchers.IO) { ..

Read more

I am getting "Cause: invalid type code: 55" when I try to build my Android Studio App when I add (implementation "com.google.cloud:google-cloud-texttospeech:1.2.1") as one of my dependencies. I have generated my credentials, downloaded the json and set my GOOGLE_APPLICATION_CREDENTIALS, but the docs dont mention an invalid type code: 55 in relation to google cloude suite? ..

Read more