安装没有成功。无法安装该应用程序。 java.io.IOException:仅内部请求,但不够 space

Installation did not succeed. The application could not be installed. java.io.IOException: Requested internal only, but not enough space

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

下面是我遇到的错误

[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''```

问题出在您设备上的存储 space,它是 运行。清除一些后 space 尝试安装或在模拟器上安装它。