Bmob在AS上配置
1、添加仓库
maven {url 'https://dl.bintray.com/chaozhouzhang/maven' }
2、导入依赖
//Bmob
implementation 'cn.bmob.android:bmob-sdk:3.7.7'
implementation "io.reactivex.rxjava2:rxjava:2.2.2"
implementation 'io.reactivex.rxjava2:rxandroid:2.1.0'
implementation 'com.squareup.okio:okio:2.1.0'
implementation 'com.google.code.gson:gson:2.8.5'
implementation 'com.squareup.okhttp3:okhttp:3.12.0'
疯狂报错
1)、AS默认按照,版本错误
默认26,但是Bmob需要28
好多错误!!!直接换版本吧
compileSdkVersion 28
minSdkVersion 16
targetSdkVersion 28
implementation 'com.android.support:appcompat-v7:28.0.0'