Saturday, November 12, 2016

Android development, adb device status Unknown / Offline

Area: Android app development Problem: When you would like to connect to your mobile device using adb running at your Linux desktop , you receive a device state Unknown / Device Offline error. What you should try: Run this command: sudo adb kill-server After a few seconds, run this one: sudo adb start-server At least in case of Ubuntu Linux distro, it's VERY important to include sudo in these commands. Otherwise, your device remain in state Unknown (Offline).

No comments:

Post a Comment

Ubuntu 12.04, 14.04, 16.04 - auto start an app or script before login

To run a command or application at startup, even before the user has logged in, you can use this file: /etc/rc.local The commands entered...