In learning the Android development process, you tend to learn how other people's apps are developed, and those beautiful animations and exquisite layouts may put you down, as a developer, you might want to know how these effects interfaces are implemented, You will be able to reverse-compile the application of the APK view. Below is a few articles I refer to after a simple tutorial detailed.
(Note: Anti-compilation is not to let developers go to an
optimize it:D:\>zipalign-v 4 demo_signed.apk final.apkAs above, Zipalign is able to align uncompressed data in APK files on 4-byte boundaries (4 bytes is a good performance value), this allows the Android system to read the file using the mmap (check the function's purpose) function to get higher performance on the Read resource ,Ps:1. Alignment on a 4-byte boundary means, in general, the compiler bar The
Today, you have a need to download an apk file. After the download is complete, the text of the button changes to click Install. After the installation is complete, the button changes to open.
Here is how to download the apk:
/*** Return the downloaded File after the following Apk is downloaded in the background. ** @ param httpUrl * @ return */private File down
Obtain the APK information (package name, version, version number, size, permission...) in a pure JAVA environment, and obtain the APK information on the PC end in pure JAVA language. The apk package name
Obtain APK information in a pure JAVA environment: package name, version, version number, size, permission...
To ob
${android_sdk_home}/build-tools/android_version/aidl
Frameworks\base\tools\aidl
javac
java Compiler
${jdk_home}/java C or/usr/bin/javac
dex
Convert. class files to. dex files that are recognized by the Davik VM
${ANDROID_SDK_HOME}/BUILD-TOOLS/NBSP;ANDROID_VERSION/DX
Apkbuilder
Build APK Package
${android
The lazy way to generate an APK is:If you have run an android project, you can find the APK file with the same name as the project in the bin folder of the working directory. This APK file is signed by the debug user by default.
If you want to manually sign the APK:
1. Significance of Signature To ensure that each
How the Android program is changed from the source code to the APK that can be installed using
Original link http://sparkyuan.github.io/2016/04/01/from source to apk/, reprint please indicate sourceProcess official versionDetailed versionAbove is a typical flowchart of the build process.
AAPT (Android Asset Packaging Tool) provides your activity with the required resource files, such as androidmani
[Android's Beauty] APK slimming, reduce the size of the APK
Keep your apk files as small as possible, and you should remove unused code and resource files. So this section describes how to make the apk smaller, better performance, the download conversion rate is higher, and how to specify the code and resource
in the. r file, we can call this ID, but only this ID is not enough,. R file is only to ensure that the compiler does not complain, in fact, when the program is running, the system will be based on ID to find the corresponding resource path, and RESOURCES.ARSC file is used to record these IDs and resources File location of the corresponding relationship.
APK installation Process
The application installati
This article introduces how to use php to automatically extract apk package information after uploading apk (for example, download). If you need a friend, refer to the following to enter the company's first project: market. Therefore, the background must upload APK software. For convenience, after an APK is uploaded, t
Preface:
What is APK?"Application package file"
Simply put, the compiled files and resource files are packaged together in a zip container. Let's just get to know it.
It usually contains the following directories and files:
1. META-INF \ store the signature key;
2. Res \ stores the resource files not compiled into resources. ARSC;
3. Lib \ stores the compilation code of specific software and shares library files;
4. The global configuration file of th
The first project to enter the company is to do market market. So backstage to upload apk software and so on. In order to facilitate, upload APK after the system automatically extracts APK files related information, such as: APK package name, product name, version information, APK
First, prefaceToday, finally, the final article of the break series, the two previous articles were:First article: How to use eclipse Dynamic debugging Smali source codeSecond article: How to use Ida to dynamically debug so filesNow to say is the last article, how to deal with some of the Android APK security protection, in the previous two cracked articles, we can see one is for the Java layer of the crack, one is aimed at the native layer of crack,
The first project to enter the company is to create a market. Therefore, the background must upload APK software. For convenience, after an APK is uploaded, the system automatically extracts information about the APK file, such as the apk package name, product name, version information,
The first project to enter the company is to create a market. Therefore, the background must upload APK software. For convenience, after an APK is uploaded, the system automatically extracts information about the APK file, such as the apk package name, product name, version information,
Android: several common tips for compiling and packaging apk: android: compiling and packaging apk
Today I will share with you three tips for packaging apk with eclipse:
1. Prevent obfuscation and encryption from being decompiled:
1. Open this sentence in the project. properties file (remove "#" before this sentence)Proguard. config =$ {sdk. dir}/tools/proguard/p
Original source anti-compile Android apk and prevent apk program from being decompile how reverse engineer to decompile Android APK
Google Android Development is open source, some of the development process will encounter some features, they do not know how to do, but other software has already had, this time can be used in the way of anti-compilation, t
How to control the resources not used to delete the apk during compilation ?, Compile apk1. Modify MTK_PRODUCT_LOCALS in alps/meidatek/config/xxx/ProjectConfig. mk to remove unnecessary resources, such as screen density or language.2. Related Resources of nodpi and mipmap will be retained due to their special functions.PS:Nodpi: resource does not perform scaling Based on device densityMipmap: provides resources different from device dpi.How can I remo
Sharing: APK advanced protection method analysis (1), sharing apk Protection Analysis
Weather check, food search, games, movie tickets, online shopping ...... After the APP is installed, the mobile phone is changed ". However, smartphones are becoming more and more "smart" and increasingly insecure. virus infection, spam messages, and privacy leaks are frequently related to the vital interests of mobile pho
Today, to install two identical applications on Android phones, I thought we could install different versions, tried them several times, and covered each other, so we could only try to modify the package name (package name) of the APK.
Purpose Statement : This article is only to meet the needs of DIY, not to become a packaging party, stealing other people's work, the tools involved in this article are open source, only for learning and exchange.
DIY
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.