Debugging app from the device without USB and WIFI

cantona_7 :

Since my app runs on the emulator and crashes on my device. I would like to see log report of my app directly from the device. So that it might lead to better way of debugging. But I have following problems

  1. My device is connected to the PC via LAN.
  2. My device doesn't have USB connection (no slave port).

I am using android studio as IDE. I have seen couple of examples which could be used if the device is connected to same wifi network like Debugging over wifi network but this doesn't help.

There is an official documentation with wifi official documentation for wifi still it needs USB connection in step 3.

Does Android Studio provide any type of solution?

Ichigo Kurosaki :

To get the crash reports from any android device you can use crashlytics..
This is very nice library which provides you very details logs of crash along with many other details like android device name, ram size, memory, orientation etc..

Good thing is that this crashlytics was different library previously, which is now part of Firebase . To get started you can know about crashlytics from here you can follow the documentation from here

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=129685&siteId=1