://github.com/facebook/redex.gitAbout the APK slimming we summed up here, there should be a lot of better solutions, if there are mistakes, welcome to add.For more Android beauty, read the "Android beauty from 0 to the best of the Road" series article
The level is limited, if have errors and omissions, welcome
I've recently seen Lao Luo's blog on the analysis of Android resource management and APK packaging process, referencing other materials, doing some tidying up, leaving out tedious packaging details and data structures, and outlining the entire process of apk packaging as a whole.Process Overview:1, packaging resource files, generate R.java file 2, processing Aidl
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
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
After a busy week and finally having time to write something, we continue to introduce another way for Android APK to prevent anti-compilation technology. Top two we talked about Shell technology (http://my.oschina.net/u/2323218/blog/393372) and runtime modification bytecode (http://my.oschina.net/u/2323218/blog/396203) , if there is something you can see in the first two articles of my blog about both of t
This article mainly explains the contents of the APK digital signature, and introduces the way of the APK debug mode and the digital signature in the release mode. This article transferred from: http://www.jizhuomi.com/android/environment/293.html 1. What is a digital signature A digital signature is a sign for your program to be your own, and when someone sees t
After a busy week and finally having time to write something, we continue to introduce another way for Android APK to prevent anti-compilation technology. Top two we talked about Shell technology (http://my.oschina.net/u/2323218/blog/393372) and runtime modification bytecode (http://my.oschina.net/u/2323218/blog/396203) , if there is something you can see in the first two articles of my blog about both of t
After a busy week and finally having time to write something, we continue to introduce another way for Android APK to prevent anti-compilation technology. The first two we talked about the shell technology and the runtime to modify the bytecode, if there is not clear can see my blog in the first two of the introduction of these two technologies. Next we will introduce another easy-to-use technology that pre
publishing organization is difficult to disguise. We can think of it as not camouflage for the time being.
With the theoretical foundation, we can start to practice. So how can I obtain the public key information of the APK file? Because the Android system installer will certainly obtain the APK information for comparison, we can get some ideas and help through
we need to use the signature method to package our software. The procedure is very simple. Right-click the project --- Android-Tools --- Export Android Application -- and we will not introduce it later! Follow your own needs!
Iii. Implementation Process of apk Decompilation
(6 steps in progress, we have produced a signed APK
, click the Project right button---android-tools---Export Android application--and then the back is not introduced! Follow your own needs!Third, the APK's anti-compilation implementation process(6) In the previous step, we have generated a signed apk file test.apk then we use decompression software, unzip,is both the extracted directory, various configuration fil
import-module,tools/simulator/libsimulator/proj.android), which is preceded by the # sign, comments.7. Select Project-build all on the menu bar, the process is long because all the library files are compiled.8. After compiling, you can see: [Armeabi] Install:libcocos2dlua.so = libs/armeabi/libcocos2dlua.so9. Package your signature. omitted here.In the virtual machine or mobile phone run, you can see the last: Really ugly oh.650) this.width=650; "src=
installation configuration, you will be prompted with information similar to the following
The code is as follows:
: Help
Welcome to Gradle 2.2.1
To run a build, run Gradle
...
To a list of available tasks, run Gradle tasks
To a list of command-line options, run Gradle--help
Build successful
Verify that the Android application can be compiled
Complete the above environment configuration, one of our A
B's menifest file to declare the use of the appropriate permissions, App B sends the message, a is not received.In addition, you can also add android:protectionlevel= "signature" When declaring permissions in App B's Menifest file, specifying that app B can only receive messages sent by apps signed with the same certificate.The mutual invocation of data between the two Android apps is an issue that we often encounter, and this article focuses on the
The example described in this article is the Android code for a weather report, which includes downloading and installing APK, checking apk updates, displaying ' already up-to-date ' or ' unable to get version Information ' dialog box, getting current client version information, displaying the Version Update Notification dialog box, displaying the Download dialog
of the certificate, each certificate has a unique certificate serial number;2 The signature algorithm used by the certificate;3 The name of the issuing organization of the certificate, the naming rules generally adopt X.500 format;4 The validity of the certificate, the General certificate is generally in UTC time format, its timing range is 1950-2049;5 The name of the owner of the certificate, the naming rules generally adopted X.500 format;6 Public key of the certificate owner;
Bruce ZhangRecently, because I wanted to invoke the interface of Android's activity in the script component of scene, we needed to figure out the actual correspondence between scene and activity, and studied some of the principles that unity calls Android.This article focuses on the relationship between scene and activity, and where is the difference between Unity Pack apk and Android Studio pack
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.