简体   繁体   中英

ERROR: Failed to resolve ExpandableLayout

I'm trying to import an existing project in android studio but i'm facing below error

Could not find com.github.SilenceDut:ExpandableLayout:1.2.0.

Could anyone help?

FYI , SilenceDut:ExpandableLayout is deprecated.

You should add below in Project level build.gradle section.

allprojects {
    repositories {
         maven { url "https://jitpack.io" } // Need this
    }
}

Note - compile is old. Use implementation .

implementation 'com.github.SilenceDut:ExpandableLayout:1.2.0'

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM