Xamarin.Android 4.6.2

Installation

Known issue: Immediately after upgrading, users may have trouble loading Xamarin.Android projects. Please restart Xamarin Studio again if you experience this.

Visual Studio Users: You should be prompted with this update when you open a Mono for Android project. You can also check manually in Tools > Options > Mono for Android.

MonoDevelop Users: You should be prompted to upgrade next time you open MonoDevelop, or you can use Help > Check for Updates. IDE support requires Xamarin Studio 4.0. Layout Designer fixes require MonoDevelop 3.0.4.

New Features

  • System.Runtime.Serialization.dll can now be used by Starter edition projects.
  • Starter addition projects can now use any assembly that is signed with the Xamarin key.
  • Xamarin.Android on OS X now installs into /Library/Frameworks/Xamarin.Android.framework/Versions. Previously installed versions are moved into an appropriate subdirectory. /Developer/MonoAndroid is preserved as a symlink. (Primary rationale: Xcode is prone to removing the /Developer/MonoAndroid directory, which would wipe out Xamarin.Android installs.)

Bug fixes

  • [Android designer] Properly resize margin handles when zooming
  • Fix GC bug for objects larger than 64KB.
  • 9340: Debug symbols are distributed only when $(DebugSymbols) is True and $(DebugType) is Full.
  • 9370: AndroidResource in managed library needs to prohibit uppercase names or give decent naming
  • 9433: Breakpoint not hit when disable fastdebug and linking sdk assemblies only
  • 10061: Toolbar buttons disabled on Windows 8 + Visual Studio 2012
  • 10078: More complicated Resource designer update is required for dependencies
  • 10127: WeakReference.Target can be garbage with SGEN?
  • 10364: UI lockup on start debugging
  • 10390: User shown INVALID workflow when they have entitlements on disk created by Visual Studio being run as Administrator.
  • 10530: Package APK option disabled
  • 10669: mandroid doesn't work if %CD% contains non-ASCII characters
  • 10770: MakeBundleNativeCodeExternal task needs to capture and log mkbundle stdout & stderr
  • 10828: android-support-v4.jar should be whitelisted
  • 10851: Cannot build any projects with a clean installation
  • 10927: MandroidDaemon hangs
  • 11115: Inspecting object in debugger throws exception.

API Changes

Warnings

Warning: Samsung shipped a broken kernel with Android 2.1, which is not able to support JIT compilation. If you possess a Galaxy-class device with Android 2.1, you will get unexpected results, this is caused by a kernel bug that breaks cache coherency, rendering any engine doing JIT compilation useless. Check with your manufacturer/carrier for an Android 2.2 update.

Xamarin Workbook

If it's not already installed, install the Xamarin Workbooks app first. The workbook file should download automatically, but if it doesn't, just click to start the workbook download manually.