Out folder, and next3) Set the Smali folder to source, then finish7. Check the DDMS to debug the process port, and then find the Smail code where we want the breakpoint to be set breakpoint8, select the Eclipse run->debug configurations->new a new configuration select port, click Debug Start Debugging9. The operation of the mobile phone begins to be tracked, and the packet is captured for detailed information, and the debug trace finds the encryption and decryption algorithm for data restoratio
DDMS are used together and are now separate and we're going to tie it togetherTurn on eclipse and don't see the Android item in Window-preferences, it was to install ADTSo download adt-23.0.2.zip from the Internet and install it in Eclipse, I'm referring to this http://www.2cto.com/kf/201409/335370.html,Finally, look at the next step.After eclipse restarts, I finally see the Android item, prompting to add
Next, go to Android Learning Series (36)-Context of App debugging Memory leakage (part I) to continue the analysis.
5. AsyncTask object
I went to the Grand interview for a test N years ago. At that time, the interviewer strongly recommended me to use AsyncTask and other built-in systems to do things. Of course, it is understandable.
However, AsyncTask requires ad
1, Android app start process debugging 1), enter the settings--Accessibility and developer options, if you do not open the developer mode, in the dial-up input *#* #6961 #*#*;2), find the selection of debugging applications, open select the application you want to debug;3), and then the wait for the debugger option to
When using Eclipse to write Android app, sometimes debugging is not a problem, but once the package signed, run a flash, also reported wrong to find that class. At first I thought it was confusing, and then I didn't get confused and it was still the problem. Helpless had to find solutions on the Internet, and finally someone solved, the method is very simple, jus
Address: http://blog.csdn.net/ariesjzj/article/details/7419776
This method is suitable for debugging the. So library used by the app in Android, especially when a problem occurs after loading the database. If GDB is directly loaded into the symbol table of the Dynamic Link Library, the symbol address is incorrect. In this article, an
1 we found the "Setup" in the Red Meter note "system" and there will be a "about cell phone" in the phone's system.
2 We click on "about the phone" and then we will see you "Android version", now we just click on the Android version four times, then there will be the USB developers you want the option of OH.
3) Now we return to the mobile home page, then al
1 in the Mobile desktop Click "Settings" and then open the Open interface to click "Advanced Settings" to enter, as shown in the following figure.
2 then enter the "Advanced settings" you will see there is a "developer option" We click on the "Developer Option" will be entered into the phone-related interface will see a "USB debugging", now we open on it.
Friendly Tips
Hammer Phone
1. This handset uses the Android 4.3 system, 2013 on the market, but the Samsung handset's setup interface all the same, we clicked "the application".
2. Here you will see a "set" click on it to enter.
3. Then we click on "General" as shown in the picture.
4. Then we click on the open interface of the "about device" entry.
5. After opening, you will see a "build numbe
1. Crap does not say that more than Samsung mobile phone access applications are on the desktop click "Application."
2. Click "Set" again in the mobile interface.
3. Then you will see a "General" after we click on it and then click on the following "about the device".
4. Then click the "build number" seven times into the interface until the prompt "developer mode is enabled".
5. Click on the "
6. OK now you will see that there is a "de
1 we found in Tcl s720t "Settings" click to enter, as shown in the figure, and then in the settings list to find "about the phone" below the "version number" We use our fingers to connect click 4 times, as shown in the picture
2 waiting for the prompt to open the USB success, we go back to the phone's "settings", you will find a miracle happened, see the "Developer option", into the "developer option" can be opened, then you want to do what you do.
1. As shown in the following figure, we click the "Settings"-"All settings" interface in the Millet 3 phone.
2. Then in the following figure you will see a "about the phone" option, click Enter, and then see the Android version of the option.
3. Here I can open the developer option by simply clicking "Android Version" four times in a row.
4. In the developer options interface can be found in the
Method One:
Click "Settings" on your phone to see that there is a "help setting"-"Developer Tools", and then directly find the USB debug mode on it, which is much simpler than the Android system, as shown in the following illustration.
Method Two:
Enter the phone interface directly input "*#* #6961 #*#", access to the USB interface, we click
1 in the Millet 2S desktop to find "settings" and then we click to enter, and then see below there is a "developer option" Now we click on it to enter.
2 Then we find "USB debugging" after entering the interface to open it, when we open will pop up a prompt, the content is "whether to allow USB debugging" click OK.
1 We click on the mobile desktop "settings" and then find "about the phone" to enter after the click "More" specific as the figure.
2) and then we find the version number, and then we click on 4 consecutive times, and then from "General"-"more".
3 good so in more inside will see there is a "developer option, and finally the USB debugging appears
Summarize
In fact, all
USB charging and plugging and USB debugging connect prompt
Find the code about USB debug enable in packages/apps/settings/src/COM/Android/settings/developmentsettings. Java:
Java code
Settings. Secure. putint (getcontentresolver (), settings. Secure. adb_enabled, 0 );
In
. batterypluggedusb) {log. D (TAG, "ADB enabled, battery plugged USB"); If ("0 ". equals (systemproperties. get ("persist. ADB. Y ") {log. D (TAG, "Return directly"); return;} If (! Madbnotificationshown ){//... Omitting some code madbnotificationshown = true; icationicationmanager. Y (COM. Android. Internal. R. String. adb_active_notification_title, madbnotification) ;}} else if (madbnotificationshown ){//
/development_prefs.xml, find the code for the [USB debugging] switch, and then add a [Wifi debugging] switch to it, the Code is as follows:
Packages/apps/Settings/res/values-zh-rCN/strings. xml:
Packages/apps/Settings/res/values/strings. xml:
2. In the packages/apps/Settings/src/com/android/settings/DevelopmentSetti
What is the USB debug mode?
USB Debug mode is an Android-enabled feature that allows you to copy data between your computer and Android devices, install applications on mobile devices, read log data, and so on. By default, the USB debug mode is turned off, so you need to ma
1.S3 neo+ i9300i USB Debugging By default is not found on the phone we need in the "app".2. Inside the "set" click to enter.3. Furthermore, find the "general" inside, as shown in the following figure.4. In the Open interface we find "about the device" click on it to enter, details as shown in the figure.5. Well, you'll now see a "build number" where we have to cl
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.