GithubHelp home page GithubHelp logo

Crash loop with more than one device about rogcat HOT 2 CLOSED

flxo avatar flxo commented on August 24, 2024
Crash loop with more than one device

from rogcat.

Comments (2)

flxo avatar flxo commented on August 24, 2024

Thanks for the report.

rogcat is not crashing here. You probably ran rogcat without any arguments. In this mode the default is to restart adb logcat when it exits. I implemented that this way because you don't have to restart rogcat when the devices disables USB, reboots etc...

You can set ANDROID_SERIAL to select one of the devices. The -s option of adb is handled in rogcat but could be added.

Detecting this case where adb complains about the device selection is not super easy to implement. The return code is 1 and so not usable and the first line from stderr would be needed to be checked.

Maybe adding some artificial delay between the adb invocations helps in this default case (The restart option is only set by default when no command is passed to rogcat.

Anyway you can also run adb logcat | rogcat - or rogcat "adb logcat" to stop after the first attempt.

from rogcat.

flxo avatar flxo commented on August 24, 2024

Think this done. Reopen if not. Cheers.

from rogcat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.