Category Archives: Xamarin.Android

Stable Release: 15.3.5 with Xcode 9 Support

We are releasing an update for our current major release called 15.3 into the Stable channel. This update adds SDK bindings and IDE compatibility for Apple’s Xcode 9 release.

This release is now available as part of Visual Studio 2017 version 15.3.5 and in the Stable updater channels for Visual Studio 2017 for Mac (version 7.1.5.2) and Xamarin for Visual Studio 2015.

Please check out the product release notes to see all the fixes and known issues for this release.

If you notice an error in this blog post or have trouble downloading one of the installer packages, please let us know in the corresponding forum thread.

Bug reports are also welcome. If you see any suspicious behavior that you wish to report, please file a quick bug.


Products Released

  • Xamarin.VisualStudio 4.7.9.45
  • Release Notes
  • Note: This release can be considered part of the Xamarin.VisualStudio 4.6 release series. It only adds IDE compatibility for Xcode 9. It does not yet include the other features from version 4.7.

Intentional Changes

  • [Xamarin.iOS] – “This version of Xamarin.iOS requires the iOS 11.0 SDK (shipped with Xcode 9). Either upgrade Xcode to get the required header files or set the managed linker behaviour to Link Framework SDKs Only (to try to avoid the new APIs).” This message will appear when building using Xcode 8.3 or older with Xamarin.iOS 11. The issue arises because Xamarin.iOS 11 is built to include the Xcode 9 symbols. The Xamarin managed linker can remove these unused symbols to allow building successfully against older versions of Xcode.
    • Fix: Update to Xcode 9, or enable the Xamarin linker by choosing a setting other than Don’t link under Project properties > iOS Build > Linker behavior.

Installing


Previous Versions

Using the latest versions is recommended. The previous versions of the Xamarin and Mono packages from the Xamarin 15.3.4 release are listed below for reference.

Stable Release: 15.3.4 Servicing Release

We are releasing a service release for our current major release called 15.3 into the Stable channel.

This release is now available as part of Visual Studio 2017 version 15.3 and in the Stable updater channels for Visual Studio 2017 for Mac and Xamarin for Visual Studio 2015.

Please check out the product release notes to see all the fixes and known issues for this release.

If you notice an error in this blog post or have trouble downloading one of the installer packages, please let us know in the corresponding forum thread.

Bug reports are also welcome. If you see any suspicious behavior that you wish to report, please file a quick bug.


Products Released


Included Fixes

This release focuses on a few issues from the Xamarin 15.3 release:

  • 58226 (non-public) [Xamarin iOS Designer] – “MonoTouch.Design.Client.DesignerRemoteException: System.NotSupportedException: Could not parse xml” when attempting to open a storyboard or .xib file, for example after editing the file with Xcode.
  • Developer Community 89863 [Visual Studio for Mac, Xamarin.iOS] – Crash when attempting to access Preferences > Apple Developer Accounts when Xamarin.Mac is not installed.
  • 58829 [Xamarin.Android, Xamarin.iOS] – Application Output window flooded with “[Mono] worker parking, [Mono] worker unparking” messages when debugging with Android Emulator.
  • 58778 [Xamarin.iOS, Xamarin Profiler] – Xamarin.iOS profiling is unsuccessful when Strip native debugging symbols is enabled.

Other Common Issues from the Xamarin 15.3 Release

In case it might also be useful for reference, here are some other in-progress commonly seen issues being tracked by the Xamarin team from the Xamarin 15.3 release. This list is not exhaustive: It does not include every issue user-submitted issue reported since the time of the Xamarin 15.3 release.

  • 59036 [Xamarin.Android] – ClassNotFoundException when building and running app with Multi-Dex enabled due to missing newline characters in generated multidex.keep file.
    • Possible temporary workaround: Copy the generated multidex.keep file from the obj directory into the top level of the Android app project, add a newline character after each “.class” string, set the build action of the file to MultiDexMainDexList, and rebuild the app.

Installing


Previous Versions

