IntelliJ IDEA IDE is very popular these days among Java, J2EE, and Python programmers and yes it is the default IDE or Android Programming (Andriod Studio).
At times when you run an application the logs are very overwhelming so it becomes difficult to search or debug an error stack trace or specific log you are interested in.
If you want to save the console (or logCat) logs to an external file you can follow the below steps,
- Goto Run Configuration, or Debug Configuration,
- Now Click on the Logs tab,
- Now Click checkbox "Save console output to file"
- Select Folder and File name where you want to output the logs.
- Click Apply
- Click OK to close
Now when you run your App, your logs should get saved to the external text/log file.
More Posts related to Android-Studio,
- Step-by-Step: How to install Flutter in Android Studio
- [Android Studio] How to locate code for activity_main.xml
- [Event Log] Android Studio performance could be improved
- Android Studio emulator/Device logCat logs not displayed
- Show Android Studio Emulator in a Separate Window
- Android Studio SDK Build-tools 23 rc2 not getting installed
- Android Emulator Screenshot saved location
- [Android Studio] Error: Missing system image on device
- Android Studio NoClassDefFoundError: java.awt.Toolkit
- Android [SDK Manager] The system cannot find the path specified
- [Android Studio] Could not automatically detect an ADB binary
- Installing Android Studio Dolphin on Mac with Apple (M1/M2) Chip
- [Android Studio] MainActivity does not exist
- How to enable line numbers in IntelliJ Android Studio for all files
- Android Studio - Installed build tools revision 31.0.0 is corrupted. Remove and install again using the SDK manager.
- Android Studio setup was canceled - How to resume
- Your Android SDK is missing, out of date or corrupted SDK Problem
- Locate MainActivity Java or Kotlin file in Android Studio
- How to Determine Android Studio Gradle Version
- Delete Android Studio Projects
- [Android Studio] Button on click example
- Create assets folder in Android Studio
- Disabling Spell Check in Android Studio
- How to save IntelliJ IDE Console logs to external log file
- How to install Android Studio Chipmunk and SDK tools on macOS (2021.2)
More Posts:
- Fix: java: void cannot be dereferenced - Java
- Get Current Local Date and Time using Java 8 DateTime API - Java
- Bootstrap Nav Menu Dropdown on hover - Bootstrap
- Obsolete marquee element alternatives html5 - Html
- Docker Commit Command with Examples - Docker
- How to Check AWS SNS Permissions using CLI - AWS
- Android Studio : Change FAB icon color : FloatingActionButton - Android-Studio
- Capitalize the first letter of each word using Notepad++ - NotepadPlusPlus