Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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) 
like image 402
Asthme Avatar asked Nov 05 '13 08:11

Asthme


People also ask

How do I view Android logs in adb?

Navigate to device settings and enable Developer Options (see section for ADB logs) Navigate to Developer Options and tap on Take/Submit Bug Report. Select Full Report when prompted to get the full device info along with the logs.

Is there an Android system log?

Android allows collecting system logs using Logcat. Log messages can be viewed in a Logcat window in Android Studio, or you can use the command line tool to pull them. Several Android apps are also available in the Google Play store that allow easy access to these tools.


2 Answers

On toolbar -> Help Menu -> Show log in explorer.

It opens log folder, where you can find all logs

like image 114
Gabriele Mariotti Avatar answered Sep 28 '22 08:09

Gabriele Mariotti


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/ 
like image 35
djunod Avatar answered Sep 28 '22 10:09

djunod