android:autoinstallapks
Differences
This shows you the differences between two versions of the page.
android:autoinstallapks [2010/04/16 16:20] – created percy | android: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 bash autoinstall.sh> | ||
+ | #!/bin/sh | ||
+ | |||
+ | |||
+ | for i in `ls *android.core*.apk`: | ||
+ | do | ||
+ | echo "adb install ${i} " | ||
+ | adb install ${i} | ||
+ | done | ||
+ | </ |