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 Android Mobile Sample 'AsyncAwait'
2. Run the sample in Release mode.
3. Click on 'Get Async' button.
Actual Result: Application get crashed.
Expected Result: It should load image.
Application Output: https://gist.github.com/saurabh360/c69c9bc333ca8194986a
Android Log: https://gist.github.com/saurabh360/67f95b938090810baee0
ADB Logcat: https://gist.github.com/saurabh360/7dda584c2b2d6d481057
All Mac and Windows
X.S 4.2.3(build 23)- 067989d9274b9f0fbd959336e60f8a5c1a75bc48
Regression Status: Same behavior happening with stable X.Android 4.10.1-68/73
I can reproduce the bug with the default release configuration.
With a little bit of toying around, I found it doesn't happen in release configuration with full debug information and the 'DEBUG' symbol defined. It will require more investigation.
Assigning to Craig (original author).
I think it's just missing the INTERNET permission in the manifest, I'll fix it.
Ahh yes you're exactly right. I should have checked that first.
We could definitely have a more guided error message here.
FIxed in https://github.com/xamarin/mobile-samples/commit/26e924d16c8cfa2751c824b9c7af1fba9b713a32
The device will also need to be properly connected to a network or this will manifest.
We have checked this issue with latest mobile sample:
Emulator API 19(android 4.4)
LG Nexus (android 4.4.2)
Now, On RELEASE mode, on clicking on 'Get Async' button, image downloaded successfully and application does not throw any exception.
Hence, clicking on 'Get Async' button, image downloaded successfully on Debug and Release both mode.