Using the latest versions is recommended. The previous versions of the Xamarin and Mono packages from the Xamarin 15.3 release are listed below for reference.

Beta Release: 15.4 Beta 1

We are releasing the third preview of our next major release, called 15.4. This release includes our next preview of Visual Studio for Mac.

Note that in this release of Visual Studio for Mac, the Azure Functions and Xamarin IoT preview features are disabled. These preview features are now available separately via the extension gallery. See the steps under Preview Capabilities on the corresponding Visual Studio blog post for details on how to enable those features.

As this is a Beta build, there are some known issues and the possibility of new issues being found during testing. Of course, additional bug reports are still welcome for these preview versions. If you see any suspicious behavior that you wish to report, please file a quick bug.

If you notice an error in this blog post or have trouble downloading one of the installer packages, please let us know in the corresponding forum thread.

Please check out the product release notes to see all the fixes and known issues for this release.


Products Released


Installing

You can switch back to the non-preview versions at any time by launching your side-by-side non-preview installation of Visual Studio 2017 and switching to the Stable updater channel in Visual Studio for Mac and Visual Studio 2015 Tools for Xamarin.


15.4 Release Dates

Preview 1 – Aug 2nd 2017

Preview 2 – Aug 28th 2017

Preview 3 – This Release!

Alpha Release: 15.4 Alpha 2

We are releasing the second preview of our next major release, called 15.4. This release includes our next preview of Visual Studio for Mac.

Note that in this release of Visual Studio for Mac, the Azure Functions and Xamarin IoT preview features are disabled. These preview features are now available separately via the extension gallery. See the steps under Preview Capabilities on the corresponding Visual Studio blog post for details on how to enable those features.

As this is an Alpha build, there are some known issues and the possibility of new issues being found during testing. Of course, additional bug reports are still welcome for these preview versions. If you see any suspicious behavior that you wish to report, please file a quick bug.

If you notice an error in this blog post or have trouble downloading one of the installer packages, please let us know in the corresponding forum thread.

Please check out the product release notes to see all the fixes and known issues for this release.


Products Released


Installing

You can switch back to the non-preview versions at any time by launching your side-by-side non-preview installation of Visual Studio 2017 and switching to the Stable updater channel in Visual Studio for Mac and Xamarin for Visual Studio 2015.

 


15.4 Release Dates

Preview 1 – Aug 2nd 2017

Preview 2 – This Release!

Stable Release: 15.3.2 Servicing Release

We are releasing a service release for our current major release called 15.3 into the Beta and Stable channels.

This release is now available as part of Visual Studio 2017 version 15.3 and in the Stable updater channels for Visual Studio 2017 for Mac and Xamarin for Visual Studio 2015.

Please check out the product release notes to see all the fixes and known issues for this release.

If you notice an error in this blog post or have trouble downloading one of the installer packages, please let us know in the corresponding forum thread.

Bug reports are also welcome. If you see any suspicious behavior that you wish to report, please file a quick bug.


Products Released

  • Xamarin.VisualStudio 4.6.0.299
  • The only change in this version is to update the Xamarin.iOS and Xamarin.Android packages.

Included Fixes

This release targets 4 specific bugs that are the most commonly seen issues in the Xamarin 15.3 release:

  • 58789 and 58834 [Xamarin.iOS] – “error MT0000: Unexpected error – Please file a bug report …” and “error MT2102: Error processing the method … Value cannot be null” when attempting to build certain projects with linking enabled.
  • 57919 and 58625  [Xamarin.Android, Xamarin.iOS] – “System.PlatformNotSupportedException: Operation is not supported on this platform” at System.Runtime.InteropServices.Marshal.IsComObject() when trying to use dynamic types.

Other Common Issues from the Xamarin 15.3 Release

