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 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.
Created attachment 17514 [details]
App open and close immediately when launch.
After any new Xamarin/Forms Project is created and trying to start the appp, it opens at the emulator and immediately closes.
I think this might be related to the Xamarin debugger or Xamarin Designer as both are showing some error message:
Severity Code Description Project File Line Suppression State
Warning An unexpected error occurred trying to initialize Android Designer. Please verify the Android SDK path and the Java Development Kit path on Tools->Options->Xamarin->Android Settings menu. Please see the logs for more details. 0
I have checked this sections and all path seems to be ok:
C:\Program Files (x86)\Java\jdk1.7.0_55
C:\Program Files (x86)\Android\android-sdk
I'm also getting this message from Xamarin output at Visual Studio Output Pane
An unexpected error occurred trying to initialize Android Designer.
Other message I found is related to Debugger at Debug output
( 4790): AOT module 'mscorlib.dll.so' not found: dlopen failed: library "/data/app-lib/DemoPortable.Droid-1/libaot-mscorlib.dll.so" not found
In order to understand what is happening and related to the first part of the report "An unexpected error occurred trying to initialize Android Designer. Please verify the Android SDK path and the Java Development Kit path on Tools->Options->Xamarin->Android Settings menu".
Could you verify the components that you have installed?
First at all, please run the android sdk manager from command line:
- move to android sdk folder
- run Sdk manager exe
Could you attach the following information:
1. Android SDK Tools installed
2. Android SDK Platform-tools installed
3. Android SDK Build-tools installed
4. Api-levels (SDK Platform) installed
5. Extra components installed
Also, it would be great if you add the following information:
1. Xamarin Logs
Go to the menu "Help - Xamarin - Zip Logs". Please attach that zip file to the
2. Environment information
Go to the menu "Help - About Microsoft Visual Studio" and press "Copy Info".
Please paste that info in a Bugzilla comment.
Please let us know if you still need help with this issue. Thanks, Adrian