Android Studio 新手问题!


我的这个implementation 'androidx.cardview:cardview-v7:28.0.0'一写进去就会报错报错内容是:

ERROR: Gradle DSL method not found: 'implementation()'
Possible causes:
The project 'mxd' may be using a version of the Android Gradle plug-in that does not contain the method (e.g. 'testCompile' was added in 1.1.0).
Upgrade plugin to version 3.4.1 and sync project

The project 'mxd' may be using a version of Gradle that does not contain the method.
Open Gradle wrapper file

The build file may be missing a Gradle plugin.
Apply Gradle plugin
我导入的是v7-28.0.0不知道为什么报错跪求大佬解答!!

1个回答

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!