Android Gradle Plugin has been replaced from 2.2.3 to 3.6.0

Gradle version changed from 3.5 to 6.4.1

1 Could not get unknown property ‘apkVariantData’ for object of type com.android…… Gradle 3.0 has some API changes, so if your project references some third-party Gradle plugins that use some old API, this will cause an error. For example, the apkVariantData directive has been removed from Gradle 3.0. 2 Could not find method leftShift() for arguments… The << operator is deprecated in Gradle 4.x and is removed in Gradle 5.0. To write in doLast 3 Could not initialize class org. Jetbrains. Kotlin. Gradle. Internal. KotlinSourceSetProviderImplKt The command line is used to check the kotlin version of Gradle -v and then adjust the Kotlin version in the project build.gradle to match the gradle version. 4 a) Failed to resolve: Org. Jetbrains. Kotlin: kotlin – stdlib – jre7:1.3.71 (doubt) change for implementation “org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version”