app/src/main/java/cn/flightfeather/thirdapp/CommonApplication.java
@@ -17,6 +17,7 @@ import cn.flightfeather.thirdapp.bean.entity.Userinfo; import cn.flightfeather.thirdapp.common.net.RetrofitFactory; import cn.flightfeather.thirdapp.util.crashreport.MyCrashHandler; import cn.flightfeather.thirdapp.util.tbs.Tbs; import retrofit2.Retrofit; import retrofit2.adapter.rxjava2.RxJava2CallAdapterFactory; import retrofit2.converter.gson.GsonConverterFactory; @@ -52,6 +53,9 @@ //初始化网络请求 RetrofitFactory.init(this); //x5内核初始化 Tbs.Companion.init(this); if (instance == null) { instance = this; }