小编Shi*_*oft的帖子

adb安装失败,错误为"INSTALL_FAILED_INSUFFICIENT_STORAGE"

我已经购买了我的第一部Android手机索尼Xperia M而没有意识到我们无法将应用程序移动到外部SD卡的问题.有关详情,请参阅此链接.

索尼的唯一建议是根据设备,分区并使用第三方应用来移动设备.他们还提到生根可能会使保修失效.

我的Android Xperia M详细信息如下所列

Model number C1904
Android version 4.1.2
Build number 15.1.C.2.8
Run Code Online (Sandbox Code Playgroud)

我试过从一些论坛运行以下命令,它对我不起作用,

adb devices
adb shell pm get-install-location
adb shell pm set-install-location 2
Run Code Online (Sandbox Code Playgroud)

虽然上面的命令没有提示任何错误,但我可以将安装位置设置为2(使用adb shell pm get-install-location).所以我相信它设置得当.但后来我尝试安装一些应用程序,它只安装在内部存储器中.

我试过' apps2sd '实用程序移动我的应用程序,它显示以下错误,

'The device does not have a real primary external storage, or the primary external storage is emulated. Moving app to SD function cannot be supported by this device.'
Run Code Online (Sandbox Code Playgroud)

最后来自另一个论坛,我了解到我们可以通过'adb install'命令安装apk文件直接安装到sd卡中,如下所示,

adb install -s C:\com.furkan0gul.mvanparking.apk
Run Code Online (Sandbox Code Playgroud)

上面的命令失败,出现此错误,

3531 KB/s (13523837 bytes in 3.740s)
        pkg: /sdcard/tmp/com.furkan0gul.mvanparking.apk
Failure …
Run Code Online (Sandbox Code Playgroud)

linux android adb android-sdk-tools sony-xperia

6
推荐指数
1
解决办法
1万
查看次数

标签 统计

adb ×1

android ×1

android-sdk-tools ×1

linux ×1

sony-xperia ×1