AS kotlin が新しいプロジェクトを github にインポートした後、次のエラー メッセージが表示されます: com.flyco.tablayout:FlycoTabLayout_Lib:3.0.0 を解決できませんでした

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'

おすすめ

転載: blog.csdn.net/qq_35091074/article/details/129287791