简体   繁体   English

Gradle无法解决github依赖

[英]Gradle cannot resolve github dependency

I had created a library for android, pushed it to gitub, and build it with Jitpack. 我已经为Android创建了一个库,将其推送到gitub,并使用Jitpack进行构建。 Now, my problem is, that Gradle cannot resolve my dependency (failed to resolve com.github.[…]) I tried to import the default android project from jitpack - it works. 现在,我的问题是,Gradle无法解析我的依赖项(无法解析com.github。[…])。我试图从jitpack导入默认的android项目-它可以工作。 So my question is, what is wrong with my lib? 所以我的问题是,我的库怎么了? https://www.github.com/ludev-studio/colorpicker-android https://www.github.com/ludev-studio/colorpicker-android

Thank you for your help! 谢谢您的帮助!

If you look at your Jitpack dashboard, you can see that all of your builds have failed: https://jitpack.io/#ludev-studio/colorpicker-android 如果您查看Jitpack仪表板,则可以看到所有构建都失败了: https ://jitpack.io/#ludev-studio/colorpicker-android

Fix the errors in the logs, and then your library will be resolved correctly. 修复日志中的错误,然后库将正确解析。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM