Step1:把要卸载的APK包名保存到一个文件中,本文称之为file,保存格式如下
ubei.tingshu cn.amazon.mShop.android cn.wps.moffice_eng com.adobe.reader com.android.chrome com.android.packagename com.blossomapps.thelion com.blovestorm com.clov4r.android.nil com.devuni.flashlight com.dolphin.smartspeaker com.dropbox.android com.dsi.ant.service.socket com.estrongs.android.pop com.evernote.widget com.example.android.apis com.forthblue.pool com.gamestar.pianocnperfect com.google.android.apps.currents com.google.android.apps.docs
#!/bin/sh echo "begin to uninstall ....."; cat $1 | while read line; do if [ -z $line ]; then continue else echo "$line"; adb uninstall $line -l fi done echo "uninstall over............."; ~
sudo chmodd a+x uninstall
Step4: 运行卸载程序
./uninstall file
检查下有没有卸载干净。