Execution failed for task ':app:preDebugBuild'.
> Could not resolve all files for configuration ':app:debugCompileClasspath'.
> Could not find com.github.hackware1993:MagicIndicator:1.5.0.
Required by:
project :app
Possible solution:
- Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html
错误解决方法:
添加:
repositories { jcenter() google() jcenter() mavenCentral() maven {url "https://jitpack.io"}//放在前面,其他的maven,放在后面, maven { url 'https://dl.bintray.com/umsdk/release' } maven {url 'http://developer.huawei.com/repo/'} }
maven {url "https://jitpack.io"}//放在前面,其他的maven,放在后面, maven { url 'https://dl.bintray.com/umsdk/release' }