View Android APK Source Code cracking and Android apk source codeTool preparation:
Tool download: http://download.csdn.net/detail/catshitone/8491347Start: Step 1:
First, decompress the apk package with the decompression software (such as good pressure. The unzipped xml file is garbled when it is opened. How can this problem be solved? Step 2:
Open cmd.exe to e
The premise is that JDK has been installed.
Required tools: apkanalyzer
: Http://download.csdn.net/detail/koko7958/3803375
1. Get APK Information
View androidmanifest. XML to obtain the package name, activity name, and version.
Because androidmanifest. XML in the APK package cannot be directly decompressed and viewed, you need to use apkanalyzer to perform the following steps:
> JAVA-jar axmlprinter2.ja
The example described in this article is the Android code for a weather report, which includes downloading and installing APK, checking apk updates, displaying ' already up-to-date ' or ' unable to get version Information ' dialog box, getting current client version information, displaying the Version Update Notification dialog box, displaying the Download dialog box, Determine whether to mount the SD card,
The following is a tool class. It uses recursion to scan the APK file on the SD card to determine whether the application has been installed on the mobile phone. If so, it determines whether the application can be upgraded. DetailsCodeAs follows:
/*** Obtain the APK File Information class on the mobile phone, mainly to determine whether or not to install it on the mobile phone, the installed version
How to control the resources not used to delete the apk during compilation ?, Compile apk1. Modify MTK_PRODUCT_LOCALS in alps/meidatek/config/xxx/ProjectConfig. mk to remove unnecessary resources, such as screen density or language.2. Related Resources of nodpi and mipmap will be retained due to their special functions.PS:Nodpi: resource does not perform scaling Based on device densityMipmap: provides resources different from device dpi.How can I remo
The procedure is as follows:
1. generate an APK to be called. In its AndroidManifest. xml settings, it is roughly the same as the general writing method. The only difference is that:
-->
The red part indicates the name to be called.
2. Install the APK to be called. The Application name cannot be found in the Application List Directory. You can view the application only in the application deletion Management
Sometimes, we are debugging the APK, the direct build can be generated normally, no error, but when we add their own signature file, will be an error. In general, we can add a thing to android{} in Build.gradle. lintoptions { Checkreleasebuilds false abortonerror false }The entire file is as follows:Apply plugin: ' Com.android.application ' android { compilesdkversion buildtoolsversion "26.0.1" defaultconfig { Appli
B's menifest file to declare the use of the appropriate permissions, App B sends the message, a is not received.In addition, you can also add android:protectionlevel= "signature" When declaring permissions in App B's Menifest file, specifying that app B can only receive messages sent by apps signed with the same certificate.The mutual invocation of data between the two Android apps is an issue that we often encounter, and this article focuses on the Android development Customization permission
Cocos2d-X development of Chinese chess 14 game package into APK, 14 apk
In the previous blog, from the return of game scenes to the start scene and the use of xml to display Chinese characters in the game, this blog will be the last article of the Cocos2d-X to develop the Chinese chess series blog, this blog will introduce how to port Chinese chess to Android.
Since I 've previously written two articles abo
The associated APK is placed under the Assets Directory. The Code is as follows, but the installation is displayed when the associated APK is installed.
Private file getassetfile (){
Assetmanager asset = mainactivity. This. getassets ();Try {
Inputstream is = asset. Open ("zxing.apk ");
Fileoutputstream Fos = This. openfileoutput ("zxing.apk", context. mode_private + context. mode_world_readable );
Byte []
Solve the problem that AAPT cannot compile APK, and aapt cannot compile apk
Error:
Run Eclipse + ADT on Ubuntu 12.04 64-bit system and report the following error:
Error executing aapt. Please check aapt is present at /home/null/dev/sdk/build-tools/19.0.3/aapt
Cause:
32-bit library Not Installed
Solution:
Step 1. Modify the Ubuntu update source
$ sudo vi /etc/apt/sources.listAs follows:
deb http://mirror
of the jar are imported so save the trouble of repeated import every timeCompile Filetree (include: [' *.jar '], dir: ' Libs '),After a long repetition of finding a v13 bag,Google later found that this wasAndroid-support-v13 is a version compatible package that is released by Google, with a minimum compatible Android3.2 system. It was designed to develop a flat plate. Android 3.x systems are tablet-only systems, but the 3.x system has failed. So using V13 's package has no value.Turns out this
Some native classes cannot be found when the apk is compiled by mm in Android4.4, because it is optimized by produard. I have not encountered this problem in Android4.2.1. What does proguard do? ProGuard is a free java File compression, optimization, and obfuscator. It detects and deletes unused classes, fields, methods, and attributes. It deletes useless instructions and uses bytecode for maximum optimization. It uses meaningless names to rename clas
APK file Structure
Android apps are written in Java, compiled with the Android SDK, and packaged all the data and resource files into a apk (Android Package) file, This is a compressed file with a suffix named. apk, and the APK file contains all the content of an Android application and is the file that the Android pl
Start Program:
Double-click ApkIDE.exe to start the program. If the XP system does not start it, please click here to download the install. NET Framework 2.0.
To configure the JDK:
The first time you start, the software will automatically find the JRE installation directory in the system, if not found will prompt you to configure the SDK, you can click the menu [tool]-[Configuration SDK] To configure the JDK, as shown below. The JDK installation path must be configured (and cannot be modified
The most lazy way to build the APK is: As long as you run an Android project, you can find the APK file with the same name as the project in the Bin folder of the working directory, which is signed by the debug user by default.If you want to sign the APK yourself:1. The meaning of the signatureIn order to guarantee the legal ID of each application developer, to p
APK tool usage
To do well, you must first sharpen your tools. Let's first introduce the tool apktool for compiling AKP files. Apktool is a tool for decompiling and decompiling APK files. With this tool, we can build our own APK files.
First, we can use WinRAR to open the APK file. It seems like a common compressed pack
APK application unpacking, modification, editing, localization, packaging and ApplicationThe first two lectures mainly focus on the basic knowledge of playing a machine and focus on how to brush the machine. This lecture introduces the knowledge related to the APK application, including the unpackaging, packaging, anti-editing, parsing, localization, and modification of the AKP file, several common software
As an Android developer, the job is to decompile others ' apk, of course, the main purpose is to learn more, take the long, make up for the short. Let's summarize some of the knowledge about Android Decompile and two packaging today. First of all, the purpose of this article is to explain the principles and methods of decompile and two-pack by example, and then as a follow-up explanation to prevent two packaging and app security, not to encourage peop
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.