Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Debugger-crash if #IF __Android__ is used

$
0
0

Hi all

I "try to try" Xamarin.Forms (VS 2013, 90-day-trial).

Today I have "tried to try" the "#IF Android"-compiler-statement (and also the other platforms).
The statements to iOS and WP seems to work...

As far as I add a "#IF Android"-statement in code and the debug the app on the device (Samsung SM-T900), the app crashes hard (before the code reach the #-statement).
Message on Android-Device "app.android holdet" (OK)
Then an error-message appears in VS2013.
It also crashes, if **no code **is between #If and #Endif.
To be able to debug, I had to comment the #-statements to android , clean the android-project and rebuild the project.
If I deploy the app to the device and the run it from device (without debugger), it run's...

It seems that there is a problem related to the VS2013-debugger and android-HW as soon as a #-statement to android is used...?
Is this an known bug or do I have to configure something special, if I use an #IF to Android?

Thanks


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>