4

许多答案说禁用 Instant Run 但在 android 4.0.1 中找不到 Instant Run 任何帮助或知识将不胜感激!谢谢!:)

下面是我得到的错误

[0] 'D:\PC-name\Android\APL Android\APL-REPO\app\build\outputs\apk\debug\app-debug.apk'
Installation failed due to: ''cmd package install-create -r -t --full -S 10837822' returns error 'Unknown failure: Exception occurred while executing:
android.os.ParcelableException: java.io.IOException: Requested internal only, but not enough space
at android.util.ExceptionUtils.wrap(ExceptionUtils.java:34)
at com.android.server.pm.PackageInstallerService.createSession(PackageInstallerService.java:501)
at com.android.server.pm.PackageManagerShellCommand.doCreateSession(PackageManagerShellCommand.java:2415)
at com.android.server.pm.PackageManagerShellCommand.runInstallCreate(PackageManagerShellCommand.java:949)
at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:165)
at android.os.ShellCommand.exec(ShellCommand.java:103)
at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:26073)
at android.os.Binder.shellCommand(Binder.java:642)
at android.os.Binder.onTransact(Binder.java:540)
at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:3329)
at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:4779)
at android.os.Binder.execTransact(Binder.java:739)
Caused by: java.io.IOException: Requested internal only, but not enough space
at com.android.internal.content.PackageHelper.resolveInstallVolume(PackageHelper.java:531)
at com.android.internal.content.PackageHelper.resolveInstallVolume(PackageHelper.java:447)
at com.android.internal.content.PackageHelper.resolveInstallVolume(PackageHelper.java:462)
at com.android.server.pm.PackageInstallerService.createSessionInternal(PackageInstallerService.java:660)
at com.android.server.pm.PackageInstallerService.createSession(PackageInstallerService.java:499)
... 10 more''```
4

1 回答 1

1

问题在于您正在运行的设备上的存储空间。清除一些空间后尝试安装或安装在模拟器上。

于 2020-07-21T10:25:07.427 回答