Closed pingziJJ closed 7 years ago
我也遇到了这个问题
Error:Could not find com.tencent.tinker:tinker-patch-gradle-plugin:1.7.11. Searched in the following locations: file:/D:/Program Files/Android/Android Studio/gradle/m2repository/com/tencent/tinker/tinker-patch-gradle-plugin/1.7.11/tinker-patch-gradle-plugin-1.7.11.pom file:/D:/Program Files/Android/Android Studio/gradle/m2repository/com/tencent/tinker/tinker-patch-gradle-plugin/1.7.11/tinker-patch-gradle-plugin-1.7.11.jar file:/C:/Users/Administrator/.m2/repository/com/tencent/tinker/tinker-patch-gradle-plugin/1.7.11/tinker-patch-gradle-plugin-1.7.11.pom file:/C:/Users/Administrator/.m2/repository/com/tencent/tinker/tinker-patch-gradle-plugin/1.7.11/tinker-patch-gradle-plugin-1.7.11.jar https://jcenter.bintray.com/com/tencent/tinker/tinker-patch-gradle-plugin/1.7.11/tinker-patch-gradle-plugin-1.7.11.pom https://jcenter.bintray.com/com/tencent/tinker/tinker-patch-gradle-plugin/1.7.11/tinker-patch-gradle-plugin-1.7.11.jar Required by: project :
不知道什么原因
我也是
我查看了 jcenter 官网,发现已经没有了 http://jcenter.bintray.com/com/tencent/tinker/
duplicate #556
@wlj190785060 @awdvhil9 @shishuo365 我在本地找到 tinker 的 jar 包,直接导入 jar 包,先凑合用吧,起码编译没啥问题了....
现在项目的gradle需要升级到3.1,tinker报错:
Annotation processors must be explicitly declared now. The following dependencies on the compile classpath are found to contain annotation processor. Please add them to the annotationProcessor configuration. - tinker-android-anno-1.9.1.jar (com.tencent.tinker:tinker-android-anno:1.9.1)
Alternatively, set android.defaultConfig.javaCompileOptions.annotationProcessorOptions.includeCompileClasspath = true to continue with previous behavior. Note that this option is deprecated and will be removed in the future.
See https://developer.android.com/r/tools/annotation-processor-error-message.html for more details.
想问问tinker是不是还没有支持到gradle3.1?
Gradle 编译报错, 提示
尝试 clean/rebuild 同样没有用处
另外附上Gradle配置: