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

D/Houdini Unsupported Feature / Fatal Signal 11 (SIGSEGV)

I have been completely submerged in Android/Xamarin world the last week, both at work and at home.  As I've previously mentioned, I love Xamarin Studio, but there are definitely some quirks.  Where Xamarin Evolve 2014 is quickly approaching, I figured it would only be appropriate to blog about Xamarin.   While I love many ...

Google Play Services and Xamarin Don't Play Nicely

Without revealing too much yet, I am very comfortable saying that the app I am developing will utilize some of the available Google Play Services.  It's a super feature rich suite, and can add a lot of functionality to your app with minimal effort.  Xamarin has made an attempt at making it easy to install the Google Play Services i...

One Moment, Please

Close