IDEA编译gradle提示This version of the Android Support plugin for IntelliJ IDEA (or Android Studio) canno

Sometimes when I download a project online and want to learn about it, I will get this error after opening it:

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.

It literally means that the AS version is too low and you have to upgrade it. . . . Just because of this, you want me to upgrade, which is very annoying. You can use the following method to solve the problem without upgrading.

First follow the steps below to check which version you have. Mine is 4.1.3:

 

Then open gradle and change the classpath 'com.android.tools.build:gradle:4.2.1' to 4.1.3. You can also see how many projects you have no problems with and just change them here.

</article>

Reprinted from: https://blog.csdn.net/hadkfhkdh/article/details/120830542

Sometimes when I download a project online and want to learn about it, I will get this error after opening it:

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.

It literally means that the AS version is too low and you have to upgrade it. . . . Just because of this, you want me to upgrade, which is very annoying. You can use the following method to solve the problem without upgrading.

First follow the steps below to check which version you have. Mine is 4.1.3:

 

Then open gradle and change the classpath 'com.android.tools.build:gradle:4.2.1' to 4.1.3. You can also see how many projects you have no problems with and just change them here.

おすすめ

転載: blog.csdn.net/wwj256/article/details/135265597