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就好了。
相关文章
相关标签/搜索