Unable to start android app due to LogCollectManager.getUserType() error

后端 未结 5 942
闹比i
闹比i 2021-01-02 11:41

When I try to run my application on Huawei P9 I’m getting the error

Attempt to invoke virtual method \'int com.huawei.lcagent.client.LogCollectMana

5条回答
  •  生来不讨喜
    2021-01-02 11:53

    I was getting this error because I was passing an int to a TextViews setText method.

    Fix that worked..

    textView.setText(intValue + "");
    

提交回复
热议问题