Android applications are developed in Java, through Google's guidance, to achieve and summarize the APK file anti-compilation process, not difficult, need the appropriate tools.One, APK anti-compilation get Java source codeDownload the anti-compilation toolkit above, open the dex2jar-0.0.9.9 folder under the Apk2java directory, including the
program is: the user in the first installation of the game can be installed with the full APK package, after which if there is logic code needs to be updated, only need to help users download a minimum of 7MB apk to the game overlay installation. (although this 7MB or so is relatively large)I would like to emphasize that this approach is 100% feasible, only suitable for
[Original article: www.pconline.com.cnpcedu3316357549.html] many Android users have the habit of deleting the Apk installation package after installing the App. If the App is installed through the Play store, the Apk installation package cannot be found. If you want to share an App with others or back up an App, it is inconvenient to have an
Body
I. Objectives
Note that the called APK has been installed in the Android system.
Previous Article: Android app development enhancement series (4) -- Android dynamic loading (on) -- loading classes in APK Not Installed
Call another installed
Here's just how the Android Studio IDE publishes APK.
Click on the top of the menu bar in turn: Build-> Generate signed APK ... And then it comes out. Generated dialog box (Generate signed APK file wizard)
1.Key Store Path If you have used Eclpise, choose your original Key.
2. Key store PASSWRD The password of the k
Simulator (Emulator.exe)
You can locate the run file (f:gphoneandroid-sdk-windows-1.0_r1 ools) in the Tools folder under the installation directory of the Android SDK, and double-click the emulator to run.
Install APK Package
ADB install [-l] [-r]
-Push this package file to the device and install it
For example: adb install f:gphonemycodehelloandroidinhelloandroid.apk
View installation Location
ADB s
Hello everyone, here we will introduce the APK decompilation operation:1: APK Decompilation2: Convert odex to Dex
Operating Environment: Ubuntu
A: decompilation APK
To code. Google download apktool. jar and Related Files: http://code.google.com/p/android-apktool/downloads/list
Click to download apktool-1.0.0.tar.bz2 a
{}, Landroid/os/debug;->waitfordebugger () VThis is Smali syntax, in fact, the corresponding Java code is:Android.os.Debug.waitForDebugger ();Here the Java language translated into Smali grammar, not difficult, online has Smali syntax parsing, here do not want to explain.Step three: Compile the APK and sign the installation againJava-jar Apktool_2.0.0rc4.jar b-d Out-o debug.apkor use Apktool to compile backAfter compiling, will get debug.apk file, bu
mechanism of apk. Even so, it sounds a little excited, isn't it?Working Principle
As shown in, the host Program loads the apk to the file system, such as the SD card, and then executes the activity in the apk through an activity called proxy.
In theory, DexClassLoader, PathClassLoader, and URLClassLoader can be used for dynamic
After knowing the pre-knowledge points of class loading in Android, look at the detailed implementation of Dexclassloader in AndroidThe detailed loading process is as follows:The host program will load the APK "1" into the file system, such as SD card, and then run the activity in the APK with an activity called proxy.About dynamically loading APS. Theoretically
This article is a rough introduction of how to use some tools, anti-compiling Android, to get the source code, I hope you have some help, the author's Android environment is 4.4.2.1. Prepare resources.Before you begin, you need to prepare three tools:ApktoolFunction: Resource file gets, can extract picture file and layout file for use viewDex2jarRole: Decompile the apk
There is often a need to package different versions of the APK during project development. such as debug version, release version, dev version and so on. Sometimes the different service-side API domain names used in different versions are not the same. Like debug_api.com,release_api.com,dev_api.com and so on.Different versions correspond to different API domain names, and may also correspond to different icons.It's not convenient if we change it manua
:–files which is placed in the assets folder–property files containing configuration data–images which can be replaced–styling Information Resourcesand similar.My personal use case is:I had created an Android application using SAP Netweaver Gateway Productivity Accelerator.I had to deliver the application to my users as. apk file.But there is the requirement that they wanted to modify the ready application
Software Security and Reverse Analysis in Android [2]-apk anti-cracking technology and security protection mechanism
In Android Application Development, after we develop the software, we do not want others to decompile and crack our applications, and cannot modify our code logic. In fact, in consideration of the security mechanism of applications, we hope that ou
After learning about the pre-knowledge of class loading in Android, take a look at the specific implementation of Dexclassloader in AndroidThe specific loading process is as follows:The host program will go to the file system such as SD card to load the APK "1", and then through an activity called Proxy to perform activity in the APKOn the dynamic loading AP, it can theoretically be used to dexclassload, Pa
directory to view the various resources required by women.
4. You can modify the source code of these resources and package them into an APK.
5. compile and package APK, input apktool B E: \ h200 \ APK_Decompile-Package_Dexopt \ decompile-package \ apks \ LTV E: \ h200 \ APK_Decompile-Package_Dexopt \ decompile-package \ APK \ ltv_new2.2.3.
Android apk incremental upgradePreface
Although this article seems very simple, there are many problems encountered in the experiment. For example, the ndk compilation error under andorid studio, which is the final feasible method presented in this article.The required resources bzip2 bsdiff ndk two different versions of the test apk principle on the server side,
Use of the Signing tool
the Signapk.jar of the Android source code can either be signed by the APK or signed by the ROM. Use format:
Java–jar Signapk.jar [W] publickey.x509[.pem] privatekey.pk8 Input.jar Output.jar
-W refers to the parameters that need to be used when signing a ROM
PUBLICKEY.X509[.PEM] is a public key file
PRIVATEKEY.PK8 refers to the private key file
after the--alias parameter is what you need to use to sign the app in the future, so remember to record the alias. The project location where the generated KeyStore file is placedTo edit the ~/.gradle/gradle.properties, add the following code (note replace it with the corresponding password)Myapp_release_store_file=my-release-key.keystoreMyapp_release_key_alias=my-key-aliasmyapp_release_store_password=*****myapp_release_key_password=*****Note: Once you have published your app in the Play Store
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.