刚开始写完UI布局运行后特惠界面一片空白,后面给onError方法加上setUpState(State.ERROR)后再运行,发现界面被判断成了Error
Log里啥也没有,也没有报错。在Impl里给code打了个log,结果log里没有任何反应,找不到这条log。。我已经没有办法了,求大佬们救救。
PS:多次重试,排除敲错的可能性,代码应该是和视频里一样的
代码如下
public class OnSellPagePresenterImpl implements IOnSellPagePresenter {
public static final int DEFAULT_PAGE = 1;
private int mCurrentPage = DEFAULT_PAGE;
private IOnSellPageCallback mOnSellPageCallback = null;
private final Api mApi;
public OnSellPagePresenterImpl(){
Retrofit retrofit = RetrofitManager.getInstance().getRetrofit();
mApi = retrofit.create(Api.class);
}
@Override
public void getOnSellContent() {
if (mIsLoading) {
return;
}
mIsLoading = true;
//通知UI状态为加载中
if (mOnSellPageCallback != null) {
mOnSellPageCallback.onLoading();
}
//获取特惠内容
String targetUrl = UrlUtils.getOnSellPageUrl(mCurrentPage);
Call<OnSellContent> task = mApi.getOnSellPageContent(targetUrl);
task.enqueue(new Callback<OnSellContent>() {
@Override
public void onResponse(Call<OnSellContent> call, Response<OnSellContent> response) {
mIsLoading = false;
int code = response.code();
LogUtils.d(this,"OnSellPagePresenterImpl code -->" + code);
if(code == HttpURLConnection.HTTP_OK){
OnSellContent result = response.body();
onSuccess(result);
}else {
onError();
}
}
@Override
public void onFailure(Call<OnSellContent> call, Throwable t) {
onError();
}
});
}
private void onSuccess(OnSellContent result) {
if (mOnSellPageCallback != null) {
try {
if(isEmpty(result)){
onEmpty();
}else {
mOnSellPageCallback.onContentLoadedSuccess(result);
}
}catch (Exception e){
e.printStackTrace();
onEmpty();
}
}
}
private boolean isEmpty(OnSellContent content){
int size = content.getData().getTbk_dg_optimus_material_response().getResult_list().getMap_data().size();
return size == 0;
}
private void onEmpty(){
if (mOnSellPageCallback != null) {
mOnSellPageCallback.onEmpty();
}
}
private void onError() {
mIsLoading = false;
if(mOnSellPageCallback != null){
mOnSellPageCallback.onError();
}
}
@Override
public void reLoad() {
//重新加载
this.getOnSellContent();
}
//当前加载状态
private boolean mIsLoading = false;
@Override
public void LoaderMore() {
if(mIsLoading){
return;
}
mIsLoading = true;
//加载更多
mCurrentPage++;
//去加载更多内容
String targetUrl = UrlUtils.getOnSellPageUrl(mCurrentPage);
Call<OnSellContent> task = mApi.getOnSellPageContent(targetUrl);
task.enqueue(new Callback<OnSellContent>() {
@Override
public void onResponse(Call<OnSellContent> call, Response<OnSellContent> response) {
mIsLoading = false;
int code = response.code();
if(code == HttpURLConnection.HTTP_OK){
OnSellContent result = response.body();
onMoreLoaded(result);
}else {
onMoreLoadedError();
}
}
@Override
public void onFailure(Call<OnSellContent> call, Throwable t) {
onMoreLoadedError();
}
});
}
private void onMoreLoadedError() {
mIsLoading = false;
mCurrentPage --;
mOnSellPageCallback.onMoreLoadedError();
}
//加载更多结果,通知UI更新
private void onMoreLoaded(OnSellContent result) {
if (mOnSellPageCallback != null) {
if(isEmpty(result)){
mOnSellPageCallback.onMoreLoaded(result);
}else {
mOnSellPageCallback.onMoreLoadedEmpty();
}
}
}
@Override
public void registerViewCallback(IOnSellPageCallback callback) {
this.mOnSellPageCallback = callback;
}
@Override
public void unregisterViewCallback(IOnSellPageCallback callback) {
this.mOnSellPageCallback = null;
}
}
部分Log如下
2021-01-19 14:03:29.413 4280-4280/com.example.taobaounion D/HomePagerFragment: title--> 推荐
2021-01-19 14:03:29.413 4280-4280/com.example.taobaounion D/HomePagerFragment: materialId 9660
2021-01-19 14:03:29.413 4280-4280/com.example.taobaounion D/CategoryPagePresenterImpl: home page url -->discovery/9660/1
2021-01-19 14:03:29.448 4280-4280/com.example.taobaounion D/HomePagerFragment: title--> 食品
2021-01-19 14:03:29.448 4280-4280/com.example.taobaounion D/HomePagerFragment: materialId 9649
2021-01-19 14:03:29.448 4280-4280/com.example.taobaounion D/CategoryPagePresenterImpl: home page url -->discovery/9649/1
2021-01-19 14:03:29.460 4280-4280/com.example.taobaounion D/HomePagerFragment: headerHeight -->0
2021-01-19 14:03:29.460 4280-4280/com.example.taobaounion D/HomePagerFragment: headerHeight -->0
2021-01-19 14:03:29.494 170-170/? E/SELinux: avc: denied { find } for pid=4326 uid=2000 name=car_service scontext=u:r:shell:s0 tcontext=u:object_r:default_android_service:s0 tclass=service_manager permissive=0
2021-01-19 14:03:29.494 4326-4326/? W/cmd: Can't find service car_service
2021-01-19 14:03:30.500 170-170/? E/SELinux: avc: denied { find } for pid=4337 uid=2000 name=car_service scontext=u:r:shell:s0 tcontext=u:object_r:default_android_service:s0 tclass=service_manager permissive=0
2021-01-19 14:03:30.500 4337-4337/? W/cmd: Can't find service car_service
2021-01-19 14:03:31.113 4280-4280/com.example.taobaounion D/CategoryPagePresenterImpl: code --->200
2021-01-19 14:03:31.126 4280-4280/com.example.taobaounion D/CategoryPagePresenterImpl: pageContent -->HomePagerContent{success=true, code=10000, message='获取成功.', data=[DataBean{category_id=0, category_name=null, click_url='//s.click.taobao.com/t?e=m%3D2%26s%3Dc%2BzH8mSDaPZw4vFB6t2Z2ueEDrYVVa64K7Vc7tFgwiGx5e2f4Vr4dVarO8KcXS7tJ7ATJSEv96%2BYzwUb1bbXppZwHxYkBYTUeP8T%2BYUOOiuIOBqu0asPv%2B%2B0Zv0h9YOvfU%2BmUCREsqEbby01aklwaAEacXMCAwuTXH5t%2B8W%2BDyXtB1mEdIYjtzZyBss0EfXtKhfzv1b%2BDcxxKmPmpIKZsA%3D%3D&scm=1007.19011.125573.0_9649&pvid=0728e44e-8036-4fdf-a1e6-b4faa503c566&app_pvid=59590_11.15.150.123_2960_1611036209829&ptl=floorId:9649;originalFloorId:9649;pvid:0728e44e-8036-4fdf-a1e6-b4faa503c566;app_pvid:59590_11.15.150.123_2960_1611036209829&union_lens=lensId%3AMAPI%401611036210%400b0f967b_a407_177193db370_7917%4001', commission_rate='30.0', coupon_amount=40, coupon_click_url='//uland.taobao.com/coupon/edetail?e=%2BRu%2FcHcisuyzGV9ZwrOHcyIYx%2FXe6XcE7LvRLJNbmD42Dgap%2FwJPgGeYH%2FN2zaWNKb9FTFtydWG42%2FHKFtRrul67Shw1QDT2K0f9cvpl9IHvhbyFdjvGVH9NittIWRtFVD2t8R%2FLdg6JtE%2FEGxJZcLcZelJt%2BzjyoNiV3MrGk5Rs53RtjN%2F1klVLuGzhGLUBkP7eJxu7RDN5FMXXM07DVHWUEIxYbI0CJTNWSR3CwiY%3D&&app_pvid=59590_11.15.150.123_2960_1611036209829&ptl=floorId:9649;app_pvid:59590_11.15.150.123_2960_1611036209829;tpp_pvid:0728e44e-8036-4fdf-a1e6-b4faa503c566&union_lens=lensId%3AMAPI%401611036210%400b0f967b_a407_177193db370_7917%4001', coupon_end_time='null', coupon_info=null, coupon_remain_count=0, coupon_share_url='//uland.taobao.com/coupon/edetail?e=%2BRu%2FcHcisuyzGV9ZwrOHcyIYx%2FXe6XcE7LvRLJNbmD42Dgap%2FwJPgGeYH%2FN2zaWNKb9FTFtydWG42%2FHKFtRrul67Shw1QDT2K0f9cvpl9IHvhbyFdjvGVH9NittIWRtFVD2t8R%2FLdg6JtE%2FEGxJZcLcZelJt%2BzjyoNiV3MrGk5Rs53RtjN%2F1klVLuGzhGLUBkP7eJxu7RDN5FMXXM07DVHWUEIxYbI0CJTNWSR3CwiY%3D&&app_pvid=59590_11.15.150.123_2960_1611036209829&ptl=floorId:9649;app_pvid:59590_11.15.150.123_2960_1611036209829;tpp_pvid:0728e44e-8036-4fdf-a1e6-b4faa503c566&union_lens=lensId%3AMAPI%401611036210%400b0f967b_a407_177193db370_7917%4001', coupon_start_fee='0.0', coupon_start_time='null', coupon_total_count=100000, item_description='来自西藏的传统特产——风干手撕牛肉干', item_id=615111457938, level_one_category_id=0, level_one_category_name='null', nick='null', pict_url='//gw.alicdn.com/bao/uploaded/i1/2200812029962/O1CN01C6QZ1a2NSeCN64glY_!!0-item_pic.jpg', seller_id=0, shop_title='null', small_images=null, title='礼云阁风干牛肉干正宗西藏特产香辣麻辣藤花椒手撕牛肉干零食250g', user_type=0, volume=155100, zk_final_price='69.9'}, DataBean{category_id=0, category_name=null, click_url='//s.click.taobao.com/t?e=m%3D2%26s%3DFDV9mRQSwYFw4vFB6t2Z2ueEDrYVVa64K7Vc7tFgwiGx5e2f4Vr4dVarO8KcXS7tJ7ATJSEv96%2BYzwUb1bbXppZwHxYkBYTUeP8T%2BYUOOiuIOBqu0asPv%2B%2B0Zv0h9YOvfU%2BmUCREsqEkW4KrNINXue720B11IXNyt%2FqMIt%2FYhbur1zw8JjSKaOMztjIg3B4dUg2AIQtRSMrGJe8N%2FwNpGw%3D%3D&scm=1007.19011.125573.0_9649&pvid=0728e44e-8036-4fdf-a1e6-b4faa503c566&app_pvid=59590_11.15.150.123_2960_1611036209829&ptl=floorId:9649;originalFloorId:9649;pvid:0728e44e-8036-4fdf-a1e6-b4faa503c566;app_pvid:59590_11.15.150.123_2960_1611036209829&union_lens=lensId%3AMAPI%401611036210%400b0f967b_a407_177193db370_7918%4001', commission_rate='20.0', coupon_amount=20, coupon_click_url='//uland.taobao.com/coupon/edetail?e=uWZE4M8AyVqzGV9ZwrOHcyIYx%2FXe6XcE7LvRLJNbmD42Dgap%2FwJPgGeYH%2FN2zaWN7KjJSsBRx3LJq7NyTG344167Shw1QDT2K0f9cvpl9IHvhbyFdjvGVH9NittIWRtFVD2t8R%2FLdg6JtE%2FEGxJZcLcZelJt%2BzjyIptJJrTnzCadi%2BF3mL6igFSpzP1JdlyODbpMRVSd2FlDiTMSfMQCvQIau621gO82&&app_pvid=59590_11.15.150.123_2960_1611036209829&ptl=floorId:9649;app_pvid:59590_11.15.150.123_2960_1611036209829;tpp_pvid:0728e44e-8036-4fdf-a1e6-b4faa503c566&union_lens=lensId%3AMAPI%401611036210%400b0f967b_a407_177193db370_7918%4001', coupon_end_time='null', coupon_info=null, coupon_remain_count=0, coupon_share_url='//uland.taobao.com/coupon/edetail?e=uWZE4M8AyVqzGV9ZwrOHcyIYx%2FXe6XcE7LvRLJNbmD42Dgap%2FwJPgGeYH%2FN2zaWN7KjJSsBRx3LJq7NyTG344167Shw1QDT2K0f9cvpl9IHvhbyFdjvGVH9NittIWRtFVD2t8R%2FLdg6JtE%2FEGxJZcLcZelJt%2BzjyIptJJrTnzCadi%2BF3mL6igF
2021-01-19 14:03:31.128 4280-4280/com.example.taobaounion D/HomePagerFragment: Looper size-->5
2021-01-19 14:03:31.130 4280-4280/com.example.taobaounion D/HomePagerFragment: url -->//gw.alicdn.com/bao/uploaded/i3/2331710567/O1CN01yGNsQV1G3jDoJZEf9_!!0-item_pic.jpg
2021-01-19 14:03:31.145 4280-4280/com.example.taobaounion W/Glide: Failed to find GeneratedAppGlideModule. You should include an annotationProcessor compile dependency on com.github.bumptech.glide:compiler in your application and a @GlideModule annotated AppGlideModule implementation or LibraryGlideModules will be silently ignored
2021-01-19 14:03:31.204 4280-4280/com.example.taobaounion I/TetheringManager: registerTetheringEventCallback:com.example.taobaounion
2021-01-19 14:03:31.232 4280-4280/com.example.taobaounion D/HomePagerFragment: headerHeight -->0
2021-01-19 14:03:31.232 4280-4280/com.example.taobaounion D/HomePagerFragment: headerHeight -->467
2021-01-19 14:03:31.375 4280-4280/com.example.taobaounion I/chatty: uid=10192(com.example.taobaounion) identical 4 lines
2021-01-19 14:03:31.399 4280-4280/com.example.taobaounion D/HomePagerFragment: headerHeight -->0
2021-01-19 14:03:31.491 170-170/? E/SELinux: avc: denied { find } for pid=4345 uid=2000 name=car_service scontext=u:r:shell:s0 tcontext=u:object_r:default_android_service:s0 tclass=service_manager permissive=0
2021-01-19 14:03:31.494 4345-4345/? W/cmd: Can't find service car_service
2021-01-19 14:03:31.547 4280-4280/com.example.taobaounion D/HomePagerFragment: headerHeight -->0
2021-01-19 14:03:31.595 4280-4280/com.example.taobaounion I/chatty: uid=10192(com.example.taobaounion) identical 3 lines
2021-01-19 14:03:31.613 4280-4280/com.example.taobaounion D/HomePagerFragment: headerHeight -->0
2021-01-19 14:03:31.983 4280-4280/com.example.taobaounion D/CategoryPagePresenterImpl: code --->200
2021-01-19 14:03:32.006 4280-4280/com.example.taobaounion D/CategoryPagePresenterImpl: pageContent -->HomePagerContent{success=true, code=10000, message='获取成功.', data=[DataBean{category_id=50008616, category_name=null, click_url='//s.click.taobao.com/t?e=m%3D2%26s%3DGuTRB4nq8gJw4vFB6t2Z2ueEDrYVVa64Dne87AjQPk9yINtkUhsv0NUV%2B5bkvEE4ii5Lljlv6tRm5nS0VR3oT0KAZCke%2BMGJxC%2FP4%2FZfPFbcQmwDRwHnn1oN8CPq4PKMZiqtwk9j5QPwdDmZ4my9rDNjG1bDPA0PBBckuaIBCt3xT6DAKLhWdIJpmveamUWe4zO2MiDcHh1SDYAhC1FIysYl7w3%2FA2kb&scm=1007.19011.125573.0_9660&pvid=8f519fc7-76f2-4acf-a405-8dfd97282935&app_pvid=59590_11.1.89.214_1152_1611036210712&ptl=floorId:9660;originalFloorId:9660;pvid:8f519fc7-76f2-4acf-a405-8dfd97282935;app_pvid:59590_11.1.89.214_1152_1611036210712&union_lens=lensId%3AMAPI%401611036210%400b0159d6_a901_177193db6cf_6031%4001', commission_rate='19.5', coupon_amount=40, coupon_click_url='//uland.taobao.com/coupon/edetail?e=3Sk83AEqBdgNfLV8niU3R5TgU2jJNKOfNNtsjZw%2F%2FoIpv0VMW3J1YZ6g7S%2FyjKSbNI65HA5bMPrqo%2F%2Bj4iZ55OmFKyIN1bVX65OH1WfUm95Uf2TiFOebe6EoGhHd2dAUeNO6HkfgVLGOeUcSvy%2FHYmF5qFnaO9996DeX2ucVKhvHjZlrd41oqCtXMc0NHG1Bz5JO%2BPQ43%2B5lBRYM90QVRw%3D%3D&&app_pvid=59590_11.1.89.214_1152_1611036210712&ptl=floorId:9660;app_pvid:59590_11.1.89.214_1152_1611036210712;tpp_pvid:8f519fc7-76f2-4acf-a405-8dfd97282935&union_lens=lensId%3AMAPI%401611036210%400b0159d6_a901_177193db6cf_6031%4001', coupon_end_time='1611071999000', coupon_info=null, coupon_remain_count=86000, coupon_share_url='//uland.taobao.com/coupon/edetail?e=3Sk83AEqBdgNfLV8niU3R5TgU2jJNKOfNNtsjZw%2F%2FoIpv0VMW3J1YZ6g7S%2FyjKSbNI65HA5bMPrqo%2F%2Bj4iZ55OmFKyIN1bVX65OH1WfUm95Uf2TiFOebe6EoGhHd2dAUeNO6HkfgVLGOeUcSvy%2FHYmF5qFnaO9996DeX2ucVKhvHjZlrd41oqCtXMc0NHG1Bz5JO%2BPQ43%2B5lBRYM90QVRw%3D%3D&&app_pvid=59590_11.1.89.214_1152_1611036210712&ptl=floorId:9660;app_pvid:59590_11.1.89.214_1152_1611036210712;tpp_pvid:8f519fc7-76f2-4acf-a405-8dfd97282935&union_lens=lensId%3AMAPI%401611036210%400b0159d6_a901_177193db6cf_6031%4001', coupon_start_fee='69.0', coupon_start_time='1610812800000', coupon_total_count=100000, item_description='来自西藏的传统特产——风干手撕牛肉干', item_id=615111457938, level_one_category_id=50002766, level_one_category_name='零食/坚果/特产', nick='礼云阁旗舰店', pict_url='//gw.alicdn.com/bao/uploaded/i1/2200812029962/O1CN01C6QZ1a2NSeCN64glY_!!0-item_pic.jpg', seller_id=2200812029962, shop_title='礼云阁旗舰店', small_images=com.example.taobaounion.model.domain.HomePagerContent$DataBean$SmallImagesBean@bc02a2f, title='礼云阁风干牛肉干正宗西藏特产香辣麻辣藤花椒手撕牛肉干零食250g', user_type=1, volume=155100, zk_final_price='69.9'}, DataBean{category_id=50010422, category_name=null, click_url='//s.click.taobao.com/t?e=m%3D2%26s%3DwFe8I%2BOonkpw4vFB6t2Z2ueEDrYVVa64Dne87AjQPk9yINtkUhsv0NUV%2B5bkvEE4ii5Lljlv6tRm5nS0VR3oT0KAZCke%2BMGJxC%2FP4%2FZfPFbcQmwDRwHnn1oN8CPq4PKMZiqtwk9j5QPwdDmZ4my9rFhBpgx27xgP08TC8rEy2O9bRsQ%2F7eiVfZ%2BUPu%2BYVQzqSdChf3U3iXY%2B5QowgvHJPA%3D%3D&scm=1007.19011.125573.0_9660&pvid=8f519fc7-76f2-4acf-a405-8dfd97282935&app_pvid=59590_11.1.89.214_1152_1611036210712&ptl=floorId:9660;originalFloorId:9660;pvid:8f519fc7-76f2-4acf-a405-8dfd97282935;app_pvid:59590_11.1.89.214_1152_1611036210712&union_lens=lensId%3AMAPI%401611036210%400b0159d6_a901_177193db6cf_6032%4001', commission_rate='19.5', coupon_amount=20, coupon_click_url='//uland.taobao.com/coupon/edetail?e=3r5OOoF0%2FHANfLV8niU3R5TgU2jJNKOfNNtsjZw%2F%2FoJ5a4pW%2BUzNNYeafmcYgriW3spAD%2FL8ORl0HqCteZPMasuRTiT9oEhVZV8pr6FWc0NT2LHwmZaG3y%2B3XDqtejFumMHpNfYdHdBwWfUaU7r%2BdMHdg8oYVc%2FsB3IEI%2FtGZdTSBjM3vXy9T041UyeSsrqpDNJ7jXMyFwklM1ZJHcLCJg%3D%3D&&app_pvid=59590_11.1.89.214_1152_1611036210712&ptl=floorId:9660;app_pvid:59590_11.1.89.214_1152_1611036210712;tpp_pvid:8f519fc7-76f2-4acf-a405-8dfd97282935&union_lens=lensId%3AMAPI%401611036210%400b0159d6_a901_177193db6cf_6032%4001', coupon_end_time='1611158399000', coupon_info=null, coupon_remain_count=70000, coupon_share_url='//uland.taobao.com/coupon/edetail?e=3r5OOoF0%2FHANfLV8niU3R5TgU2jJNKOfNNtsjZw%2F%2FoJ5a4pW%2BUzNNYeafmc
2021-01-19 14:03:32.006 4280-4280/com.example.taobaounion D/HomePagerFragment: Looper size-->5
2021-01-19 14:03:32.006 4280-4280/com.example.taobaounion D/HomePagerFragment: url -->//gw.alicdn.com/bao/uploaded/i1/2207812169677/O1CN019LlUdE2LM7Nwp4z0s_!!2207812169677-0-picasso.jpg
2021-01-19 14:03:32.049 4280-4280/com.example.taobaounion D/HomePagerFragment: headerHeight -->467
2021-01-19 14:03:32.144 4280-4280/com.example.taobaounion I/chatty: uid=10192(com.example.taobaounion) identical 4 lines
2021-01-19 14:03:32.163 28232-28319/? I/PeriodicStatsRunner: PeriodicStatsRunner.call():180 call()
2021-01-19 14:03:32.163 28232-28319/? I/PeriodicStatsRunner: PeriodicStatsRunner.call():184 No submit PeriodicStats since input started.
2021-01-19 14:03:32.266 382-382/? I/perfetto: probes_producer.cc:329 Producer stop (id=1123)
2021-01-19 14:03:32.273 383-383/? I/perfetto: ng_service_impl.cc:1948 Tracing session 1123 ended, total sessions:0
2021-01-19 14:03:32.277 382-382/? I/perfetto: ftrace_procfs.cc:183 disabled ftrace
2021-01-19 14:03:32.281 393-4276/? I/iorapd: Perfetto TraceBuffer saved to file: /data/misc/iorapd/com.example.taobaounion/1/com.example.taobaounion.ui.activity.MainActivity/raw_traces/1611036212281358800.perfetto_trace.pb
2021-01-19 14:03:32.499 170-170/? E/SELinux: avc: denied { find } for pid=4351 uid=2000 name=car_service scontext=u:r:shell:s0 tcontext=u:object_r:default_android_service:s0 tclass=service_manager permissive=0
2021-01-19 14:03:32.499 4351-4351/? W/cmd: Can't find service car_service
2021-01-19 14:03:33.486 170-170/? E/SELinux: avc: denied { find } for pid=4357 uid=2000 name=car_service scontext=u:r:shell:s0 tcontext=u:object_r:default_android_service:s0 tclass=service_manager permissive=0
2021-01-19 14:03:33.486 4357-4357/? W/cmd: Can't find service car_service
2021-01-19 14:03:33.713 28232-28319/? I/PeriodicStatsRunner: PeriodicStatsRunner.call():180 call()
2021-01-19 14:03:33.713 28232-28319/? I/PeriodicStatsRunner: PeriodicStatsRunner.call():184 No submit PeriodicStats since input started.
2021-01-19 14:03:34.497 170-170/? E/SELinux: avc: denied { find } for pid=4363 uid=2000 name=car_service scontext=u:r:shell:s0 tcontext=u:object_r:default_android_service:s0 tclass=service_manager permissive=0
2021-01-19 14:03:34.497 4363-4363/? W/cmd: Can't find service car_service
2021-01-19 14:03:35.504 170-170/? E/SELinux: avc: denied { find } for pid=4374 uid=2000 name=car_service scontext=u:r:shell:s0 tcontext=u:object_r:default_android_service:s0 tclass=service_manager permissive=0
2021-01-19 14:03:35.505 4374-4374/? W/cmd: Can't find service car_service
2021-01-19 14:03:36.516 170-170/? E/SELinux: avc: denied { find } for pid=4380 uid=2000 name=car_service scontext=u:r:shell:s0 tcontext=u:object_r:default_android_service:s0 tclass=service_manager permissive=0
2021-01-19 14:03:36.517 4380-4380/? W/cmd: Can't find service car_service
2021-01-19 14:03:36.861 27559-27572/? I/system_server: oneway function results will be dropped but finished with status OK and parcel size 4
2021-01-19 14:03:36.864 27559-27572/? I/system_server: oneway function results will be dropped but finished with status OK and parcel size 4
2021-01-19 14:03:36.997 27559-27586/? I/system_server: oneway function results will be dropped but finished with status OK and parcel size 4
2021-01-19 14:03:37.504 170-170/? E/SELinux: avc: denied { find } for pid=4388 uid=2000 name=car_service scontext=u:r:shell:s0 tcontext=u:object_r:default_android_service:s0 tclass=service_manager permissive=0
2021-01-19 14:03:37.504 4388-4388/? W/cmd: Can't find service car_service
2021-01-19 14:03:38.509 170-170/? E/SELinux: avc: denied { find } for pid=4394 uid=2000 name=car_service scontext=u:r:shell:s0 tcontext=u:object_r:default_android_service:s0 tclass=service_manager permissive=0
2021-01-19 14:03:38.509 4394-4394/? W/cmd: Can't find service car_service
2021-01-19 14:03:39.509 170-170/? E/SELinux: avc: denied { find } for pid=4400 uid=2000 name=car_service scontext=u:r:shell:s0 tcontext=u:object_r:default_android_service:s0 tclass=service_manager permissive=0
2021-01-19 14:03:39.509 4400-4400/? W/cmd: Can't find service car_service
2021-01-19 14:03:39.952 27559-27586/? I/system_server: oneway function results will be dropped but finished with status OK and parcel size 4
2021-01-19 14:03:40.228 29306-29427/? I/PlayCommon: [214] aora.c(26): Preparing logs for uploading
2021-01-19 14:03:40.229 29306-29427/? I/PlayCommon: [214] aora.c(167): Connecting to server for timestamp: https://play.googleapis.com/play/log/timestamp
2021-01-19 14:03:40.511 170-170/? E/SELinux: avc: denied { find } for pid=4413 uid=2000 name=car_service scontext=u:r:shell:s0 tcontext=u:object_r:default_android_service:s0 tclass=service_manager permissive=0
2021-01-19 14:03:40.511 4413-4413/? W/cmd: Can't find service car_service
2021-01-19 14:03:41.501 170-170/? E/SELinux: avc: denied { find } for pid=4419 uid=2000 name=car_service scontext=u:r:shell:s0 tcontext=u:object_r:default_android_service:s0 tclass=service_manager permissive=0
2021-01-19 14:03:41.501 4419-4419/? W/cmd: Can't find service car_service
bean类里面的,private long seller_id; 这个关键字改成long类型就可以了
你的task错了,跟我一样在utils下的UrlUtils的getOnSellPageUrl的方法中少打了一个/导致,请求404,直接给你判断为网络错误状态
一样的问题。。。老兄解决了木得。。。
我也一样的问题,请问您解决了吗?
兄弟好了吗,我的一样的问题