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
Robotium is based on the instrumentation framework, and its test scripts are written in the same process as the program being tested, so this requires the test program to have the same signature as the program being tested, otherwise it will not be able to communicate.In the case of APK only, the program can be signed with the method of "sign and sign again". And no sign of the APK is not loaded into the ph
Decompile apk and apk decompile Tool
Decompile the source code and images, XML configuration, language resources, and other files of the apk Generation Program.
This is especially useful if it is just a Chinese software.
First, download the tool. This time, apktool is used.
: Http://code.google.com/p/android-apktool/downloads/list
Download: apktool1.4.1.tar.
Automatic update-download the apk and the implementation of the prompt dialog box (3), and automatically update the apk
Download apk and implementation of prompt dialog box
1. steps:
1. confirm that a version can be updated. The dialog box reminds you whether to update the version.
2. If you select update, the download dialog box is displayed and downloaded. Othe
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
Count the number of methods in the APK and the number of APK Methods
In Android development, there is a limit on the number of APK methods, which cannot exceed 65536. If this number is exceeded, the following exception occurs:
Conversion to Dalvikformat failed: Unable toexecute dex: method ID not in [0, 0 xffff]: 65536
The main reason for the above problem is
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 class mainactivity extends activity {
Static final int request_install = 1;
@ Override
Protected void oncreate (bundle savedinstancestate ){
Sup
Apk back-compilation problem summary (phase), apk Compilation
Decompile the apk and inject your own code into smali.
I tried several tools (apkdb, apktool, and apkSign ),
All decompilers are allowed, but the decompilation is not compatible with java1.8. As a result, the re-compilation is successful, but the apk does
1, here we first download an Android assistant in the computer.
2, into Baidu search Android assistant then click on the interface "Download Now" and then save in the computer.
3, download after the download location before opening.
4, now we put my a789t mobile phone and computer connection, as shown below (if the phone connected to the computer does not respond to the need to turn on the mobile phon
driver file and click "next" to install it directly.3. After the driver is installed, go to the most critical steps for one-click cleanup of APK cache spam, as shown below:Download the APK optimized software provided by Xiaobian, decompress the software, and open the software to enter the main interface. There are simple instructions for use;Select the first item "optimize
Android-General apk installation method, General android apk
Reprinted please indicate the source: http://blog.csdn.net/l1028386804/article/details/46955863
Not to mention, go directly to the Code:
Public void installApk () {Intent intent = new Intent (); intent. setAction (Intent. ACTION_VIEW); // obtain the apk name String name = "test.apk" based on the actu
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,
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
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
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 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.