Closed Thor-jelly closed 5 years ago
我的临时解决办法是 implementation ('com.contrarywind:Android-PickerView:4.1.7'){ exclude group: 'com.contrarywind' } implementation 'com.contrarywind:wheelview:4.0.9'
本地依赖 WheelView
@smilingK @Thor-jelly 下个版本会适配
所以我还是回到了gradle 4.10.1
gradle 5.1.1的确出问题了,需要自己再引入一个依赖
回复有三种方法: 1.回到原来gradle的版本(我用的这种) 2.移除当前依赖中的compile,在本地引入implementation 3.等新版本
Android Studio3.4 classpath 'com.android.tools.build:gradle:3.4.0' distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-all.zip
Caused by: org.gradle.api.internal.tasks.compile.CompilationFailedException: Compilation failed; see the compiler error output for details.
错误: 无法访问WheelView 找不到com.contrarywind.view.WheelView的类文件