Lenovo P70-A have ADB connection (Android Studio) but not stoping on any breakpoints

雨燕双飞 提交于 2020-01-07 03:11:05

问题


Lenovo P70-A Android 4.4.4 P70-A_S134_150729_16G-ROW

Windows 10 Android Studio v2.0 Preview 4 Lenovo Smart Assistant v1.03 Dev options turned on. USB bridge is enabled. Install from unknown sources is enabled.

I successfully connect the phone to the development environment, I can do compiling and runing an application from Android Studio. I can see the logs in LogCat. But when I'm run an app in the debug mode, the debugger is detached. In the console writes:

Connected to the target VM, address: 'localhost: 8600', transport: 'socket' Disconnected from the target VM, address: 'localhost: 8600', transport: 'socket'

If I try to connect the debugger to a running process (button "Attach debugger to Android process") an application is closing. In the console I got the same message. In the last LogCat message I get the error message:

Fatal signal 11 (SIGSEGV) at 0x0000000a (code = 1), thread 25905 (JDWP)

Then I try to use another devices (Sansung, ZTE) I had no debugging problems with the same apps. Please tell me what to do to properly debug applications.

Thank you.


回答1:


Unfortunately, I found the answer to your question. I made the replacement of this model. I went to the official store of Lenovo and I tested a different models. Only this model of the phone has a problem. Another models have debug mode with breakpoints. Perhaps it was a bad party of devices or wrong assembly of system.



来源:https://stackoverflow.com/questions/34422769/lenovo-p70-a-have-adb-connection-android-studio-but-not-stoping-on-any-breakpo

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!