Reputation: 5353
I have tried to import my project to Android Studio and I got this error. I need to know where I can get the logs.
Consult IDE log for more details (Help | Show Log)
Upvotes: 146
Views: 218097
Reputation: 113
For me on Windows, it was at:
%LocalAppData%\Google\AndroidStudio2023.1\log\idea.log
Upvotes: 0
Reputation: 2024
On my Ubuntu system it was under ~/.cache/Google/AndroidStudio2022.2/log/
.
Upvotes: 1
Reputation: 365048
On toolbar -> Help Menu
-> Show log in Explorer
or Show log in Finder
(for Mac users).
It opens log folder, where you can find all logs.
Upvotes: 255
Reputation: 34471
Android Studio find a log
MacOS version
Help -> Show Log in Finder
In my case it is:
/Users/alex/Library/Logs/Google/AndroidStudio4.2/idea.log
Upvotes: 5
Reputation: 1075
If you got here because you can't start an emulator and Android Studio gives you that error message:
(Windows 10)
Upvotes: 1
Reputation: 4976
On a Mac, the idea.log is contained in
/Users/<user>/Library/Logs/AndroidStudio/idea.log
The new stable version (1.2) is in
/Users/<user>/Library/Logs/AndroidStudio1.2/
The new stable version (2.2) is in
/Users/<user>/Library/Logs/AndroidStudio2.2/
The new stable version (3.4) is in
/Users/<user>/Library/Logs/AndroidStudio3.4/
(From auspicious99 comment)
On MacOS Catalina and Big Sur (at least), Android Studio 4.1, the idea.log
can be found in,
/Users/<user>/Library/Logs/Google/AndroidStudio4.1/
Upvotes: 28
Reputation: 141
Just because none of these pointed to the correct location on my Win10 system
C:\Users[User Name]\AppData\Local\Google\AndroidStudio4.2\log\idea.log
Upvotes: 13
Reputation: 186
The path to the log files in Windows has been moved.
They appear to be under C:\Program Files\Android\Android Studio\caches\trunk-system\log\idea.log
in Android Studio 4.1.1
Upvotes: 1
Reputation: 1512
Had a hard time finding the logs because the IDE was crashing on launch, if you are on Mac and use Android Studio 4.1 then the logs location may be found at /Users/{user}/Library/Logs/Google/AndroidStudio4.1/
And to be specific for me it is on macOS Big Sur
Upvotes: 3
Reputation: 556
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
Upvotes: 2
Reputation: 426
My Android Studio is 3.0, please follow the two steps below,hope this will help;)
Upvotes: 12
Reputation: 17506
Hope this helps someone: on Mac OS X, the logs are within /Users/<user>/Library/Logs/AndroidStudio<version>/
Upvotes: 1
Reputation: 1254
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.
Upvotes: 0
Reputation: 323
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
Upvotes: 0
Reputation: 342
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
Upvotes: 15