1、implementation 'cn.bmob.android:bmob-sdk:3.7.4'不成功
現象:no implementation
原因:未知
解決方法:導入本地SDK
2、No implementation found for boolean cn.bmob.v3.helper.BmobNative.init(androi
現象:導入本地SDK,編譯後,APP閃退,報No implementation found for boolean cn.bmob.v3.helper.BmobNative.init(androi
原因:so鏡像未導入
解決方法:從demo中手動導入so鏡像
3、Lorg/reactivestreams/Publisher
現象:點擊一個包含bmob控件的activity,閃退,報Lorg/reactivestreams/Publisher
原因:缺少reactive-streams.jar包
解決方式:implementation "org.reactivestreams:reactive-streams:1.0.2"
4、Failed resolution of: Lokhttp3/MediaType
現象:點擊一個包含bmob控件的activity,閃退,報Failed resolution of: Lokhttp3/MediaType
解決方法:不能直接把okio這個jar包直接本地添加。
5、java.net.UnknownServiceException: CLEARTEXT communication to open2.bmob.cn not permitted by network security policy
現象:無法聯網;
原因:https://www.jianshu.com/p/5f65656d0a06
解決方法:配置securityConfig