Transfer from http://blog.csdn.net/lfyx1357/article/details/74181331. Install Android App1) Launch Android emulator2) adb install (APK on the PC Path/) *.apk (upload the apk file to the Data/app directory with the emulator's own operating system)3) Browse open
, directly in the creation of a good, the command is: sudo mkdir bin, after the execution will let you enter the root password, after input to execute the LS command to view, The bin directory is there,2. AAPT, Apktool, Apktool.jar to the/usr/local/bin/directory under the Apktool folder you extracted, how to copy it, of course, with command CP, such as:Copy multiple files separated by a space, android-workspace/ap
This topic describes howDecompile the Android Application to view the source code, resource files, and XML files, modify the files, and package them into an APK.. We encourage people to decompile to learn others' designs, rather than confusing the market after changing the app shell. You can also directly use the anti-droid compiled by netizens.
Android
Android APK Installation error: INSTALL_FAILED_UPDATE_INCOMPATIBLE Solution
When debugging an android Application today, the Installation reports the Installation error: INSTALL_FAILED_UPDATE_INCOMPATIBLE error. The Code is as follows:
[2015-12-28 15:54:31 - MainActivity] ------------------------------[2015-12-28 15:54:31 - MainActivity]
Android signatures mainly use keytool and jarsigner to create APK files.
The signature of the android program and Symbian can both be self-signed (self-signed). However, in the early stage of the certificate on the Android platform, programs uploaded through the ADB interface during normal development will be automatic
The structure of Android apk is really amazing. It absorbs the idea of client/service. apk does not have its own independent entry function, but only contains one or more component, when executing the program, determine the required component based on the manifest configuration file.
Conponent activation is triggered by intent. intent stands for an action that in
Determine if the APK is signedWith command: jarsigner-verify-verbose-certs If there is an Android debug word is debugIf signed: [Certificate is valid for 13-8-31 2:31 to 41-1-16 2:31]Determine if the APK signature is consistentJDK needs to be installed; to check the fingerprint of the signature used by demo.apk, you can do this:1. Find the RSA file in
the success of the transformation, the following to demonstrate the results of the changes, we need an apk to do the test, we randomly get an apk, because there is no need to write a project script, and then replace the system's Proguard.jar tool with our modified Proguard.jar 。 So just get the Classes.dex file in the APK and convert it to a Classes.jar file. Th
Android Project Practice (40): Andoird 7.0 + installation APK adaptation, andoirdapk
First, let's take a look at the code for installing the apk file.
/*** Use implicit Intent to call the system installer to install APK */public static void install (Context context) {intent Intent = new Intent (Intent. ACTION_VIEW);
To publish your app via Google Play store or another channel, you'll need to generate a signed release APK package. The signature for your app in the Android developer documentation has been explained. This wizard will briefly describe these procedures and then focus on how to package JavaScript code. Generate a signing keyYou can use the keytool command to generate a private key. Typing the following in
1. First create a new the3rdapk directory under the vendor directory, you will need to put the built-in apk, the directory name is arbitrary.2. On the last side of Build/target/product/common.mk, join your APK before $ (call Inherit-product, $ (src_target_dir)/product/core.mk)The first part is the path to the local apk, and/system/app/represents the directory tha
Every time the anti-compilation is a very annoying thing, tired began to lazy. Write scripts directly to save the operation.Using Apktool,d2j-dex2jar for anti-compilationScript: reseve-complie-apk.py1 ImportOS2 ImportSYS3 Importcommands4 5 6Base_dir=""7Apktool_path="%s"%Base_dir8Dex2jar_path=".. /dex2jar-2.0"9 Ten defapktool_d (apk): Onecmd ='Apktool D%s'%apk A Printcmd - os.system (cmd) - Pass the
Android Source Code contains the APK file containing the so file, androidapk
Method 1:
1 include $(CLEAR_VARS) 2 # Module name should match apk name to be installed 3 LOCAL_MODULE := Test 4 LOCAL_MODULE_TAGS := optional 5 LOCAL_SRC_FILES := $(LOCAL_MODULE).apk 6 LOCAL_MODULE_CLASS := APPS 7 LOCAL_MODULE_SUFFIX := $(
: = Optionallocal_module_class: = appslocal_certificate: = presignedlocal_privileged_module: = TrueLOCAL_MODULE_SUFFI X: =. Apklocal_src_files: =.. /n5100/system/priv-app/googleserviceframework/googleserviceframework.apkinclude $ (BUILD_PREBUILT)After the above steps, all the work has been accomplished. However, still encountered another problem, the system also integrates a domestic manufacturer's navigation software, in this method will find that the navigation software relies on a so library
APK Package Installation steps:1, first will be. /android-sdk/platform/tools Add both path path2. In the console window, go to the directory where your APK package resides3, Input: Abd Unremount, the first time you use this command, you need to get the operation permission of the command4. Open Android Emulator5, execu
Chapter Two APK package anti-compilationCode and resources that have been processed by the compiler have been packaged as APK, and some have even been converted into binary files. But we also have some ways to change the compiled content back to the original, the process called-decompile.Anti-compilation is divided into two parts: one is a resource file and one is a Java file. So files are the result of C +
Original: Android Project Combat (40): Andoird 7.0+ Install APK adapter First look at the code to install the APK file /** * Install apk with implicit intent to invoke system installer*/ Public Static voidInstall (context context) {Intent Intent=NewIntent (intent.action_view);intent.setflags (Intent.flag_acti
1. First, add android: sharedUserId = "shared id" to 2. Create a Context based on the package name. The createPackageContext method provided in the Activity can be created based on the package name.3. Obtain the shared Apk resource.Note:1. The difference between findViewById () in Activity and findViewById () in View is as follows:The Layout of the Activity after setContextView () can be obtained by findVie
Rom. The premise is that your phone has been flushed and kept the recovery-windows.bat/recover-linux.shFile.
The specific steps for HTC-legend are as follows:
1. Connect your device with USB and enter"ADB reboot recovery"The host restarts. A red triangle and arrow icon are displayed after startup.
2. (Under PC) Go To Your fl folder and run'./Recover-linux.sh', The screen will display a green menu
3. If the result is"Error: device not found", Run"./ADB-Linux kill-server"Then run again'./Recovery
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.