Official Android Technical Documentation translation-Apk splitting mechanism, androidapk
This article is translated from the official androd technical document Apk Splits. Original address: http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits.
URL: http://blog.csdn.net/maosidiaoxian/article/details/41692535. Indicate the source for reprinting
First, let's talk about the APK structure. APK is compressed in ZIP format, which can be easily decompressed.
The structure of an APK file is:
The META-INF \ JAR file is often seen
Res \ directory for storing resource files
Androidmanifest. xmlProgramGlobal configuration file
Classes. Dex Dalvik bytecode
Resources. ARSC compiled binary resource file
One, using Apktool to Decompile1, first inHttp://code.google.com/p/android-apktool/downloads/listDownload two files: apktool1.4.3.tar.bz2 and apktool-install-windows-r04-brut1.tar.bz22, unzip the first file to get Apktool1.4.3.jar put into C:\Windows, the second file contains Aapt.exe and apktool.bat two files are also placed in the C:\WINDOWS folder.3, you can see some help information by typing Apktool at the command line.4. Enter Apktool D c:\***\***.apk
on Android project, Android Tools-->export signed application package ...(2) If the system does not have a digital certificate, you can select "Create new KeyStore" to fill in the format of the digital certificate storage path and password.(3) Fill out the details of the digital certificate.(4) Specify the storage path of the APK installation package after the signature is generated.Once the signing certificate is finished, you can sign it directly w
Android Add-in APK resource resources introductionHow do I load a resource file from an APK that is not installed? We found from the source code of Android.content.res.AssetManager.java, it has a private method addassetpath, just need to pass the APK path as a parameter, we can get the corresponding Assetsmanager object, then we can use a The Ssetsmanager object,
Android APK decompilation is as simple as this (with the picture), androidapk
In the process of learning Android development, you will often learn how other people's applications are developed. Those beautiful animations and exquisite la S may make you easy to understand. As a developer, you may want to know how these effects are implemented. In this case, you can decompile and view the modified APK. The fo
Android APK decompilation tool usage and tool download (mac), androidapk
Tool Name, introduction and:
Apktool (obtain resource files)
Purpose: Obtain resource files. You can extract image files and layout files for viewing.
: Http://download.csdn.net/detail/xue_wei_love/8633211
Dex2jar (obtain the source code file)
Purpose: decompile the apk into the java source code (classes. dex is converted into a jar f
Gradle compiled and packaged Android apk detailed introduction
Understanding the Gradle build process and interpreting the configuration of the Android Gradle plug-in
Read this article must be used to generate APK gradle, the article will not tell how to install the running Gradle, if necessary, you can read the article at the end of the reference.
The APK pac
Problem:Pre-installed software in the system. You need to access some configuration files. The owner of the configuration file is set to system. Therefore, the application must be authorized to read and write data.Google search found the following article to solve this problem.
The following content explains:Permission rules for the Android system?How can an application obtain system permissions?What is the APK signature process?How does the
The application has been developed, the next step we need to think about the promotion of work. So how do you get more users to know and use our apps? In the field of mobile phone----, the most common practice is to publish the program to an app store so that users can find our app through the store and then easily download and install it.When it comes to the App store, it can really be said in the Android world, in addition to Google's official launch of Google Play, in the country there are 91
This period of time learning Android application development, in the thought that since it is developed with Java should be very good anti-compilation to get the source bar, Google a bit, is really easy, the following is my practice process.In this solemn declaration, the purpose is not to crack people's software, is completely a learning attitude, just as if through such a way can also go to the Chinese some foreign software.This article Android anti-compilation tutorial, test environment:Win7
有时候,我们上传apk或者是ipa文件的时候,是需要读取到里面的一些信息的,比如软件的包名,以及其版本信息等。在网上搜索了一下资料 , 找了很多版本,对于apk文件的版本号,一直读取不到,在这里,笔者自己总结了,读取apk、ipa文件的一些代码,大家可以参考下,去其糟粕,取其精华。以便适用于自己的需求。下面会提供源码给大家,我用的开发工具是eclipse,直接导入就可以,jar包也是我已经下载好的,大家可以免积分拿去。本来里面是有2个apk、2个ipa文件提供测试的,但是由于文件太大,上传不了源码,所以就删除了一个最大的ipa包APK jar
Command to package the so file into the apkUse the original code of the android SDK to develop the APK and package the so file into the apk. This can only provide the user with an apk.1. Meaning full-code so packaging.A) create a project and use local calls. The java file is as follows:Package test. jni;Import android. app. Activity;Import android. OS. Bundle;Imp
Android Studio Packaging App The default generated apk name is: app-release.apk, if we want to let the generated apk name with our version of the package name, then we will have to customize the generated apk nameYou need to add the following in the Build.gradle (module:app) file android{}://apk name defAndroid.applica
Android apk Remove signatures and re-sign methods
An important part of Android development is the use of their own key to apk file signature, unsigned apk files are generally not installed, even if the last is also a failure to install.
Online spread of the "Check to allow the installation of unknown sources of application" in fact, and signed no signature does
Android APK signature comparison
Users who have published Android apps should know that the release of Android APK requires signatures. The signature mechanism plays an important role in Android applications and frameworks.
For example, the Android system prohibits updating and installing APK with inconsistent signatures. If the application requires the system pe
Reprinted please indicate Source: http://blog.csdn.net/singwhatiwanna/article/details/22597587 (from singwhatiwanna's csdn blog)Background
The problem is: we know that the apk must be installed before it can run. If it is not installed, it can run well. In fact, this is not completely impossible, although it is relatively difficult to implement. Theoretically, we can use a host program to run some uninstalled apk
This period of time learning Android application development, in the thought that since it is developed with Java should be very good anti-compilation to get the source bar, Google a bit, is really easy, the following is my practice process.In this solemn declaration, the purpose is not to crack people's software, is completely a learning attitude, just as if through such a way can also go to the Chinese some foreign software.This article Android anti-compilation tutorial, test environment:Win7
This period of time learning Android application development, in the thought that since it is developed with Java should be very good anti-compilation to get the source bar, Google a bit, is really easy, the following is my practice process.In this solemn declaration, the purpose is not to crack people's software, is completely a learning attitude, just as if through such a way can also go to the Chinese some foreign software.This article Android anti-compilation tutorial, test environment:Win7
Some apk programs in the icons, pictures are very beautiful, in the use of the program you may think, if you can put these beautiful icons, pictures to extract the good, in fact, this can be done, please see the tutorial.This tutorial takes "movie Superman" apk installer as an example, the other APK program extraction method is basically the same. The following t
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.