Android – cannot debug on a KitKat device

I have KitKat on three devices (Nexus 7 2013, nexus 7 2013 and Galaxy nexus. Obviously, Galaxy nexus is not the official version of KitKat). All these I can't debug in eclipse. Before the update, all the work is very good

To further prove this, I have a Samsung Galaxy Tab 10.1 and 4.0.4. I can debug it. The application stops all the breakpoints I set. Have some settings changed and I need to enable it in the device or eclipse so that the debugging can run again on my KitKat device?

I looked at the developer options and saw that there was an option to debug the application, but when I clicked on the application, I wanted to debug it and still didn't stop at the breakpoint

resolvent:

Step 1. First, you need to enable USB debugging on the device. This is the setting under "developer options". This option has been hidden since KitKat. There are many posts on how to enable this hidden part. The following is http://www.gottabemobile.com/2013/11/10/enable-developer-options-nexus-5-kitkat/.

Settings > about phone > build number (click the built-in version number 7 times and you will be prompted when it approaches.)

Once you see "developer options", then select it and select "USB debugging"

Step 2. Next, you need to enable the "allow non market applications" setting

With these two settings ready, you can establish a USB connection with the device and (a) upload your application and (b) debug your application from the IDE (eclipse or Android studio)

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>