android studio kotlin が新しいプロジェクトを github にインポートした後のエラー メッセージ: com.flyco.tablayout:FlycoTabLayout_Lib:3.0.0 を解決できませんでした
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
> Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'.
> Could not find com.flyco.tablayout:FlycoTabLayout_Lib:3.0.0.
Required by:
project :app > project :base_library
Possible solution:
- Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html
プロジェクトの build.gradle で:
allprojects {
repositories {
google()
jcenter()
maven {
url 'https://jitpack.io' }
maven {
url "https://dl.bintray.com/relish-wang/maven/" }
}
}
maven { url "https://dl.bintray.com/relish-wang/maven/" }
_を削除
api 'com.flyco.tablayout:FlycoTabLayout_Lib:3.0.0'
への変更:
api 'com.flyco.tablayout:FlycoTabLayout_Lib:2.1.2@aar'