Android device not showing with adb

I searched for this for a long time, I tried all the tricks I could find ...

I've been debugging the same device for months now, deploying the app to other precise devices without error. But since last week, I can no longer connect to it. When I connect the device via USB, I hear the computer beep for the connected device, and I can see in Chrome that it is recognized

enter image description here

However adb won't detect it.

enter image description here

Unfortunately I don't have root access on the devices, so I'm not sure how to connect over TCP / IP.

What could be the problem?

Note: I am working with Ubuntu.

Note 2: Devices are running Android 4.4.2 as reported by the device, even though specifications from different vendors say otherwise.


Update

I have checked my UDEV rules so

$ lsusb
...
Bus 003 Device 123: ID 1f3a:1002 Onda (unverified) 
...

      

is the only device added when the tablet is connected via USB. And in my /etc/udev/rules.d/99-android.rules

file (which I already installed over a year ago) I have the correct line

SUBSYSTEM=="usb", ATTRS{idVendor}=="1f3a", MODE="0666"

      

Developer options :

  • Report a bug
  • Desktop backup password
  • Stay awake
  • HDCP check
  • Process statistics

Debugging

  • USB debugging (= ON)
  • Error reporting in the Power menu
  • Allow mock location (= ON)
  • Select an application to debug
  • (disabled) Wait while debugger
  • Checking applications via USB
  • Wireless Display Certification

Input

  • Show strokes
  • Pointer location

Painting

  • Show surface updates
  • Show boundaries
  • Adjust the direction of the RTL
  • Window animation scale
  • Transition animation bar
  • Animator durability bar
  • Cute secondary displays

Displaying hardware acceleration

  • Forced GPU rendering
  • Show new GPU updates
  • Show hardware level updates.
  • Debug GPU debug
  • Debug non-rectangular clip operations
  • Force 4x MSAA
  • Disable HW Overlays

Monitoring

  • Strict mode enabled
  • Show CPU usage
  • View GPU Profile
  • Enable GPU tracing.

Applications

  • Don't stay active (= ON)
  • Background process limit (= standard)
  • Show All ANR

(All parameters with values ​​or settings are specified in the above list. If nothing is specified, then the value is not specified.)

+2


source to share


3 answers


Since you have Chrome Remote debugging running, just make sure Chrome debugging is not working when you do something with adb on the command line.



I believe Chrome has its own version of adb server which will conflict with the one used by Android Studio.

+2


source


You need to enable developer mode in Mobile first and then connect the device to your Linux machine. It doesn't require drivers, happy debugging.



-1


source


yalok commented on April 17 @ gituhub threat https://github.com/anbox/anbox/issues/130

Managed to execute session manager after:

sudo ln -s /snap/bin/anbox /usr/bin/anbox

      

Now the device

adb:

$ adb devices
List of devices attached
emulator-6663   device

      

-1


source







All Articles