简体   繁体   English

我在 build.gradle 中将存储库添加到我的存储库块,但没有采取行动

[英]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.

相关问题 如何将存储库部分移至父build.gradle配置? - How can I move repositories section to parent build.gradle config? 为android build.gradle文件添加额外的maven存储库不起作用 - Adding additional maven repositories for android build.gradle file is not working 对存储库使用不安全的协议 build.gradle 反应原生 - Using insecure protocols with repositories build.gradle react native 未指定 compileSdkVersion。 请将它添加到 build.gradle:即使我在我的 build.gradle 文件中定义了它 - compileSdkVersion is not specified. Please add it to build.gradle: even though I have it defined in my build.gradle file JAR已添加到Gradle项目,但build.gradle中没有条目 - JAR added to Gradle project but no entry in build.gradle 如何将 liquibase 块从 build.gradle 移动到 java 上的独立插件? - How can I move liquibase block from build.gradle to standalone plugin on java? 如何在 build.gradle 之外声明存储库详细信息 - How to declare repository details outside build.gradle 依赖版本未从 ext 块 build.gradle 解析 - Dependency version not resolved from ext block build.gradle 我如何修复我的 build.gradle 文件中的依赖项 - How do i fix my dependencies in my build.gradle file 对象框 build.gradle - ObjectBox build.gradle
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM