Software Engineer Problem Solver

Leo Reading

One Moment, Please...

Find My Articles

Share This Page

B l o g

Blog

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.

Programming

COMPILETODALVIK in Xamarin Studio

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

Xamarin Studio - The Following Add-Ins Could Not Start

Today I embark on a rather ambitious journey into the world of mobile development paired with a cloud-based back-end.  I've had plenty of ideas that I've tossed around as far as developing something new, something that's needed, and most importantly, something that will be used.  This idea actually has potential, and it...

Xamarin Studio - The Following Add-Ins Could Not Start

Today I embark on a rather ambitious journey into the world of mobile development paired with a cloud-based back-end.  I've had plenty of ideas that I've tossed around as far as developing something new, something that's needed, and most importantly, something that will be used.  This idea actually has potential, and it...

One Moment, Please

Close