Install and uninstall the Android Application (APK package)

Source: Internet
Author: User
Security
Install and uninstall Android applications (APK package)
 

 

 

I,



Install

 

1.




Install third-party applications


$ ADB install APK



File Name

2.




Install System Applications


$ ADB remount


$ ADB push APK



File Name

/System/APP
// APK

The file name is like
Testme.apk

II,



Uninstall

1.



$ ADB uninstall


Package name


//

The package name is like
Com. Android. testme

2.



Home->


Set
->

Applications
->

Manage applications
->

Select an application
->

Uninstall

III,




Related Files

1.



/System/APP/APK


File



System Application

2.



/Data/APP/

Package name

. APK


Third-party applications

3.



/Data/


Package name



This location is used to store user data

4.



/Data/Dalvik-Cache/


Combination name

. Dex
Dex

File is
Android


Virtual Machine
Dalvik


Supported bytecode file formats

5.




/Data/COM. Android. launcher/databases/launcher. DB
Launcher

Yes
Android

Application initiator,
Launcher. DB
Is an application database.



If the application data is messy, delete the database file and kill it.
Com. Android. Launcher

Process, and then
Launcher

Restart and regenerate the application database to restore errors


$ ADB Shell
$ Cd
/Data/COM. Android. launcher/databases/
$ RM launcher. DB


$ PS

//


Find
Com. Android. Launcher

Corresponding process ID


$ Killall



Process number



Go to the Application List page (
Home

).
Launcher

Automatically restarted and the database is regenerated

IV,


APK

Format


APK

File
Androidmanifest. xml


File and application code
(. Dex


File
)

, Resource files and other files into a compressed package


$ MV testme.apk xx.zip
$ Mkdir
TMP; CD TMP
$ Unzip ../xx.zip




You can see
APK

Content in the package

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.