Bug解决|ERROR: Failed to resolve: cn.bmob.android:bmob-sdk:3.7.3-rc1

Bug解决|ERROR: Failed to resolve: cn.bmob.android:bmob-sdk:3.7.3-rc1_第1张图片
注意检你的仓库地址放在了哪里:

 allprojects {
        repositories {
            jcenter()
            //Bmob的maven仓库地址--必填
            maven {url 'https://dl.bintray.com/chaozhouzhang/maven' }
        }
    }

仓库地址应该放在allprojects的节点下,而不是放在 repositories 节点下;
以上位置为正确,以前位置为错误:

 repositories {
        google()
        jcenter()
       maven {url 'https://raw.github.com/bmob/bmob-android-sdk/master' }
    }

你可能感兴趣的:(Bug解决|ERROR: Failed to resolve: cn.bmob.android:bmob-sdk:3.7.3-rc1)