The Android Log tool class is log, which belongs to the Android.util.Log package, which provides 5 ways for us to print the log.LOG.V (). Used to print the most cumbersome and least meaningful log information. The corresponding level is verbose, which is the lowest level in the Android log. (by the way to meet the word---Verbose: lengthy, wordy, cumbersome, I am
Principle:Use lint scan out the project of useless, duplicate, version unreasonable resources, here we only deal with pictures, Layout,menu resources is corresponding lintThe results of the unusedresources, and then filter out the Unusedresources resources, the resources in accordance with the project directory backup (to prevent accidental deletion, convenientrecovery), and then delete. Deleted content, use object to save to OutData.txt, easy to consult.I use
Because each application runs in its own process space and can run another service process from the application UI, objects are often transferred between different processes. On the Android platform, a process generally cannot access the memory space of another process. Therefore, to perform a conversation, you need to break down the object into basic units that the operating system can understand and orderly pass through the process boundary. It is t
Environment:
Windows XP + VMware + RedHat (UBUNTU)
Note: The environment described in this article is also the development environment of Android native C (JNI ).
1. First download a cross-compilation tool chain version
Http://www.codesourcery.com/sgpp/lite/arm/portal/subscription3057 select the latest version to enter the download page, select the ia32 GNU/Linux compiler for Advanced packages
2,
When updating the Android SDK tool to version 24.0.2, you encounter failed to rename directory D:\android\tools to D:\android\temp\ TOOLPACKAGE.OLD01 problems, resulting in the inability to update, should be the version of the file structure conflict, the workaround is as follows:1) Open the Temp folder and locate th
guarantee that the Cusor will eventually be released, if the cursor data volume is large, especially if there is blob information inside, should ensure that the cursor occupied memory is released in a timely manner, Instead of waiting for the GC to handle it. 5) Some details in the code
Use 9path as much as possible
Adapter to use Convertview
All kinds of listening, broadcasting and so on, register the same time remember to cancel the registration
Use the object to
Note: MAT (memory analyzer tool) is a memory usage analysis tool recommended by google. It has comprehensive and powerful functions !!!
First, let's take a look at the functions of dumpsys:Dumpsys is used to give information about all applications on the mobile phone and the current status of the mobile phone.Dumpsys [Option]Meminfo Display memory informationCPU info displays CPU InformationAccount displays
, the Android platform's third-party applications were developed by relying on Java-based Dalvik specially crafted virtual machines. The release of the native SDK gives developers more direct access to Android system resources and uses the traditional C or C + + language to code and embed native library files directly into the program envelope file (. apks). First, tool
[For Beginners] usage of the Android image Repair Tool Draw9patch (with ubuntu shortcut), draw9patchubuntu
Article if there is value, welcome to reprint, reprint please write the source http://www.cnblogs.com/rossoneri/p/4024090.html
When the objective is to be set, the material diagram is subject to a certain question. Later, I will give a lecture on the usage of the image format .9.png and draw 9-patch un
The previous walfred has introduced the use of Apktool to reverse-compile apk, By Apktool we can actually decompile the serialized Androidmanifest.xml and resource files, and so on, but is there a quick and efficient tool to get the basic content, permissions, and basic information of a apk in the context of a package? The answer is yes, this tool is the AAPT to be introduced today.
AAPT Introduction
AAPT
Analyze Oom with MatMany oom seems to occur when bitmap is allocated, but it is generally not rootcause. The root cause is that the resources that should be freed automatically, because of code errors, cause some objects to always be referenced (Reference), such as Android memory optimizer, how to avoid mcontext references to the activity mentioned in the Oom article.When the code is very large, it is difficult to find errors by reading code alone, so
Transferred from: http://www.newasp.net/soft/70498.htmlDownloadApkdec is a free green APK anti-compilation tool forandroid, developed by the Android developer community.APKDEC Instructions for use:(1) Use Help1. Select all to compile the contents including jar, XML, and other resource files2. Select the jar to decompile only and make the jar package3. After the anti-compilation you can use Jd-gui.exe to vie
We can use this tool to see the layout of the complex interface, which is very useful.1. In case of a stable connection between the simulator or Android phone, click on the Ddms page and click on the icon indicated by the arrow:2. I am connected to the Xiaomi phone, and immediately after clicking on the icon indicated by the red arrow above the prompt operation is in progress3. Find the position shown on th
I recently developed an android network packet capture tool.
I have searched the internet for a long time.
No clue found
So we need to work hard on the Linux layer.
Therefore, tcpdump in Linux is used to implement the packet capture function.
To define tcpdump in a simple way, dump the traffic on a network is a packet analysis tool that intercepts packets on the
Appium + Robotframework for automated testing of Android applications-3: an essential tool introduction, appuim
Everything is ready. Now we are about to write a test script.
However, an important problem has not been solved. We know that the RobotFramework mainly relies on the element id, name, or xpath in web pages to locate the elements on the page. We rely on the browser plug-in firepath to achieve thi
"Share" Android Studio dedicated file Conversion tool: Save ANSI files in bulk as UTF-8 files without BOMWhen compiling Java files under Andoird Studio, there are often errors like the following:Error: (29, 43) downloading message: Ke policy home UTF-8 fermium Âμà switches Å è¡#̈亞 槧 hao 勫 瓧 quilting?Here, share a tool: ANSI files are saved in bulk as UTF-8 file
files1. Open the Ddms view2. Select the package name that you want to analyze, the current demo is Com.android.updater, and then click the Update Heap button3. Click the Cause GC button in the heap view to determine when to listen5. Save the memory HPROF file and click on the "Dump HPROF" button, which is a button with a downward red arrowfour using the mat plugin to open the Hprof file1. If the mat is already installed properly, after clicking Dump HPROF file, this window will automatically po
Android App Memory Leak tool (1) using the Memory Monitor tool ddms–> HeapOperation Steps
After you start eclipse, switch to the DDMS perspective and make sure that the devices view, the heap view, are open, and that you do not open the direct window>showview>
Link your phone to your computer via USB. The link needs to confirm that the phone is in "USB Debu
lost; and the new content cannot be longer than the original content. Who can ensure that my localization language is shorter than the original one?Now, the android-apktool software written by foreigners can help us decompile APK and generate program source code and images, XML configuration, language resources, and other files. After modifying images, language resources, and other files, we can compile and package them into an APK. After signing, we
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.