

invoke “dmesg”: See it as it happens: # adb shell dmesg.How do I find my logs on Android? How do I get emulator logs?.How do I find the event log on my Samsung Galaxy?.

(Just besides the previous one)įollow me ( albertgao) on twitter, if you want to hear more about my interesting ideas. And for filtering from all the log messages, you need to make sure the another combo menu set to Verbose as well.Or use tag or other things to filter if you want. The rest is easy, just sort it by package name, etc.Upper-left of this Android Monitor window, click that combo menu, and click Edit filter configuration.Menu: View -> Tool Windows -> Android Monitor.Windows: adb logcat | FINDSTR “msg for filter".Mac or Linux: adb logcat | grep “msg for filter”.install to specific one: adb -s 300453532e029200 install -r abc.apk.Check all the available devices: adb devices, It should give you some result like below: 1.When you have multiple devices and emulators connected to your laotop, the above commands won’t work, you need to tell abd explicitly which destination you want to install.Otherwise, will give you an error, and you need uninstall and install. -r stands for reinstall, so you can debug with ease.install to the device: adb -d install -r abc.apk.install to the emulator: adb -e install -r abc.apk.But if you want more productivity, you need use the adb command. It’s very usual that you need to install the package to the real device, and it’s totally fine for you to manually install the compiled APK. When you are developing some cross platform apps, React native, Phonegap, Kivy, Native script, etc.
