Android decompile apk (1), android decompile apkWhy decompilation:
As a personal developer, sometimes you can see exquisite UI effects and interesting functions. Do you have the urge to refer to learning. Decompiling the android apk is to extract the source code from the apk, including the resources (slice, music, layout files, and so on.Recommended reading:
For
Unity3d publishes detailed steps for APK to run in the Android virtual machine (Unity3d export Android apk), the total process is divided into the following 6 steps:
1. Installation JAVA_JDK
2. Configure Java Environment variables
3, update the Android SDK
4. Release APK documents from Unity3d
5. Create Android virtual machine and run
6, install the
Concepts and commands related to apk signature and apk Signature
1. Concepts
1. Message Digest-Message Digest
Message Digest: execute a one-way hash function on the message data to generate a fixed-length hash value, which is also a message digest and a digital fingerprint.
Message Digest features:
(1) No matter how long the input message is, the length of the calculated message digest is always fixed;
(2)
APK decompilation goes beyond advertising secrets, and apk decompilation secretsDecompile APK to AdvertisementProcedure:
1. Download apktool
: Https://code.google.com/p/android-apktool/downloads/list
2. decompile the apk using apktool. Enter the following command in the command line: apktool. bat d-f aaa.apk (
Obtain the APK information (package name, version, version number, size, permission...) in a pure JAVA environment, and obtain the APK information on the PC end in a pure JAVA language.
Obtain APK information in a pure JAVA environment: package name, version, version number, size, permission...
To obtain APK informatio
My android SDK is android4.0.4 of the A10 solution. Because the company develops a device based on this platform, it needs to remove the software that comes with android and the software that comes with the manufacturer. To learn how to crop the android apk. The method is relatively simple.1. apk provided by android. The built-in apk of android is under the folde
Decompile apk in Mac environment and decompile apk in Mac Environment0. Tool Summary
Decompiling apk mainly uses the following three tools:
Apktool: used to obtain resource files
Dex2jar: Get the source file jar package
JD-GUI: decompile source file jar package view source code
I took some time to find these tools. Now I have put all the final available vers
Pure Java Environment get APK information: Package name, version, version number, size, permissions ...Pure Java Environment Get APK information requires two packages:Axmlprinter2.jar and Jdom.jar, used to decompile XML and parse XMLProject directoryThis class is the one that gets the APK informationpublic class Apkutil {private static final Namespace NS = Namesp
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
APK extension file introduction, functions and usage, apk ExtensionAPK extension file Introduction
The maximum size of each APK file in the Android Market (Google Play Store) is 50 MB. If your program contains a large number of data files, you can only put these data files on your own server before, when the user starts the program, let the user download. Now the
Android project package apk and apk decompile, androidapkI. general principles and disadvantages of Project Packaging
(1) develop a simple project and release it as an APK file. If we do not use the signature method, find * in the bin directory *. the apk file is very convenient, but when we use it, it may be overwritt
Android android APK decompilation reverse, Android android apk
The reverse of the android APK program is much easier than that of the WindowsPE file.1. the android APK program is actually a zip file that can be opened with winrar. After decompression, you will see the familiar directories, AndroidManifest. xml files,
Apk decompilation and apk decompilation tutorialTools
Tools required for decompilation
The above are command line decompilation, and androidfly is a graphical interface, but the downloaded decompilation jar package cannot be viewed, probably because it is not the latest.
Decompilation of contributed source files
Use apktool to copy the decompiled apk to the apkt
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, one is aimed at the native layer of crack,
I. GENERAL principles and drawbacks of project packaging(1) To develop a simple project, when published as an apk file, if we do not use the signature method, directly in the bin directory to find the *.apk file, it is convenient, but our users in use, it may be used by other programs to cover the installation, the specific explanation is as follows:(2) We create a new project test directory structure as fo
The first project to enter the company is to create a market. Therefore, the background must upload APK software. For convenience, after an APK is uploaded, the system automatically extracts information about the APK file, such as the apk package name, product name, version information,
The first project to enter the company is to create a market. Therefore, the background must upload APK software. For convenience, after an APK is uploaded, the system automatically extracts information about the APK file, such as the apk package name, product name, version information,
Install another built-in apk from one built-in apk
Click the built-in apk to install the apk that has been built into the system.
Package com. wind. bbminstaller;
Import java. io. File;
Import android. app. Activity;
Import android. content. Intent;
Import android.net. Uri;
Import android. OS. Bundle;
Public cla
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=" http://img.blog.csdn.net/20150706183327306
1. Use ADB to get application information, version information of an APK in the phone, adb shell Dumpsys package com.sy.a2682. List all adb shell Dumpsys 3. Launch apk adb shell am star with ADB T-n Com.sy.a268/com.sy.a268.mainactivity4. Randomly generates an event to an application that randomly generates 500 events to the program. You will find that your program is constantly being clicked and rotated! A
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.