From 485db5fda218f276c736d45014a17f6b88008e3b Mon Sep 17 00:00:00 2001 From: Dean Ellis Date: Thu, 23 Mar 2017 18:19:32 +0000 Subject: [PATCH] [Xamarin.Android.Build.Tasks] Application crashes onto the Simulator and Physical device when running on Debug mode Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=53787 We were not handling $(DebugType) == 'Portable' as part of our packaging process. As a result even in debug mode the apk would not contain any of the reuqired debugging information. --- .../Xamarin.Android.Common.targets | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/Xamarin.Android.Build.Tasks/Xamarin.Android.Common.targets b/src/Xamarin.Android.Build.Tasks/Xamarin.Android.Common.targets index 7543ceed620..7984c7b462b 100755 --- a/src/Xamarin.Android.Build.Tasks/Xamarin.Android.Common.targets +++ b/src/Xamarin.Android.Build.Tasks/Xamarin.Android.Common.targets @@ -189,7 +189,7 @@ Copyright (C) 2011-2012 Xamarin. All rights reserved. False True - True + True False False @@ -255,7 +255,7 @@ Copyright (C) 2011-2012 Xamarin. All rights reserved. <_Android32bitArchitectures>armeabi-v7a;armeabi;x86;mips <_Android64bitArchitectures>arm64-v8a;x86_64;mips64 - <_AndroidSequencePointsMode Condition=" '$(MonoSymbolArchive)' == 'True' And '$(AndroidUseDebugRuntime)' == 'False' And '$(AotAssemblies)' == 'True' And '$(DebugSymbols)' == 'True' And '$(DebugType)' == 'PdbOnly'">Offline + <_AndroidSequencePointsMode Condition=" '$(MonoSymbolArchive)' == 'True' And '$(AndroidUseDebugRuntime)' == 'False' And '$(AotAssemblies)' == 'True' And '$(DebugSymbols)' == 'True' And ('$(DebugType)' == 'PdbOnly' Or '$(DebugType)' == 'Portable')">Offline <_AndroidSequencePointsMode Condition=" '$(MonoSymbolArchive)' == 'True' And '$(AndroidUseDebugRuntime)' == 'False' And '$(_AndroidSequencePointsMode)' == ''">Normal <_AndroidSequencePointsMode Condition=" '$(_AndroidSequencePointsMode)' == ''">None <_InstantRunEnabled Condition=" '$(_InstantRunEnabled)' == '' ">False @@ -268,6 +268,11 @@ Copyright (C) 2011-2012 Xamarin. All rights reserved. True + + + True + + True