Could not find com.wang.avi:library
时间: 2023-11-22 15:56:55 浏览: 542
This error occurs when the Gradle build system is unable to find the library `com.wang.avi:library` in the specified repository.
To solve this issue, you can try the following steps:
1. Make sure that you have added the correct repository in your `build.gradle` file. For example, if you are using JCenter, add the following code to your `build.gradle` file:
```
repositories {
jcenter()
}
```
2. Check if you have specified the correct library name and version in your `build.gradle` file. For example, if you want to use version 2.1.3 of the library, add the following code to your `dependencies` block:
```
dependencies {
implementation 'com.wang.avi:library:2.1.3'
}
```
3. If you are using a custom repository, make sure that it is accessible from your network.
4. If the above steps do not work, try to clean and rebuild your project using the command `./gradlew clean build`.
I hope this helps you to resolve the issue.
阅读全文