Android Error:Could not find lottie.jar

Posted Arcturis

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Android Error:Could not find lottie.jar相关的知识,希望对你有一定的参考价值。

Android Error:Could not find lottie.jar

今天遇到了一个及其头疼的问题

同事的工程导到我的电脑里却报错,错误是找不到jcenter仓库里的lottie.jar包

但是我手动进入到jcenter仓库却发现明明就存在

按照网上的说法 File - > invalidate Caches/Restart 。。之后也一样

后来发现是Gradle版本的问题,换了几个本地的Gradle版本之后就没问题了

tip:settings ---> Gradle ---->Use local Gradle..然后选择你本地的Gradle

 

以上是关于Android Error:Could not find lottie.jar的主要内容,如果未能解决你的问题,请参考以下文章

Error:Could not find com.android.tools.build:gradle:2.14.1.

Windows cordova build Error: Could not find gradle wrapper within Android SDK.(转)

ERROR: Could not find com.android.tools.build:gradle:3.5.0. Searched in the following locations:

Error: Could not find gradle wrapper within Android SDK. Might need to update your Android SDK. Look

Android studio 编译失败Error:Could not read entry ':app:processDebugManifest' from cache

AndroidStudio导入Eclipse项目报错Error:Could not determine the class-path for interface com.android.builder