Android compilation error unresolved reference: kotlinx solution

The questions are as follows

 

 

  Solution: add the following code to app: build. Gradle in the project structure

apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'

Then click sync now to reload

Read More: