Apologies if this seems like a silly question - but I'm fairly new to Android Studio.
I'm currently developing an android application using Android Studio. I started my project on one computer and have had to relocate to another one to continue.
When I open my application in Android Studio and connect my phone to the computer via USB, it immediately starts 'debugging' with a constant stream of messages in the logcat. This did not happen on my previous computer and nothing in the project has changed.
I have launched the Device monitor to try end the process but the 'stop' button is shaded out when my device is selected so I am unable to end it that way.
Any advice would be greatly appreciated! Thanks :)
答案 0 :(得分:0)
What you see is a valid and expected behaviour, it shows the overall stream of log generated by the phone, for example it may be a combined stream of logs for applications installed and system processes etc.
If you need to debug your own application, then run/debug the application and filter the logs according to the application's package name.
You can read more on : http://developer.android.com/tools/debugging/debugging-studio.html
答案 1 :(得分:0)
I expect that you have 'Log Level' set to verbose, try setting it to 'Info' or any of the other levels in the drop down menu in the 'Android Monitor' tab at the bottom of Android Studio.