Secondary packaging of Android apps (APK files), Android apk
Many developers, whether individual or company, do not pay much attention to the security of their own applications, that is, whether the code will be tampered with by criminals, malicious code insertion, spam ads,
Sometimes we want to learn from others ' good works, or we want to study and learn. How to achieve it in the case of only apk. In fact, there is a way, that is, decompile apk.
If the content is also i from other friends there to find, does not belong to my original, but still sent up for your friends for reference, I hope you can learn to bring convenience.
A. decompile
friend of the Chinese version of Android APK, you should be familiar with these tools:
The first tool is Android-apktool, a tool for reengineering Android APK files. This tool is the core of
Method One:If you want to build a software name of Iperf.exe1. Place the Iperf.exe under a random folder in codebase (the folder must be searchable when searching for android.mk), for example System/iperf/iperf.exe2. Add a android.mk file under the System/iperf folder, such as the following:Local_path:= $ (call My-dir)Product_copy_files + = $ (local_path)/iperf.exe:system/iperf/iperf.exeCompile codebase again and the file will be built into the System/iperf folder of your phoneThis method preven
The APK that is installed on the Android phone requires a signature, and this article describes how to create your own signature and export apk from Eclipse.
Method/Step
1. Select an Android project in Eclipse and click Export in the right mouse button menu:
2, choose "Android
The android.apk file is actually a zip file that can be opened directly with WinRAR.
As shown in:
Includes a META-INF directory
A res directory
An androidmanifest. xml
A classes. Dex
Androidmanifest. XML must be defined and contained by each application. It describes the application name, version, permission, referenced library file, and other information. For example, to upload an APK to Google market, configure the XML file.
META-INF directory
Th
code)
Procedure:
Download the decompilation toolkit and open the apktool1.4.1 folder under the apk2java directory, which contains three files: aapt.exe, apktool. bat, and apktool. jar.
Note: apktool_bk.jar is the old backup version. It is best to use the latest apktool. jar
Go to the apktool. bat folder under the command line and enter the following command:Apktool. bat d-f abc123.apk abc123Such:
Apktoo
In a PC, how can an Android programmer quickly install the APK file to an Android phone without having to install a variety of phone assistants (double-click on the apk file to install it automatically without a manual command)?You can use the following methods: Using batch files
During this time, I was learning about Android Application Development. I was thinking that since Java was used for development, it should be a good decompilation to get the source code. Google is actually very simple. Here is my practice process. I solemnly declare that the purpose of the post is not to crack the software of other people, but it is completely a learning attitude, but it seems that some foreign software can be customized in this way.1
This topic describes howDecompile the Android Application to view the source code, resource files, and XML files, modify the files, and package them into an APK.. We encourage people to decompile to learn others' designs, rather than confusing the market after changing the a
Unity3d: how to solve the problem when exporting Android apk files? unity3dapk
Dog planing Learning Network]This morning, I started to build an unity3d game to the android mobile phone to run it. As a result, I encountered many problems.The first problem encountered was that the following Error was prompted du
omitted, the SDK will modify the system's Libaray load path, generally, there will be no problem (informal code, small probability will be modified with the Android upgrade new code), if convenient, or the use of system.load ( Decrawso.getinstance (). GetPath ("* * *"))Following these simple steps, the compressed SDK has been integrated into the project.Iv. How to compress the release apkUse Apkcompress.jar compression to publish the
devices, but many in the industry think this is to avoid applying to sun javalicense. This DALVIKVM for mobile phone program/CPU did the mostCan execute many VMS at the same time without consuming too much resource.APK file-------installation file on AndroidAPK is an extension of the Android installation package, and an Android installation package contains all the fil
devices, but many in the industry think this is to avoid applying to sun javalicense. This DALVIKVM for mobile phone program/CPU did the mostCan execute many VMS at the same time without consuming too much resource.APK file-------installation file on AndroidAPK is an extension of the Android installation package, and an Android installation package contains all the fil
As Appium learning needs to install some mobile apps for testing, here's a brief introduction to the installation and uninstallation of applications in the Android simulator.First, you need to download the application to test the APK file, here to YY voice for example, after downloading the apk file in the%android_home%\platform-tools directory. Then open the
also includes the interests of users, to their own reputation will also cause a certain harm! Looking back, let's guess how my app was planted with malicious ads at the beginning of the paragraph. Personally, it is to use the above method to decompile, the already written and generated Smali file into my package, and then in the manifest file configuration, and modify the package name, and finally RePack (to get this result is based on, I have two times packaged
packaging), or by some criminals use, the loss is not their own, The company also includes the interests of users, to their own reputation will also cause a certain harm! Looking back, let's guess how my app was planted with malicious ads at the beginning of the paragraph. Personally, it is to use the above method to decompile, the already written and generated Smali file into my package, and then in the manifest file configuration, and modify the package name, and finally RePack (to get this r
Debugging Android Apps Today is a problem:Duplicate files copied in APK meta-inf/dependencies file 1:httpmime-4.3.2.jar file 2:httpmime-4.3.2.jarIt seems that two of the package inside the file is repeated or how, Google after a few is said to be the Android studio itself bugWorkaround:Open the Build.gradle file below
I solemnly declare that the purpose of the post is not to crack the software of other people, but it is completely a learning attitude, but it seems that some foreign software can be customized in this way.
1. decompile Apk to get the Java source code
First download two tools: dex2jar and JD-GUI, the former is to convert the apk classes. dex into a Jar file, while the JD-GUI is a decompilation tool, you can
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.