There is very awkward thing I am facing logcat is shown in debugging application but while running(not debugging) application it is not showing logcat .
I tried rest
I have solved this issue by enabling "Use libusb backend" option in Android Studio -> Preferences -> Debugger -> Android Debug Bridge (adb).
i had the kind of issue the way which got me the logcat to work was that i was notchoosing the right filter.as i was using sqlite(Database) and in filters i had choosen firebase.so that's why my logcat was not working