'This version of the Android Support plugin for IntelliJ IDEA (or Android Studio) cannot open this project, please retry with version 4.2 or newer

i am getting the next error when i try to use the next version

 classpath 'com.android.tools.build:gradle:4.2.1'
 distributionUrl=http\://test.local.host/artifactory/android-devel/org/gradle/6.8/gradle-6.8-bin.zip

The error is

FAILURE: Build failed with an exception.

  • What went wrong: This version of the Android Support plugin for IntelliJ IDEA (or Android Studio) cannot open this project, please retry with version 4.2 or newer.

  • Try: Run with --info or --debug option to get more log output. Run with --scan to get full insights.

My version android is 4.1.2



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source