adb uninstall成功

   以前怎樣卸載都不行,不管是應用程序名字仍是包名加應用名都不行。今天看了一下adb的幫助,是這樣寫的:app

    adb uninstall [-k] <package> - remove this app package from the devicethis

                                 ('-k' means keep the data and cache directories)

    也就是說只加包名就好了,若是你不知道這個包名,在AndroidManifest.xml裏的找package="packageName".
    而後 adb uninstall packageName就好了。
相關文章
相關標籤/搜索