我刚刚将我的 android studio 更新到最后一个版本,即 3.3.5,但是
当我Gradle DSL method not found: 'compile()'
Possible causes:
试图将 apdf 视图添加到我的项目时,我真的遇到了这个问题。知道我也已经有了最新版本的 gradle。但它仍然表明我应该更新我的抓斗。
The project 'test' 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.5.3 and sync project
'''
The project 'test' 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
我认为这是因为源代码从编译开始,但我该如何替换它。