How to find the logs on android studio?

后端 未结 12 1035
北荒
北荒 2020-11-30 04:46

I have tried to import my project in to android studio.The error will be shown.I need to know where do I get logs?

Consult IDE log for more details (Help | S         


        
相关标签:
12条回答
  • 2020-11-30 04:50

    There is no way to get the logs for installing problems.

    0 讨论(0)
  • 2020-11-30 04:53

    For Android studio 3.4.2 go to View -> Tool Windows -> Logcat.

    0 讨论(0)
  • 2020-11-30 04:54

    In ubuntu it should be under

    /home/user_name/product_name/system/log

    where user_name is logged in user name and product_name could be e.g. .AndroidStudio1.5

    0 讨论(0)
  • 2020-11-30 04:55

    In windows version

    you can find the log in the bottom of the IDE, click the "Gradle Console", and then choose the "Android Monitor". You will see a Droplistbox control which shows "Verbose" as a default value.

    If you use log.v() . Verbose option is okay. if you use log.d(), just change it to Debug.

    So when you run your emulator, you can catch your log from this window.

    0 讨论(0)
  • 2020-11-30 04:55

    You could open Messages or Event Log tool window to see your log. In addition to that if you want to see device log then you could open Logcat tool window to view your log : View > Tool Windows > Logcat

    0 讨论(0)
  • 2020-11-30 05:00

    I had the same problem and after some searching I was able to find my logs at the following location:

    C:\Users\<yourid>\.AndroidStudioPreview\system\log

    0 讨论(0)
提交回复
热议问题