[英]I added repository to my repositories block in build.gradle but did not act
I imported FlexibleRichTextView library in a gradle project in eclipse and added all necessary jar files to the project for resolving errors, but one error is remained ( Sereenshot of error ).我在 eclipse 的 gradle 项目中导入了FlexibleRichTextView 库,并将所有必要的 jar 文件添加到项目中以解决错误,但仍然存在一个错误(错误的 Sereenshot )。 This error is related to CodeView-android library .此错误与CodeView-android 库有关。 For resolving this error too, i added maven { url "https://jitpack.io" }
in my root build.gradle
at the end of repositories and added the dependency compile 'com.github.kbiakov:CodeView-android:1.3.1'
in dependencies block( Screenshot of build.gradle ), but the error has not been resolved yet.为了解决这个错误,我在存储库末尾的根build.gradle
中添加了maven { url "https://jitpack.io" }
并添加了依赖compile 'com.github.kbiakov:CodeView-android:1.3.1'
in dependencies 块( build.gradle 的截图),但错误尚未解决。 what should I do?我该怎么办?
The gradle file might have been cached by the IDE. gradle 文件可能已被 IDE 缓存。 Try restarting the project or sync the gradle project to reflect the newly picked changes.尝试重新启动项目或同步 gradle 项目以反映新选择的更改。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.