Software Engineer Problem Solver

Leo Reading

One Moment, Please...

Find My Articles

Share This Page

B l o g


Leo Reading

Software Engineer and Problem Solver From the USA

Download Resume

My Blog A collection of technical and non-technical mishaps, achievements and stories.



I've been happily chugging away on my mobile platform project using Xamarin Studio.  In fact, it's one of the only things I've been talking about recently.  This post will talk about an interesting little bug that I ran into after installing the Xamarin Google Play Services Binding (ICS) NuGet package. COMPILETODALVIK

Fixing the COMPILETODALVIK Error in Xamarin Studio:

To fix the error in Xamarin Studio, do the following:

  1. Right-click on your project in the solution explorer
  2. Select "options" from the context menu
  3. Click the Android Build option in the left pane under build.
  4. Select the advanced tab
  5. Under Additional Options, put "1G" in the Java Heap Size text box.
  6. Clean and re-build


Basically what was happening (at least in my case) was that the heap size was larger than the default Java heap size due to all the extra stuff added by the google play services binding.  This was causing it to fail to build right at the end.  By increasing the maximum allowed heap size, the project will now build.  You could probably go smaller than 1G, but AFAIK, it shouldn't harm anything by leaving it at 1G.


Hope this helps!!!


Leo Reading

Leo Reading is a US based software engineer and problem solver. Known as a jack of all trades and master of few, Leo is constantly learning new technology and expanding his understanding of all things 'nerd'

You Might Also Like

Entity Framework Hell

Entity Framework can be a great tool.  There's no question.  It sure beats some of the extremely tedious older methods that were used for years.  That is, when it works as intended.   Today I was adding a module to a mature project that has a heavy burden of reporting.  This clearly means that there's a w...

New Website

Facebook and Twitter are a great place to share personal thoughts, pictures, etc with your friends and family.  A big part of who I am is my inner nerd.  I wanted a place to share this part of me with the world.  I've begun development on this site so that I can do just that.  I plan to share some of the technological str...

One Moment, Please