Android的gradle无法find方法’org.grade.api.internal.file.DefaultSourceDirectorySet’
我试图将java类转换为Kotlin,工作正常,除了我得到了以下错误。我试图重新下载像下面suggessted所有的依赖,但无济于事。请帮助我这个错误。
错误:
Error:(2, 0) Unable to find method 'org.gradle.api.internal.file.DefaultSourceDirectorySet.(Ljava/lang/String;Lorg/gradle/api/internal/file/FileResolver;)V'. Possible causes for this unexpected error include:- Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.) Re-download dependencies and sync project (requires network)
- The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this problem. Stop Gradle build processes (requires restart)
- Your project may be using a third-party plugin which is not compatible with the other plugins in the project or the version of Gradle requested by the project.
In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes.
- 如何使TextInputLayout提示为必填字段为红色星号
- android数据绑定unit testing错误解析数据绑定编译器选项失败。 PARAMS:
- EmojiCompat生成的ID“android:id / inputExtractEditText”
- Kotlin使用Gson将json字符串转换为ojbect列表
- “使用Fuel HTTP提供的参数不能调用以下任何函数”
- 如何从Android应用程序发送文字数据到Thinkspeak频道?
- Kotlin和ObjectBox:数据类中的关系
- Android Studio 3 beta 2 Build失败
- Kotlin:如何使用List转换:未选中Cast:kotlin.collections.List <Kotlin.Any?>转换为kotlin.colletions.List <Waypoint>