Asthme
Asthme

Reputation: 5353

How to find the logs on Android Studio?

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

Answers (17)

SepSol
SepSol

Reputation: 113

For me on Windows, it was at:

%LocalAppData%\Google\AndroidStudio2023.1\log\idea.log

Upvotes: 0

nhcodes
nhcodes

Reputation: 2024

On my Ubuntu system it was under ~/.cache/Google/AndroidStudio2022.2/log/.

Upvotes: 1

Gabriele Mariotti
Gabriele Mariotti

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.

enter image description here

Upvotes: 255

yoAlex5
yoAlex5

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

Inoy
Inoy

Reputation: 1075

If you got here because you can't start an emulator and Android Studio gives you that error message:

  • kill qemu-system-x86_64.exe and adb processes

(Windows 10)

Upvotes: 1

djunod
djunod

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

Keith B
Keith B

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

Paul Smith
Paul Smith

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

Tsepo Nkalai
Tsepo Nkalai

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

PKumar
PKumar

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 enter image description here

Upvotes: 2

L0ngx1ng
L0ngx1ng

Reputation: 426

My Android Studio is 3.0, please follow the two steps below,hope this will help;) First step. Second step

Upvotes: 12

Maria Ines Parnisari
Maria Ines Parnisari

Reputation: 17506

Hope this helps someone: on Mac OS X, the logs are within /Users/<user>/Library/Logs/AndroidStudio<version>/

Upvotes: 1

waqas akram
waqas akram

Reputation: 71

C:\Users\bob.AndroidStudio2.3\system\log

Upvotes: 0

oscarz
oscarz

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

Surya
Surya

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

AnthonyBCodes
AnthonyBCodes

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

Vetrivel
Vetrivel

Reputation: 1149

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

Upvotes: 3

Related Questions