Analysis of Dex splitting (MultiDex) technology in AndroidI. Preface
The subcontracting Technology in Android is no longer a new technology, and there is a lot of analysis on the Internet, but they all give theoretical knowledge and Principle
if reproduced, please declare the source: Time of the Sand: http://blog.csdn.net/t12x3456 (from the sands of the CSDN blog)as applications continue to iterate, lines of business expand, applications are growing (for example, by integrating a variety
when an app becomes more complex, with more and more code, one day you may suddenly encounterThe following phenomena:1. Generated APK before 2.3 machine cannot install, prompt install_failed_dexopt2. The number of methods is too large, error at
Dex introduces mongodb index and query analyzer dex. It is a MongoDB performance adjustment tool that compares MongoDB log files and index entries and provides index recommendations. Currently, you must provide a URI to connect to the database. Dex
Android uses android-support-multidex to solve the problem of Dex exceeding the limit on the number of methods, so that your applications will not burst
With the continuous iteration of applications and the expansion of business lines,
Android uses android-support-multidex to solve the problem of Dex exceeding the limit of the number of methods, so that your application will not burst into the dark. androidmultidex
If you have reprinted, please declare the Source: sand:
if reproduced, please declare the source: Time of the Sand: http://blog.csdn.net/t12x3456 (from the sands of the CSDN blog)as applications continue to iterate, lines of business expand, and applications become larger (such as the integration of
Posted by Tim Bray on 28 July 2011 at 8:35 AM
[This post is by Fred Chung, who's an android developer advocate-Tim Bray]
The Dalvik VM provides facilities for developers to perform custom class loading. instead of loading Dalvik executable ("Dex")
Dalvik command analysis (3) dex file structure, dalvikdex
Take the dex file generated in the previous article as an example to explain the dex file structure. The dex file structure is very simple, and there is only one HelloWorld. java
For the
In an Android system, all the code for an app is inside a dex file. Dex is a jar-like archive that stores many Java-compiled bytecode. Because the Android system uses the Dalvik virtual machine, you need to convert the class file that was compiled
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.