In case it might also be useful for reference, here are a few other in-progress progress commonly seen issues being tracked by the Xamarin team from the Xamarin 15.3 release. This list is not exhaustive: It does not include every issue user-submitted issue reported since the time of the Xamarin 15.3 release.

  • 58226 (non-public) [Xamarin iOS Designer] – “MonoTouch.Design.Client.DesignerRemoteException: System.NotSupportedException: Could not parse xml” when attempting to open a storyboard or .xib file, for example after editing the file with Xcode.
    • Temporary workaround: Open the problematic file as text (for example via the context menu for the file in the Solution window), and then remove the device element from the top of the file. It typically looks something like:
      <device id="retina4_0" orientation="portrait">
          <adaptation id="fullscreen"/>
      </device>
  • 58829 [Xamarin.Android, Xamarin.iOS] – Application Output window flooded with “[Mono] worker parking, [Mono] worker unparking” messages when debugging with Android Emulator.
    • Temporary workaround: Set the MONO_LOG_LEVEL environment variable to message or higher.
      • For example, on Xamarin.Android in a command prompt using adb:
        adb shell setprop debug.mono.env "MONO_LOG_LEVEL=message"
      • For Xamarin.iOS, go to Project Properties > iOS Build > Additional Options > Additional mtouch arguments, and add:
        --setenv:MONO_LOG_LEVEL=message

Installing


Previous Versions

Using the latest versions is recommended. The previous versions of the Xamarin and Mono packages from the Xamarin 15.3 release are listed below for reference.

 

Stable Release: 15.3

We are releasing the Stable build of our next major release, called 15.3 to the Beta and Stable channels.

This release is now available as part of Visual Studio 2017 version 15.3 and in the Stable updater channels for Visual Studio 2017 for Mac and Xamarin for Visual Studio 2015.

Please check out the product release notes to see all the fixes and known issues for this release.

If you notice an error in this blog post or have trouble downloading one of the installer packages, please let us know in the corresponding forum thread.

Bug reports are also welcome. If you see any suspicious behavior that you wish to report, please file a quick bug.


Products Released

  • Xamarin for Visual Studio 2017 4.6.0.295
  • Xamarin for Visual Studio 2015 4.6.0.297
  • (The difference in versions is due to a change needed only for Visual Studio 2015 to support the .msi installer used for Visual Studio 2015.)
  • Release Notes

Installing


Previous Versions for Mac-only or Visual Studio 2015

Using the latest versions is recommended. Previous versions of the Xamarin and Mono packages are listed below for reference. Note that the Visual Studio 2017 for Mac installer automatically checks online for the latest available Stable version to install, so no installation option for a previous version is described at this time.

Previous Versions for Visual Studio 2017 version 15.0

  • For Windows the previous versions and download locations are:

(Note that the previous available version of Visual Studio 2017 is the RTW version 15.0 rather than the 15.3 update to follow the Visual Studio update guidelines.)


15.3 Release Dates

Preview 1 – May 11th, 2017

Preview 2 – June 16th 2017

Preview 3 – June 29th 2017

Preview 4 – July 12th 2017

Preview 5 – July 26th 2017

Preview 6 –  August 1st 2017

Preview 7 – August 3rd 2017

Stable – This Release!

Alpha Release: 15.4 Alpha 1

We are releasing the first preview of our next major release, called 15.4. This release includes our next preview of Visual Studio for Mac.

Note that in this release of Visual Studio for Mac, the Azure Functions and Xamarin IoT preview features are disabled. These preview features are now available separately via the extension gallery. See the steps under Preview Capabilities on the corresponding Visual Studio blog post for details on how to enable those features.

As this is an Alpha build, there are some known issues and the possibility of new issues being found during testing. Of course, additional bug reports are still welcome for these preview versions. If you see any suspicious behavior that you wish to report, please file a quick bug.

If you notice an error in this blog post or have trouble downloading one of the installer packages, please let us know in the corresponding forum thread.

Please check out the product release notes to see all the fixes and known issues for this release.


Products Released

  • iOS Simulator on Windows 1.1.3.21
  • Release notes forthcoming

Installing the Alpha and switching back to Stable

You can install this new Alpha version or switch back to the current Stable version by changing updater channels.

Install steps for Visual Studio 2017 Preview

Updated simpler steps as of August 24: Install Visual Studio 2017 version 15.4.0 Preview 1.


