The Android extensions (‘kotlin-android-extensions‘) compiler plugin is no longer supported

Prompts that appear when using a higher version of kotlin-gradle-plugin

    dependencies {
   		...
    	classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.22'
    }

But I get an error when compiling

> Task :detox:compileCoreNativeReleaseKotlin FAILED
e: The Android extensions ('kotlin-android-extensions') compiler plugin is no longer supported. Please use kotlin parcelize and view binding. More information: https://goo.gle/kotlin-android-extensions-deprecation

The reason is that the kotlin-android-extensions plug-in is abandoned

Use "Kotlinparcelize" and "view binding" instead, the provided link (https://goo.gle/kotlin-android-extensions-deprecation) provides more information about the "kotlin-android-extensions" plugin deprecation.

Guess you like

Origin blog.csdn.net/u011106915/article/details/131530798