Logcat errors when running android emulator

后端 未结 2 525
隐瞒了意图╮
隐瞒了意图╮ 2020-12-12 01:10

I\'m running an emulator targeting 2.3 (API Level 9). I\'ve removed all downloaded apps (which includes any code that I\'ve written) but I still get all of these logcat erro

相关标签:
2条回答
  • 2020-12-12 01:46

    If they don't deal with your application, you can ignore them. There is nothing you can do as a developer to fix a manufacturer problem on other peoples phones or even yours for that matter (well short of a custom rom).

    Edit: I'd also add that some errors/warnings are normal and are not to be of concern.

    0 讨论(0)
  • 2020-12-12 01:56

    Common logging practice in Android is smth like:

    public class MyClass
    {
        public static final String TAG=MyClass.class.getName();
    
        // some stuff
    
        Log.i(TAG, "My log message");
    }
    

    So when you're inspecting LogCat messages you can filter your logs using those TAG. This is way to ignore other logs.

    0 讨论(0)
提交回复
热议问题