马啸东 2019-10-07 12:52 采纳率: 33.3%
浏览 694
已采纳

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条回答 默认 最新

  • zqbnqsdsmd 2019-10-07 16:35
    关注
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

问题事件

  • 已采纳回答 7月22日