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