Everything works right the first time, if you launch a second time you see this error:
FATAL EXCEPTION: main
Process
This works for me to avoid crashing issues using kotlin
private lateinit var googleApiClient: GoogleApiClient
And then just verify if the variable is already initialized
if(!::googleApiClient.isInitialized) {
googleApiClient = GoogleApiClient.Builder(context)
.enableAutoManage(activity, this)
.addApi(Auth.GOOGLE_SIGN_IN_API, options)
.build()
}