android - 异常 : Package android does not belong to 2000

标签 android adb

我的 Android 设备已连接到我的笔记本电脑,当我尝试运行时:

adb shell pm set-install-location 2

我收到此错误:

"Package android does not belong to 2000"

什么意思?

我该如何解决?

最佳答案

在“adb devices”之后只需键入“adb shell”(回车)然后键入“su”(在手机显示屏上回车并接受),这将启用 super 用户。现在您可以输入“pm set-install-location 2” 使用“pm get-install-location”验证新目的地

关于android - 异常 : Package android does not belong to 2000,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28681057/

相关文章:

macos - 为什么 ADB 在 Mac OSX 上无法识别我的 Samsung Fascinate?

android - 更改 Place Autocomplete Fragment 的前景色和背景色

安卓 adb : No connection could be made because the target machine actively refused it

android sqlite 使用 where 子句创建索引失败

android: 实现推送通知

android - 如何在 Android Studio 中执行 adb 命令?

Android 平板电脑在连接到 Mac 时卡住 - OS X

android - ADB push -p 错误的文件描述符

java - 启动 Activity 后调用方法

Android Studio - 多个屏幕的图像使 apk 的大小变得异常大