Why are Log.d() and Log.v() not printing

前端 未结 10 2171
难免孤独
难免孤独 2020-12-10 10:15

I have the following test code in my Activity:

@Override
public void onStart() {
    super.onStart();
    Log.e(CLASS_NAME, \"ERROR onStart()\");
    Log.w(C         


        
10条回答
  •  臣服心动
    2020-12-10 11:02

    Fix For meizu phone

    Settings -> Accessibility -> Developer options -> advanced logging->set "Allow all"

    For Meizu MX4(Flyme 6.1.0.0), M2(Flyme 6.1.0.0G), M5(Flyme 6.3.0.0G) :

    Settings->Accessibility - > Developer Options -> Performance optimization -> Advanced logging -> set "Allow all"

    Huawei, logcat not showing the log for my app?

    For other phone search in "developers options": option "logging" and set "all".

提交回复
热议问题