title: "There is not enough storage space on the device to store package" when starting Android emulator
body: <p>I have just updated Xamarin in Visual Studio 2015 (it was a suggested update from Visual Studio).</p>
  
  <p>After the update, when I start debugging with the emulator <code>AVD_GalaxyNexus_ToolsForApacheCordova (Android 4.4 - API 19)</code>, the following error occurs:</p>
  
  <blockquote>
    <p>The "InstallPackageAssemblies" task failed unexpectedly.</p>
    
    <p>System.AggregateException: One or more errors occurred. ---> Xamarin.AndroidTools.AndroidDeploymentException: InternalError ---> Mono.AndroidTools.InsufficientSpaceException: There is not enough storage space on the device to store package: /data/local/tmp/Mono.Android.Platform.ApiLevel_23.apk. Free up some space or use an SD card and try again.</p>
  </blockquote>
  
  <p>This did not occur just minutes before the update, and the project remained untouched during the update. I am quite sure about that.</p>
  
  <p>The Xamarin documentation has this error documented <a href="https://developer.xamarin.com/guides/android/troubleshooting/troubleshooting/" rel="noreferrer">here</a>, and says:</p>
  
  <blockquote>
    <blockquote>
      <p>There is not enough storage space on the device to deploy the package</p>
    </blockquote>
    
    <p>This occurs when you don't start the emulator from within Visual Studio. When starting the emulator outside of Visual Studio, you need to pass the -partition-size 512 options, e.g.</p>
    
    <p><code>emulator -partition-size 512 -avd MonoDroid</code></p>
  </blockquote>
  
  <p>But I did start the emulator from within Visual Studio.</p>