-
Notifications
You must be signed in to change notification settings - Fork 583
Unable to debug device: lge-nexus #14
Comments
I'm having a similar issue since the most recent update to the Android SDK / tools: [2013-05-31 09:15:38 - hierarchyviewer]Unable to get view server version from device 0146B0000D00D015 |
I am seeing a very similar issue...
Was anyone able to get it working? |
Almost certainly related to 4.3.3. I'm getting a similar error on my updated devices, but the same app is working on 4.3.2. |
I am having same problem in my eclipse. I am getting same message when i launch any AVD or when i attach any android device. Does anyone know how to solve this issue? And Does anyone know what is the reason behind this? And I think because of this application is not getting launched in my device. Eclipse is showing that launching (100%) but no app launch in device. |
Same problem here. Nexus 4 running stock Android 4.3 |
I get it partially working if I ran HierarchyViewer after I was at the screen with the view I wanted to see. I can inspect a screen shot but load view hierarchy is disabled. I tried on a 4.2.2 Samsung and have the same issue with Load View Hierarchy disabled. |
Same here.. |
I'm still seeing this issue too, on a Nexus 5 running 4.4.2. |
Anybody try root the device already? my nexus5 works well because it's rooted device, however my galaxy nexus (not root) not working with same problem ,is this reason cause the error? |
Unable to connect my Samsung Galaxy Tab 2. Running 4.1.2. |
Make sure you have the INTERNET permission declared in your manifest. |
Hmm, I have that set in my manifest but it does not work for me… |
I'm seeing the same on my Moto X: the app definitely has ViewServer, but Hierarchy Viewer shows
|
Seeing the same problem on a Nexus 7, running 4.4.2. I do have the INTERNET permission in my manifest. Do I have to import the project as a library or can I just use the java file as a standalone class? |
I got exactly the same issue on the nexus 7 with latest 4.4.2, sometimes this get fixed by reconnect the usb cable and killing adb. I was unable to find the issue to solve this properly. |
same Problem on Nexus7 with 4.4.2 .But when i run in an Android Virtual Device it's working. |
Same here with ANY nexus device, rooted or not, running 4.3 or 4.4... :( |
Same issue, Nexus 7 4.4.2 |
got same issue galaxy s4, android 4.4.2 |
Same issue on Nexus 10 (Android 4.4.2). |
Yep, same issue on a Nexus 7 with 4.4.2 . It definitely seems that something in the update broke it .... |
I was able to get it working by changing BUILD_TYPE_USER => "userdebug" Genymotion Samsung S3 |
Android 4.4 has an improved version of the system ViewServer which should work on consumer devices. Your app needs to be in debug mode for it to work. This means there is no need to use this version of ViewServer on 4.4 devices. |
I'm having to debug a rendering issue on an older device (4.1.1) |
@romainguy I'm on 4.4.4. (ART) and I still get the
|
Same with Samsung Galaxy S4 and 4.4.2 |
I'm also not able to connect to my Nexus 4 or Nexus 5 using hierarchyviewer. I get similar messages to those posted by others on this thread:
I'm running Android 4.4.4 on both, running an app that's in debug mode. @romainguy you mentioned that Android 4.4 has an improved version of the system ViewServer that should work on consumer devices; is there information anywhere on how to use/enable this? I'm having no luck tracking down any information about this. |
I'm solved issue, try to close Android Studio window |
I have similar issue... It is fixed according 'romainguy' comment. |
I had the same problem, but i run monitor with environment: |
ozodrukh tip worked for me |
ozodrukh tip worked for me too. |
Nexus 7 2 (2012) with Android 5.1: problem solved with RPetrov tip (thanks!) |
solution by @RPetrov worked for me! |
Thanks @RPetrov ANDROID_HVPROTO=ddm monitor working. |
ANDROID_HVPROTO=ddm sh monitor |
BTW, this ANDROID_HVPROTO solution is documented here: http://developer.android.com/tools/performance/hierarchy-viewer/setup.html |
OK, made this work by opening app in Debug mode, then opening Monitor from Terminal (not from AStudio). But t does not show draw performance indicators (colourful dots) |
Yeah, restarting ADB as root (Linux, Mac), closing Android Studio, and doing a clean install fixed it for me. I think it's related to the debug port which Studio takes away from everyone, so closing Studio alone would probably work. |
Thanks @RPetrov
working. MAC OSX |
The ViewServer class isn't working on my device. I keep getting the following error:
12:16:52 E/ViewServerDevice: Unable to debug device: lge-nexus_4-04848005ded98f1f
12:16:52 E/hierarchyviewer: Missing forwarded port for 04848005ded98f1f
12:16:52 E/hierarchyviewer: Unable to get view server version from device 04848005ded98f1f
12:16:52 E/hierarchyviewer: Missing forwarded port for 04848005ded98f1f
12:16:52 E/hierarchyviewer: Unable to get view server protocol version from device 04848005ded98f1f
The text was updated successfully, but these errors were encountered: