Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Steps to Reproduce :
1.Open attached 'XamlSamples'.
2.Set Android Project as "Set as Startup project"
3.Deploy sample in release mode.
4.Click on View button corresponding to 'StaticConstantsPage'
Actual Result : Sample is getting crashed.
Expected Result : Sample should not crashed.
Adb Logcat: https://gist.github.com/saurabh360/581d73a6e1eaa120de9c
Note : We have faced this issue only with Android. It is working fine with iOS.
=== Xamarin Studio ===
Version 5.7.1 (build 17)
Installation UUID: 67eaf3b4-f8a7-4ab4-a9df-3197350ca5dc
Mono 3.12.0 ((detached/a813491)
GTK+ 2.24.23 (Raleigh theme)
Package version: 312000068
=== Apple Developer Tools ===
Xcode 6.2 (6758)
=== Xamarin.iOS ===
Version: 184.108.40.206 (Enterprise Edition)
Build date: 2015-01-31 17:42:21-0500
=== Xamarin.Android ===
Version: 220.127.116.11 (Enterprise Edition)
Android SDK: /Users/ixamarin78/Desktop/android-sdk-macosx
Supported Android versions:
2.1 (API level 7)
2.2 (API level 8)
2.3 (API level 10)
3.1 (API level 12)
4.0 (API level 14)
4.0.3 (API level 15)
4.1 (API level 16)
4.2 (API level 17)
4.3 (API level 18)
4.4 (API level 19)
4.4.87 (API level 20)
5.0 (API level 21)
Java SDK: /usr
java version "1.8.0_25"
Java(TM) SE Runtime Environment (build 1.8.0_25-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)
=== Xamarin.Mac ===
Version: 18.104.22.168 (Enterprise Edition)
=== Build Information ===
Release ID: 507010017
Git revision: 0bc7d3550b6b088ac25b08dcf7bbe73bcc8658b3
Build date: 2015-02-03 19:43:29-05
Xamarin addins: f7b7d34419c9ec24501bfa7c658e80a6305613e0
=== Operating System ===
Mac OS X 10.10.0
Darwin XamnewiMac.local 14.0.0 Darwin Kernel Version 14.0.0
Fri Sep 19 00:26:44 PDT 2014
Regression Status : This issue is also observed in Xamarin.Forms Stable release 22.214.171.12423
I had also run into this issue before. Try these steps...
1.) Go to XamSamples.Android project options > Android Build > Linker Tab
2.) Set the Linker behavior to "Don't Link" (make sure this is for Release Configuration)
3.) Clean and rebuild
4.) Follow the reproduction steps in Comment 1
If this doesn't work, I suggest getting a fresh pull from the repo and trying again (as when I did this it was with unsullied sample code).
Fixed with commit:
I have checked this issue with Xam.Forms Branch: 1.4.2 and observed that Android sample is getting crash on tapping View button of "StaticConstantsPage".
Hence closing this issue.