android studio ERROR: Failed to resolve: com.github.NewHuLe:NumberPickerView:v1.2 Show in P问题解决

ERROR: Failed to resolve: com.github.NewHuLe:NumberPickerView:v1.2 Show in P这个问题解决方法如下;

需要在项目级的gradle中

allprojects {
    repositories {
        google()
        jcenter()
        mavenCentral()
        maven { url "https://maven.google.com" }
        maven { url "https://jitpack.io" }
    }
}

添加如上红色代码内容

你可能感兴趣的:(android studio ERROR: Failed to resolve: com.github.NewHuLe:NumberPickerView:v1.2 Show in P问题解决)