User Tools

Site Tools


android:autoinstallapks

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

android:autoinstallapks [2010/04/16 16:20] – created percyandroid:autoinstallapks [2016/05/05 13:07] (current) – external edit 127.0.0.1
Line 1: Line 1:
  
 +安装目录下所有APK
 +<file bash autoinstall.sh>
 +#!/bin/sh
 +
 +for i in `ls *.apk`:
 +do
 + echo "adb install ${i} "
 + adb install ${i}
 +done
 +</file>
 +
 +
 +加入一定的关键字过滤,只安装名称中包含有某些关键字的APK
 +<file bash autoinstall.sh>
 +#!/bin/sh
 +
 +
 +for i in `ls *android.core*.apk`:
 +do
 + echo "adb install ${i} "
 + adb install ${i}
 +done
 +</file>