Search code examples
androidaide-ide

Android AIDE, logcat scrolling on runtime error


On every runtime error in AIDE (when the application crashes) the logcat window is displaying all messages again (even from the last days) which needs long time to scroll to the end to find out what's wrong. I don't want always clear the logcat list before i compile the project, but i did not find any setting to avoid this behavior. Does anyone have a solution for this?


Solution

  • Actually you can have command line,use

    • Terminal IDE if your device is running on android 4.x or lower,
    • Termux if Lollipop+, launch your app within one of these Terminal Emulators with am command:

      am start -a android.intent.action.Main -n com.your.package/.Ur_Main_Activity
      

    And then use the logcat command to observe log, it will be a bit cumbersome though, use filters as you see fit. Enter ctrl+C to end Logcat dump. Hope this helps,