flash! "), From this point of view, Google is more user-friendly, while Apple is more radical (this is not to say who is good, who is not good, and occasionally like radical style pull, after all, the iPhone is revolutionizing the entire mobile phone industry, and the principle of uidesign is suddenly very high, which makes some companies that once sold wood very depressed ).
Back to the truth, froyo has added many new features and improved many places, but I think the most gratifying thing for
Most android Developers can use the android Simulator for debugging. However, the simulator is too slow. It takes three or two minutes to start it once. Generally, the simulator is always on. You can only exit the program by using the back key to perform the second debugging. However, sometimes it is necessary to conne
listening to a port, when there is Debugger to this port to initiate a request, the agent forwards the request to the Target JVM and ultimately by the JVM to process the request, and the Reply information is returned to the Debugger end.The above figure is borrowed from others to explain the JVM, for Android may not be particularly accurate, we look at Android above what is the case, when
program
4. Select a project, right-click the pop-up menu, and click debug as native applicaton
4. You can debug the c ++ code.
Note:
1. The real machine may encounter the no debug symbol found error.
2. If the Simulator version is too high, the error "no debug symbol found" may also occur.
3. Place the downloaded sdks of other versions in \ sdk \ platforms.
4. run as android application first to install the app
immediately without having to log off and log back on.) )4. Check that the ADB environment variable is configured successfullyversionAndroid Debug Bridge version 1.0.325. Add the vendor ID to the ~/.android/adb_usb.ini fileThis can be from "about this machine"-"system Report"-"USB"-Manufacturer id:0x2717View can use Vim ~/.android/adb_usb.iniView can$ vim ~/.
connection to the USB device.
Then go to the android SDK decompression path and go to platform-Tools
Ritter @ Ritter-hasee:/etc/udev/rules. d $ CD/home/Ritter/android-sdk-linux_86/platform-tools/Ritter @ Ritter-hasee :~ /Android-sdk-linux_86/platform-tools $
Enter "sudo./ADB kill-server"
Ritter @ Ritter-hasee :
There is a millet 2A in the hand because the USB port is damaged, can not use the USB cable debugging development, see online said can use WiFi connection debugging, record the method and encountered problems.
The first stepMobile phone installation WiFi ADB : Https://play.google.com/store/apps/details?id=com.ttxa
Android uses adb wireless for debugging, androidadb
Today, there is a problem with the usb interface on the computer, so I thought that I could connect to the mobile phone through wifi, and then DEBUG eclipse and check logcat.
I searched the internet and found this solution.
Now I want to share it with my android
Preface: Writing code inevitably has a bug, usually in addition to the most direct debugging method is debug;when a bug occurs in our program, debugging can quickly find the bug. into the debug state, we can clearly understand the entire process of execution of the program, memory data can be monitored. Here is a brief summary of the basic use of debugging and so
= true # camera dcim dir. 0: SD only; 1: NAND only; 2, SD firstro. camera. dcim = 1 # disable preload-classro.amlogic.no.preloadclass = 0 # app optimizationro. app. optimization = truepersist. SYS. timezone = America/new_york # force time zone, which is the New York time of America # dual displayro. vout. dualdisplay3 = truero. vout. player. exit = false # CPU settingsro. has. CPU. setting = true # CPU fre
Mobile browser is not a developer tool, so debugging Mobile Web page is very troublesome. Using Chrome's remote debugging capabilities, you can debug your phone's pages like you would a desktop-side.Get ready
Mobile: Chrome for Android, install Google Chrome
Desktop: Google Chrome, the version is recommended more than the mobile side, it is best to use th
not start Android Studio), change the following configuration file before starting.
Idea.properties file (file is located in the bin directory of Android Studio Android directory, the author's path is "C:\Program files\android\android studio\bin\")
Add a
) file, cause GC call garbage collection, update process update threads, start method profiling start method analysis, stop process stop a process, and screen capture the current screen of emulator. When you select a process and press the debug process button, if eclipse contains the code of this process, you can perform source code-level debugging. It's a bit like GDB attach. The image capture button can capture the current
During the development of the Android Wear application, both the watch and the phone need to be operated simultaneously, and the phone and watch can be operated simultaneously via Bluetooth.1 turn on the watch and phone's debug settingsTurn on USB debugging for your phoneOpen the developer option for the Watch settings, check debug over Bluetooth if it is the fir
Recently wanted to write Android projects, so to do Android real-computer testing, my experience to share.One, Android phone settingsThe first thing you want to do for Android real-computer testing is a phone-side license, by turning on USB
"Android" Android mobile app data to SDYou can specify it in the application's Menifest file, include the Android:installlocation attribute in the ... >Android:installlocation also has two additional attribute values: "Preferexternal" and "Auto", which, according to the literal meaning, may also understand what it means, or the following:If you define "preferext
unreachable ), so that the GC program reclaims the memory.2.1 App memory allocation and recyclingFor each app process, the heap memory is limited to a virtual memory range. and defines the logical use of the heap size, which is within the maximum system limit and varies with the usage of the application.The logical size of the heap memory is not the same as the actual physical memory size. We will see a va
bug can not reproduce the two difficulties, support breakpoint debugging, single step execution. Remote named row operations are supported.Rich log log real-time output and video recording, full feedback and quick location bug, log filtering function, quickly reproduce the bug, positioning more accurate, timely before the/app of the quality of the hand tour to the best state, to avoid the problem caused by
Debugging with adb wireless for Android
Today, there is a problem with the usb interface on the computer, so I thought that I could connect to the mobile phone through wifi, and then DEBUG eclipse and check logcat.
I searched the internet and found this solution.
Now I want to share it with my android friends.
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.