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 Mac: A software update is required to connect to iPhone - MacOS
- [Gmail] Calling in Hangouts will be turned off soon. - News
- Zsh Shell: Custom alias that you may find useful - MacOS
- How to start or open a new bourne-again shell (bash) session on Windows using Command Line CMD - Bash
- JdbcTemplate Batch Insert Example using Spring Boot - Java
- Android Parsing Data for android-L failed Unsupported major.minor version 51.0 Error - Android
- Code2care.org: A Decade of Serving the Tech Community - News
- How to check if a variable is set in Bash Script or Not - Bash