Aug 03 2020 08:51 AM
I'm getting an error:
ADB0060: Mono.AndroidTools.InsufficientSpaceException: There is not enough storage space on the device to store package:
Is there anyway to increase the emulator storage. My app deploys and runs on physical Android devices, but cannot run on the emulator.
Thanks
FTS
Aug 03 2020 10:35 AM
Hi @Fritz_S ,
sorry that I've no helpful answer for you. I did not get it running using the Emualtor installed on a Windows 10 system.
But just for personal interest. How large is your apk? A fresh installed emulator hast around 2GB of free storage available. Maybe you can reset the emulator until a proper solution to increase the storage has been found?
Aug 10 2020 03:04 AM
@Fritz_Shave you found a solution? :)
Aug 10 2020 07:01 AM
Aug 10 2020 09:45 AM
@Fritz_S in debug mode without any linking, Xamarin apps can be pretty large, some things you can try:
- Linking (Sdk Assemblies Only, might already be enabled)
- turn on Use Shared Runtime, which will only install Mono once (only for debug builds, this shouldn't be used for release). this mainly helps if you have multiple Xamarin apps on the emulator that you're testing.
- delete other test apps to free up space (Settings > Applications).
- delete your app manually before attempting to re-deploy.
- increase the space available to the emulator.
Aug 10 2020 10:56 AM
Thanks CD,
Exactly how is this done? "- increase the space available to the emulator."
FTS
Aug 10 2020 11:24 AM
Solution@Fritz_S where your emulator is installed, there is a bin/config.ini file. In that file, find and update the line:
disk.dataPartition.size=2G
Try 3G? You can also set/adjust the SD card size, and possibly allow the apps to be installed there?
Aug 10 2020 11:34 AM
Aug 10 2020 11:24 AM
Solution@Fritz_S where your emulator is installed, there is a bin/config.ini file. In that file, find and update the line:
disk.dataPartition.size=2G
Try 3G? You can also set/adjust the SD card size, and possibly allow the apps to be installed there?