Android模拟器报extra space is needed in addition to APK size的错误

Posted xiangzhihong8

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Android模拟器报extra space is needed in addition to APK size的错误相关的知识,希望对你有一定的参考价值。

在使用android模拟器的时候,安装apk会出现内存不足的提示,提示日志如下:

Installation did not succeed.
The application could not be installed: INSTALL_FAILED_INSUFFICIENT_STORAGE

List of apks:
[0] '/xxx.apk'
The device needs more free storage to install the application (extra space is needed in addition to APK size).
Retry
Failed to launch an application on all devices

我们可以在模拟器上选择【Duplicate】打开模拟器高级设置,

然后,点击【Show Advanced Settings】按钮打开高级设置,将模拟器的内存改大即可,如下图。

接着,重新启动模拟器即可。

以上是关于Android模拟器报extra space is needed in addition to APK size的错误的主要内容,如果未能解决你的问题,请参考以下文章

Android Studio模拟器启动工程时报错:HAX kernel module is not installed!

启动安卓模拟器报错 emulator: ERROR: x86_64 emulation currently requires hardware acceleration! CPU accelerat

安卓模拟器——AVDGenymotion逍遥安卓模拟器

Android Studio 初次开启模拟器的各种障碍

Design a stack that supports getMin() in O time and O extra space

ESlint 为啥会有 Using ForInStatement'is not allowed