1. First, install the Android system on VMware2. Install the APK program after the installation is complete,3. Launch APK Program4. Start the terminal on the Andriod and then su to root5. Use the PS command to view the APK process ID to be debugged by the process6. Start Gdbserver on andriod and attach to the process to be debuggedThe specific command is Gdbserver 0.0.0.0:12345--attach [pid] where 0.0.0.0 means Gdbserver accepts any incoming ip,12345
1 About RICurrently, using a browser to access a webpage on a mobile phone does not make it easy to debug the page language. Mobile phone screen is relatively small and inconvenient to operate, directly on the phone web data debugging is not very realistic.Therefore, we use technology to separate the debugging informat
, the last one to modify the mobile phone kernel file operation is more cumbersome, encountered problems will be more. But if it succeeds, it's much easier to hack backwards later. So try to read the article, manual operation. After reading the article, remember more points like and share spread, if there is a reward is the best!Click here for more information:Focus on the public, the latest technology dry real-time pushCoding Beautiful Technology Cir
Recently purchased the new Huawei Mobile phone Glory 8, feel, performance, beauty value are very good. As an Android development engineer, you will naturally use the real machine for daily debugging. However, this phone is not so "obedient"! Repeated attempts to open the developer options in the settings, still cannot output log.d (), LOG.V (), such as log inform
First, the sceneWe sometimes want to use the phone to debug Android programs, but after connecting the phone to the computer, but not the mobile phone device, can not be used to debug the phone.Second, the reasonThere are generall
How to debug Sqlite data in Android and debug androidsqlite
Step 1: root your mobile phone and use the root tool of the 360 mobile assistant as the fastest;Step 2: Install the RE File Manager on your mobile phone (full name: root explorer; root permission must be granted t
Obtain information about the application and mobile phone installation: application version number, mobile phone model, mobile phone brand, Android system version number, and version number android/*** User-Agent** @ Return user-agent*/Public String getUser_Agent (){String u
Android Phone Daemon can't close workaround
The problem with Android's back-end is entirely due to the Android broadcast system. In simple terms, when a user installs a program, the system will record the function of the program like the interviewer, when the user is using the mobile phone, the system state changes wi
To repackage existing APK files, the previous Android signature mechanism: Generating KeyStore, signing, and viewing signature information has been introduced. This article describes two other requirements.
Package with the default debug signature
If you are using eclipse to develop a new program, the default will be a debug signature, which is known to the Ear
Problem Description:Os X (Yosemite), ADB (1.0.32), Android Studio (1.0.1), Phantom Blue Note phone (M1 note,android 4.4.4,flyme OS 4.2.0 3U).When you connect your phone to your MAC via a USB cable, the ADB devices does not discover the device.Workaround:
Find the Vender ID of the
My Android advanced tutorial ------) Create and view a custom Debug version Android signature certificate in Android
When Android Application Development accesses various sdks, it will find that many sdks need to be identified by the package name and the certificate fingerpr
When debugging with Ndk-gdb, execute $ndk/ndk-gdb--verbose Error "Another debug session Running,use--force to kill it".I checked the NDK official documentation, saying this:--force:by Default, Ndk-gdb aborts if it finds that another native debugging session was running on the same device. U Sing--force would kill the session, and replace it with a new one. Note that the debugged program is *not* killed and would be stopped again.--start:by default, Nd
ObjectiveWhen developing an Android app, it's usually connected to the device and computer via a USB cable, but for some applications that need to use a USB device, this approach is troublesome, and the USB port of the phone is connected to the external USB device and no longer connected to the data cable. This can be done through the network TCP/IP method. That is, ADB connects devices over the network wit
I use the Android studio version 1.2.2, the version may be small differences, but the general function has not changed.shortcut keys:
alt+f8
evaluate Expression--- check values when debugging;
f8
step over--- equivalent to eclipse F6 jump to the next
shift+f8
Step out--- equivalent to eclipse F8 jumps to the next breakpoint, also equivalent to eclipse's F7 jump function
This article transferred from: http://www.miui.com/thread-1476049-1-1.htmlFirst step: Add adb pathFirst make sure your ADB path already exists in path, if not available [email protected]:~ > Vim. Bash_profile your adb's add to path, pay attention to my/developer/ android-sdk-macosx/platform-tools/is mine, you need to change your own.Export path=${path}:/developer/android-sdk-macosx/platform-tools/Step two:
Many users who are new to Android development may encounter debugging problems. How can they quickly find the "Accident location" based on the error prompt "? In the eclipse + ADT development environment, there is no good way to directly track object content. By using the Android. util. Log class, you can find errors and print system log messages by yourself. It is an API for log output.ProgramYou can inser
Engaged in front-end development of the students must be not unfamiliar with fiddler, it is a very powerful HTTP (s) protocol analysis tool, if you do not know what it is, you can Google, this article no longer for science, Simply say it can replace the functionality of the Chrome Developer tool in the network panel or Firefox's HttpWatch plugin.We know how to debug page requests on the computer, but on the phone
Logcat output information is constantly scrolling (there are two ways)1. Set FilterIn the Logcat there is a "+" number, add a filter can (directly fill in the filter name, others are empty, beginners temporarily think so);2, in the windows-preference-android-logcat-"automatically enable ..." Here to remove the front of the hook, and then LogCat back to the background of the similar download button (actually paused), However, this method will run for s
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.