200字范文,内容丰富有趣,生活中的好帮手!
200字范文 > 未Root设备通过ADB卸载内置系统应用

未Root设备通过ADB卸载内置系统应用

时间:2024-01-18 07:39:00

相关推荐

未Root设备通过ADB卸载内置系统应用

测试环境

设备:Redmi系统应用:浏览器(com.android.browser)

获取应用包名

通过 adb shell pm package 获取打开待测app,通过adb shell dumpsys window | findstr “mCurrentFocus” 获取

PS F:\> adb shell dumpsys window | findstr "mCurrentFocus"mCurrentFocus=Window{e3db63d u0 com.android.browser/com.android.browser.BrowserActivity}

卸载应用

# 通过adb uninstall卸载adb uninstall com.android.browser# 卸载失败# Failure [DELETE_FAILED_INTERNAL_ERROR]adb shell pm uninstall com.android.browser# 卸载失败# Failure [DELETE_FAILED_INTERNAL_ERROR]adb shell pm uninstall -k --user 0 com.android.browser# 卸载成功# Success

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。