El complemento Kotlin debe estar habilitado antes
THE ORDER MUST BE SAME :
apply plugin: 'com. android. application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt'
apply plugin: 'kotlin-android-extensions'
apply plugin: "androidx . navigation. safeargs"
android developer