0

I'm running a build from the Android Things Console built with several custom apks

One of the apps is failing with "{AppName}" has stopped. Open app again" The cause appears isolated to only one Configuration.

I'm trying to get to root cause, normally I would run "adb logcat" to view full details with android. Is adb logcat support with Android Things build? Is a mechanism such as logcat available in Android Things when built with a build from the Android Things Console? If not, is there an alternative?

ffejrekaburb
  • 656
  • 1
  • 10
  • 35

1 Answers1

0

ADB is available on development images of Android Things, not on production builds. You can change which one in the console. You can also add crash reporting tools like Crashlytics which will provide crash reports for you.

Nick Felker
  • 11,536
  • 1
  • 21
  • 35
  • 1
    See the docs for more details about production vs. development builds of Android Things - https://developer.android.com/things/console/build – devunwired Dec 14 '18 at 17:57
  • Thank you. I'm only having "Development" available as an option but the article does confirm that I should be able to use adb. I will pursue that route. – ffejrekaburb Dec 24 '18 at 16:06
  • Article also mentions I can use a Serial debug console. https://developer.android.com/things/hardware/raspberrypi – ffejrekaburb Dec 24 '18 at 16:27