Android Studio 3.1 always gets an error on the ability to resolve dependencies

After updating android studio to 3.1, if I add a new dependency, it will suddenly error:

dependencies {
compile'com.github.florent37:android-slidr:1.0.4'
}

It gives this error:

< /p>

Failed to resolve: com.github.florent37:android-slidr:1.0.4

All themes in my style give red errors And said that the symbol’theme’ cannot be resolved, but if I run my application, it works very interesting.

Failed to resolve: com.github.florent37:android-slidr:1.0.4

Make sure to add in the Project Level build.gradle section The following.

allprojects {
repositories {
.........
maven {
url " http://dl.bintray.com/florent37/maven"
}
}

FYI

If the same problem occurs, you can use the OLD version

compile'com.github.florent37:android-slidr:1.0.3'

Update android studio to After 3.1, if I add a new dependency, it will suddenly error:

dependencies {
compile 'com.github.florent37:android-slidr:1.0.4'
}

It gives this error:

Failed to resolve: com.github.florent37:android-slidr:1.0.4

All the themes in my style give a red error and say that the symbol’ theme cannot be resolved ‘, but if I run my application, it works very interesting.

Failed to resolve: com.github.florent37 :android-slidr:1.0.4

Make sure to add the following in the Project Level build.gradle section.

allprojects {< br /> repositories {
.........
maven {
url "http://dl.bintray.com/florent37/maven"
}< br /> }

FYI

If the same problem occurs, you can use the OLD version

compile'com.github. florent37:android-slidr:1.0.3'

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 3551 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.