Android Studio 3.4 w/ Kotlin plugin
macOS 10.14.3
の環境で、
Unresolved reference: fragment_main
Don't include android.R here.
ってコンパイルエラーで難儀した。
以下のwebサイトをヒントに解決したっぽい。
可能性ある原因は複数あって、
kotlin plugin, Gradeのupdateと以下のcomment out実施を行なった。
dependencies {
… 略
//implementation "org.jetbrains.kotlin:kotlin-android-extensions:$kotlin_version"
}
//import android.R
//import kotlinx.android.synthetic.main.fragment_main.*
android-kotlin-extensionsは鬼門だ。