构建带有 gradle 错误的 Android 项目失败:"Illegal embedded sign character"



无法使用gradle组装任务使Android项目构建。我得到了

What went wrong:
A problem occurred configuring root project 'MyProjectTitle'.
> Could not resolve all files for configuration ':classpath'.
> Could not download javax.activation.jar (com.sun.activation:javax.activation:1.2.0)
> Failed to download SHA1 for resource 'https://nexus.mycompanydomain.com/repository/jcenter-cache/com/sun/activation/javax.activation/1.2.0/javax.activation-1.2.0.jar'.
> Illegal embedded sign character

我们正在使用我们自己的Nexus工件仓库。它对某些同事来说效果很好。

事实证明,您需要清理~/.gradle/caches/文件夹。

相关内容

最新更新