“Unable to open log device '/dev/log/main': No such file or directory”

后端 未结 7 2061
傲寒
傲寒 2020-12-02 06:34

I am new to Android development and bought a cheap Huawei Sonic (U8650 apparently) so I could test my first attempts at making an app on an actual device.

However, w

7条回答
  •  自闭症患者
    2020-12-02 07:06

    I have a custom rom on my Samsung Captivate, but my approach may work for others as well:

    Open up CMD or Terminal and type:

    adb shell
    logcat-enable
    reboot
    

    The rom I have is Continuum v6.1, but this still may work for others.
    If you have the terminal emulator on the phone, you also may be able to do:

    logcat-enable
    

    and then just reboot the phone. I didn't try that, but it probably would work too. My phone is also rooted - don't know if that makes a difference.

提交回复
热议问题