the target apk corresponding file to test. Including the subsequent switch statements are also analyzed, the following look at the print Toast Smali statement (in the actual case may need to change the variable name, because it may be followed by the variable name conflict)Const-string V0, "This is a test" const/16 v1, 0x3e8 invoke-static {p0, V0, v1}, Landroid/widget/toast;->maket Ext (landroid/content/context; Ljava/lang/charsequence;i) Landr
where the library will be stored, password is the password of the certificate store.When you package a program, the system requires that you use a digital certificate. If there is no digital certificate, we select "Create New KeyStore", and then click the "Browse ..." button to select the location where the certificate library will be saved and fill in the information, as shown in the image on the left. Click the Next> button, as shown in the image on the right.
Wher
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 app shell. You can also directly use the anti-droid compiled by netizens.
Android
This period of time learning Android application development, in the thinking since it is developed in Java should be very good anti-compilation to get the source code bar, Google a bit, it is really simple, the following is my practice process. In this solemn declaration, the purpose is not to crack people's software, is completely a learning attitude, but it seems that through this way can also go to the Chinese some foreign software. First, anti-co
debugging environment.
7. Go to the out folder generated in step 1 and delete the build and dist folders. This is generated when apktool compiles the apk.
8. Start eclipse and build a java Project
1) File-> New-> Project-> Java Project-> Next
2) The Project Name can be started as needed. Remove the Use default location option, select the out folder for Location, and then click
3) set the smali Folder to Source Folder, and then Finish
9. In eclipse, o
.
When packaging a program, the system requires a digital certificate. If there is no digital certificate, select "create new keystore" to create a new certificate library and click "Browse... "Click to select the location where the certificate store will be saved and fill in the information, as shown in the left figure. Click "next>", as shown in the right figure.
Alias indicates the name of the certificate, password indicates the password of the certificate, and validity indica
Steps for cocos2dx to generate an Android APK File
The following figure shows the result of my operation steps (real machine display)
First, you need to prepare the software (with the java environment configured on your own). Below is a method,
1. ADT download
2. To download the NDK, You need to configure the environm
1. Start Android simulator 2. Set *. copy the APK file to the toolsdirectory of Android sdk(click to download the android123.apk file), use the CD command of CMD to locate it in the android simulator directory tools, and execute A
Virtual Machine AVD Manager is started or the device connected to the mobile phone debugging device solves the two problems above, the apk installation package is finally generated.Next, install the generated apk and run it on the android virtual machine. The following error occurs during Installation: android Install
Related Tools Download: HTTP://PAN.BAIDU.COM/S/1KTKOICNFirst you have to have the Eclipse tool,ANDROID:ADB Shell: entering the interactive shell./uiautomatorviewer: Viewing coordinatesHack app steps:1, using Apktool, after unpacking can modify the APK internal structure.Apktool D letvclient_v5.5.1_from_102.apk LeTVApktool b LeTV2. Re-sign the
There are a lot of articles related to the Internet. I just summarized my own decompilation methods and tools.
Download the compressed packages of the above three tools
Apktool_v1.5.1_CHS_By_b-sf.rar dex2jar.zipjd-gui-0.3.5.windows.zip
1. decompile xml and other template resource files.
Decompress the apktool package and drag and drop the decompiled apk fileApkModify. batThe file is automatically decompil
1. smali-1.2.6.jar
Purpose: Convert the. smali file to the classes. Dex file.
Note: The. smali file, similar to the. Class file, can be viewed and modified in a common text editor.
Example: command line:Java-jar smali. Jar classout/-O classes. Dex
Download: http://code.google.com/p/smali/downloads/list
2. baksmali-1.2.6.jar
Purpose: Convert the classes. Dex file to the. smali file.
Note: classes. Dex is not easy to view and understand. The. smali fil
1. Download the anti-compilation tool dex2jar and Jd-gui from http://download.csdn.net/detail/dingyuming1991/9618125 (you can also download Google search);2. the APK package to be anti-compilation to the extension zip (apk package is actually a zip package), unzip the zip file;3. In the extracted folder there will be
After the android project is developed, it is necessary to package the android project file into an APK file and finally download it to the real machine for running. The following is a personal APK package process, which is recorded in text format. For more information, see
Tags: put toolbar get click Page Tin Integration Net simpleAndroid Studio is an Android integrated development tool launched by Google, based on IntelliJ idea. Similar to Eclipse adt,android Studio provides integrated Android development tools for development and debugging.
First, off components downloadOfficial website
to analyze the interface of the Android phone, and then analyze the TCP packet with Wireshark, but you want to know all the interfaces, you may need to call each interface, it will be more troublesome, using anti-compilation, may be concentrated in a class to find these interfaces).the first tool to prepare: (Learn more about the anti-compilation tool to see the Snow forum download or learn-link)Apktool is
When publishing an APK is a burden, you must enter the automation mode.
This article uses ant for compilation, signature, alignment, and release.
1 download sun-java6-jdk
Refer to here for download.
Export java_home =/usr/lib/JVM/Java-6-sun
2. Generate ant build. XML for an existing project
Run the command line to the root directory of the current project and r
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.