官术网_书友最值得收藏!

Installing applications onto the AVDs via ADB

There may be times when you need to install Application Packages (APKs) on your local filesystem to an emulator or device that you own. Often Android-based security tools aren't available on the Play Store—because they would expose unruly users to too much risk or be abused by malware—and need to be installed manually. Also, you will probably be developing applications and Android native binaries to demonstrate and verify exploits.

How to do it...

Installing an APK using ADB can be done in the following ways:

  1. You will need to actually know where the APK is on your local machine, and when you find it, you can substitute it with path as shown in the following command:
    adb {options} install [path to apk]
    
  2. You can also use the device-specific commands to narrow down the device you want to install it onto. You can use the following command:
    adb {-e | -d | -p } install [path to apk]
    
主站蜘蛛池模板: 白山市| 泊头市| 临澧县| 鄂托克前旗| 威信县| 香格里拉县| 皋兰县| 左贡县| 偃师市| 六枝特区| 长寿区| 邵阳市| 桦南县| 定远县| 桐庐县| 房山区| 阿拉尔市| 图片| 连云港市| 喀喇| 南澳县| 循化| 宣恩县| 西昌市| 卓资县| 宁明县| 沿河| 鹤庆县| 武义县| 武隆县| 金堂县| 德庆县| 施秉县| 高州市| 肇庆市| 延津县| 永善县| 沙雅县| 大宁县| 宁波市| 北票市|