Label:Install apk into the system partition via ADB Take Google Pinyin as an example:googlepinyin1.4.2.apkExtract the so fileLibjni_googlepinyinime_4.soLibjni_googlepinyinime_latinime_4.soThe contents of the bat batch script are as follows:Path "D:\Program files\ perfect brush machine \tools";%path%Prompt $Gcd/d "%1"ClsADB devicesadb shell su-c "Mount-o remount Rw/system"Set apk=googlepinyin1.4.2.apkADB pus
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
Sometimes we want to learn from others ' good works, or we want to study and learn. How to achieve it in the case of only apk. In fact, there is a way, that is, decompile apk.
If the content is also i from other friends there to find, does not belong to my original, but still sent up for your friends for reference, I hope you can learn to bring convenience.
A. decompile
The anti-compilation of the apk under window is very simple, there are many integration tools, select the installation package and then you can build a tool to decompile the source files and the jar, and then use Jd-gui to view the source code, use a text editor to view the resource files. After changing the Mac has not found what to force the Anti-compilation tool, no way, self-organizing the anti-compilation process, shareIn fact, the anti-compilati
Friends who have posted Android apps should all know that the Android apk is a sign that needs to be signed. The signature mechanism plays a very important role in Android applications and frameworks. For example, the Android system prohibits updating the apk of inconsistent installation signatures, and if the application needs to use system permissions, you must ensure that the
The generated Android application APK file is best optimized because the essence of the APK package is a zip-compressed document that optimizes the orderly arrangement of uncompressed data in the package, reducing the memory consumption at the time the application runs. We can use the Zipalign tool for APK optimization.
Zipalign is an important tool for optimizi
[to] use the APK signature to give the application system privileges (2013-01-08 13:40:50)Reproduced ItCategory: AndroidSource: http://blog.csdn.net/doom66151/article/details/7085464 Issue: system preinstalled software, need to access some configuration files, configuration file owner is set to system. So the application needs to be authorized to read and write. Google search found the following article to solve this problem. The following explai
installation configuration, you will be prompted with information similar to the following
The code is as follows:
: Help
Welcome to Gradle 2.2.1
To run a build, run Gradle
...
To a list of available tasks, run Gradle tasks
To a list of command-line options, run Gradle--help
Build successful
Verify that the Android application can be compiled
Complete the above environment configuration, one of our Android infrastructure environment is fully configured, the next thing to do is to t
Hello Everyone, just started to write a blog, write a bad place please forgive me. It's a record of your work.
due to the recent use of the project, Bang Bang security reinforcement, after the completion of the need for the APK two times signature.
Bang Bang security provided by the signature software do not know is not the cause of the environment, in my place, can only use the command to sign!
First, sign the certificate (note: You can use KeySto
In a company project, when versioning is done, you encounter situations where you need to identify the managed apk (Android application package) and IPA (Apple application package), and you need to identify and import some of the package's information into the database and manage it when uploading.
first, how to identify information
When I started working on this solution, my colleague told me that there was a ready-made tool class on the web that co
Recently Tinker Android, encountered a problem, because there is no root permissions, need to invoke intent installation apk, but need to get the user is installed (such as, the user clicked back or cancel), check a lot of articles, and finally can be resolved, but there are flaws, the solution is as follows:
public static void InstallPackage (context, file, int requestcode) {//before installation records the name of the preinstallation
Mobile phone file download is divided into the background of automatic download and foreground download, I summed up the implementation of these two code, where the foreground download and realize the download progress bar implementation.
The first type: Background download
/*** Background in the following one apk download completed to return the downloaded file** @param httpurl* @return*/Private File downfile (final String httpurl) {
New Thread (N
Recently based on the Baidu Map SDK wrote a demo, in the Eclipse on the real machine test is normal operation, no problem, but when I export apk installed on the phone, but found that the map is white lattice, the debugging found that the program did not visit Baidu map background failure, I found out it was a key and something went wrong.Through repeated debugging, originally packaged into the APK, Eclipse
Just solve a problem, do a good apk upload to the server, download apk by visiting the link.WORKAROUND: Set the MIME type of IIS to allow IIS Web download to support multiple file types including apk and other files1. Open the IIS Web site, right-click Properties, locate the HTTP header, locate the MIME typeClick New, add Extension,.
ADB devices (shows connected devices)ADB root (Get phone root privileges)ADB remount (re-mount the system partition to make the system partition writable)ADB shell (Linux shell environment entering the target device)CD system/app (switch to System/app path) Note: The general apk is under/system/app/or/system/priv-app/LS (Show all folders)--Determine the appropriate folder and path according to the APK nameE
This is to get the APK package version number, package name, size and other information. There are actually two ways:One is:Pure Java Environment Get APK information (package name, version, version number, size, permissions ...), Java language writing PC-side get apk information.This article is to get information by parsing the XML in the APK.In fact, there is an
http://blog.csdn.net/lostinai/article/details/44201971http://blog.csdn.net/stay_foolish_one/article/details/41659723first, using Apktool to decompile and compile the methodEvaluation: It will only decompile dex files into Smali source code; XML files can generate a plaintext format, and good! at the command line, navigate to the Apktool.bat folder and use the command to decompile it! command format:Apktool.bat d-f[apk file] [output folder]For example:
Baidu on a lot of could not find *.apk! This compilation error resolution post, but the main point of the pen in the reference Project in the context of the issue of the error message (do not affect the normal compilation of this project run!) )。Pen master just from Google on volley source down, wrote a test project, the volley source project to introduce the test project (Java Build path->projects), the compilation process found a red error:...[2014-
Tutorial Navigation:
First, a reliable assistant installation tutorial
Second, a reliable assistant installation and operation of local Android APK files
First, the Reliable assistant installation steps:
1, on your computer download the latest version of the assistant, double-click Run KaoPuSetup.exe file, into the installation.
2, into the installation interface, click on the custom installation, select the installation path
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.