cantona_7
cantona_7

Reputation: 1177

Debugging app from the device without USB and WIFI

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?

Upvotes: 2

Views: 791

Answers (3)

cantona_7
cantona_7

Reputation: 1177

Actually, firebase helps you get the crashlytics. The error message will be stated in the dashboard once the app crashes. This is a life saver but I found out that, we can simply connect the device to IDE without USB. Just the PC and your device should be connected via LAN

  1. Using ADB tool. Run the adb.exe file as admin. Connect using tcp. Just address and Port is necessary.

  2. You can simply debug from the IDE, In my case android studio.

Upvotes: 0

Ichigo Kurosaki
Ichigo Kurosaki

Reputation: 3843

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

Upvotes: 2

Gilbert Arafat
Gilbert Arafat

Reputation: 461

if your app is firebase configured maybe you can use DebugView from firebase site.

Upvotes: 3

Related Questions