Tag:ati no project too menu adb filtering cat permissions
For the real machine printing does not log this problem, my specific solution is this:
1. You want to make sure that the menu bar in your Android studio, tools→android→enable adb integration this ADB debug bridge is turned on, as well as the phone USB debugging turned on.
2, open after still can not hit log, we will go to see the filter log configuration, to see if we filter out, or not at all in our current project printing. So filter make sure to choose your own package, format is app: Package name.
3, so we can not print log, then you do not have to question their ability or development tools have problems, is a real-machine configuration problem.
4, I was facing the Huawei mobile phone, is precisely because of the manufacturer's custom problem, a lot of things for security, we users will not have permission, you although as a developer, but the issue of permissions is not in Google on the phone manufacturers, you do not believe? You can see operation not permitted in your log, without filtering, so don't question your ability anymore.
5, for the rights issue, we can also solve the problem, Huawei mobile phone in your dial-up interface, please dial *#* #2846579 #*#*, we entered the Project menu, then we can operate. Click Projectmenu, go to background settings, it is easy to see is the log settings. Go to log settings, hook up the AP log and close it, or you may have some concerns, then select it all and then turn it off and restart your phone.
6, if you really are the pursuit of perfection, you can also restart Android Studio, and then connect the phone, then your familiar log will appear in your Logcat log.
Using a real machine causes Androidstudio to print log