15.4 Release Dates

Preview 1 – This Release!

 

Beta Release: 15.3 Preview 6

We are releasing the sixth preview of our next major release, called 15.3. This release is our stable release candidate and includes our next preview of Visual Studio for Mac.

Note that this Beta version is a smaller release compared to the current Alpha preview. In particular, it does not include the Xamarin Live Player, Docker, Azure Functions, or Xamarin IoT preview features announced at Build. Please stay on the Alpha channel if you wish to continue to preview those features.

As this is a Beta build, there are some known issues and the possibility of new issues being found during testing. Of course, additional bug reports are still welcome for these preview versions. If you see any suspicious behavior that you wish to report, please file a quick bug.

If you notice an error in this blog post or have trouble downloading one of the installer packages, please let us know in the corresponding forum thread.

Please check out the product release notes to see all the fixes and known issues for this release.


Products Released


Installing the Beta and switching back to Stable

You can install this new Beta version or switch back to the current Stable version by changing updater channels.


15.3 Release Dates

Preview 1 – May 11th, 2017

Preview 2 – June 16th 2017

Preview 3 – June 29th 2017

Preview 4 – July 12th 2017

Preview 5 – July 26th 2017

Preview 6 – This Release!

Beta Release: 15.3 Preview 5

We are releasing the fifth preview of our next major release, called 15.3. This release is our stable release candidate and includes our next preview of Visual Studio for Mac.

Note that this Beta version is a smaller release compared to the current Alpha preview. In particular, it does not include the Xamarin Live Player, Docker, Azure Functions, or Xamarin IoT preview features announced at Build. Please stay on the Alpha channel if you wish to continue to preview those features.

As this is a Beta build, there are some known issues and the possibility of new issues being found during testing. Of course, additional bug reports are still welcome for these preview versions. If you see any suspicious behavior that you wish to report, please file a quick bug.

If you notice an error in this blog post or have trouble downloading one of the installer packages, please let us know in the corresponding forum thread.

Please check out the product release notes to see all the fixes and known issues for this release.


Products Released


Installing the Beta and switching back to Stable

You can install this new Beta version or switch back to the current Stable version by changing updater channels.


15.3 Release Dates

Preview 1 – May 11th, 2017

Preview 2 – June 16th 2017

Preview 3 – June 29th 2017

Preview 4 – July 12th 2017

Preview 5 – This Release!

Beta Release: 15.3 Preview 4

We are releasing the fourth preview of our next major release, called 15.3. This release is our stable release candidate and includes our next preview of Visual Studio for Mac.

Note that this Beta version is a smaller release compared to the current Alpha preview. In particular, it does not include the Xamarin Live Player, Docker, Azure Functions, or Xamarin IoT preview features announced at Build. Please stay on the Alpha channel if you wish to continue to preview those features.

As this is a Beta build, there are some known issues and the possibility of new issues being found during testing. Of course, additional bug reports are still welcome for these preview versions. If you see any suspicious behavior that you wish to report, please file a quick bug.

If you notice an error in this blog post or have trouble downloading one of the installer packages, please let us know in the corresponding forum thread.

Please check out the product release notes to see all the fixes and known issues for this release.


Highlighted Known Issues

  • [Xamarin.VisualStudio] – “Unable to copy file “obj\Debug\App1.dll” to “bin\Debug\App1.dll”. The process cannot access the file ‘bin\Debug\App1.dll’ because it is being used by another process.” and “Exceeded retry count of 10. Failed”.
    • This issue originally appeared in the Xamarin 15.2 release and was fixed in the Xamarin 15.2.2 release. Unfortunately, the fix was accidentally omitted from these Xamarin 15.3 release preview builds. It will be included in the next published set of builds.

Products Released


Installing the Beta and switching back to Stable

You can install this new Beta version or switch back to the current Stable version by changing updater channels.


15.3 Release Dates

Preview 1 – May 11th, 2017

Preview 2 – June 16th 2017

Preview 3 – June 29th 2017

Preview 4 – This Release!