This article describes how to reverse an android APK application. The method provided in this article is only for research and learning.
The tools required in this article are:
JDK is used to build a Java Runtime Environment.
Axmlprinter2.jar: Used to reverse the. xml file.
Baksmali. jar is used to reverse the classex. Dex file.
Because the android.apk file is actually a zip file, it can be opened dir
course, I have modified the following and no error is displayed)
Solution: Copy (the address is subject to your) E: \ cocos2d-x-2.2.1 \ cocos2dx \ platform \ android \ java \ src under the org folder
E: \ cocos2d-x-2.2.1 \ projects \ 2048_BOJIE \ proj. android \ src
Then refresh the adt
If no error is found, a package error may occur in some projects.
The first line of the image below. Follow the adt p
-2.2.1\cocos2dx\platform\android\java\src under the Org folder toE:\COCOS2D-X-2.2.1\PROJECTS\2048_BOJIE\PROJ.ANDROID\SRC underThen refresh ADTfound that the error has not been, there may be some people's project, there will be a mistake, is the package error.is the first line of the picture below, modify the package name according to the ADT hintThen, this time, ADT will help you build the APK under the \bi
-install-windows-2.2_r01-2.tar.bz2 to the same Directory, which contains three files: aape.exe, apktool. bat, apktool. Jar)
Android APK Decompilation(Reference: Android _ decompile APK _ to Java source code)1. Obtain the resource image of the APKOpen it directly with WinRAR, and drag
First, use Apktool apk to decompile the source code of the generator and pictures, XML configuration, language resources and other filesSpecific steps:(1) Download the Anti-compilation toolkit: Apktool official can't openThere is a download in http://apktool.shoujifans.com/2014/12/21.htmlNeed to download two files below
apktool1.5.2.tar.bz2
apktool-install-linux-r05-ibot.tar.bz2
(2) Unzip the downloaded two packages into the "Same" f
Read database + database version updateAttention:A, place the database with the APK released under the/res/raw path under Android engineering.b, when the database file is stored on the phone, the path is/data/data/your package name/databases, and the other path will go wrong.Sqliteopenhelper is inherited when you need to create a new database directly in the proj
of Dalvik VM executes, that is, the android Dalvik execution program, not the Java me bytecode but the Dalvik bytecode.• Resources. ARSCThe compiled binary resource file.• META-INF catalogThe META-INF directory stores signature information to ensure the integrity of the APK package and system security. When eclipse compiles an APK package, it will do a verificat
Android apk xml parsing and Decompilation
Why can't XML in APK be opened directly? Is it a simple binary file? Is it encrypted? Why is an error reported during AXMLPrinter2 decompilation? How can this problem be solved?
Java. lang. arrayIndexOutOfBoundsException: 128 at android. content.
screen, you have to manually modify the Android configuration file, found in the bin directory Androidmanifest.xml, opened, see there are many items, Specific each item is what meaning, many online, here do not do too much explanation, find this android:screenoriention, change inside value is portrait can run the program normally. The in the Res directory under the values directory has a strings.xml file,
Android uses Gradle to dynamically generate multi-channel APK and gradleapk
In the process of using gradle for multi-channel packaging reference blog: http://blog.csdn.net/qihigh/article/details/17922345 (here first thank you)
However, when using gradle assumerelease-Pmc, I cannot get all the packages I want. The reason is:The author uses buildType as the Channel Definition type.This cannot meet my needs.In
How does android modify the built-in apk icon and androidapk in launcher?
Find the variable in IconCache under launcher to store the package name and icon to be modified to apk.
Private String [] className = {"com. google. android. apps. maps", "com. google. android. googleq
Android has been studied for nearly a month. In general, it is easier to get started, and the related resources are quite rich. However, some nice applications do not provide source code. If you want to study the implementation principles in depth, you only need to adopt the method of decompilation and cracking. There are many articles on cracking methods on the Internet, but most of them are reposted, which are similar and incomplete. Here we will su
After reading the Google map of Android, there are three after installing an APK.ProgramPortal icons, which correspond to three different functions! Easy to set Both the activities respond to the main intent, for example:
Http :// Schemas.android.com/apk/res/android ";Package = "com. foobar"
user permission.③signature: The System grants permissions only if the app requesting the permission uses the same certificate signature as the app that claims permissions. If the certificate matches, the system automatically grants permissions without notifying the user or requiring explicit approval from the user.④signatureorsystem: Grant only Apps (System app) that use the same certificate signing for apps with claims rights in the Android system i
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.