小路条条
小路条条
同步请求的时候的确是有混淆的问题,一样的代码编译运行时没问题,混淆打包后有问题,但是异步混淆打包也没问,同步请求和异步请求的代码如下:同步请求: ` PostRequest postRequest = EasyHttp.post(ApplicationLifecycle.getInstance()) .schedulers(ThreadSchedulers.IO); try { HttpData baseBean = postRequest .api(new UploadImgFileApi() .setParamsWithFile(stepId, state, "", imgFile)) .execute(new ResponseClass() { }); LogUtil.i(TAG, "uploadImgSyn--服务器返回结果:" + baseBean, false, true); if...
应该是ResponseClass被混淆了,并且即使异步,如果泛型里是List集合,也会被混淆,如:HttpData