使用Android调试桥命令行工具,adb例如:adb install filename.apk。
一个很好的参考adb是在这里
install [options] Installs a package (specified by ) to the system.
Options:
-l: Install the package with forward lock.
-r: Reinstall an exisiting app, keeping its data.
-t: Allow test APKs to be installed.
-i : Specify the installer package name.
-s: Install package on the shared mass storage (such as sdcard).
-f: Install package on the internal system memory.
-d: Allow version code downgrade.
uninstall [options] Removes a package from the system.
Options:
-k: Keep the data and cache directories around after package removal.