Skip to content

Bundled app initialization error (vs 15.7 preview) #1651

Description

@tranb3r

Steps to Reproduce

  1. Create a xamarin app for Android
  2. Enable "Bundle Assemblies into Native Code" option : true in csproj
  3. Build and launch app in VS 2017 15.7 preview

Expected Behavior

No crash.
This is actually what happens with VS 2017 15.6.7

Actual Behavior

App crashes (when using VS 2017 15.7 preview) with the following error:
bundled app initialization error: dlopen failed: cannot locate symbol "mono_jit_set_aot_mode" referenced by libmonodroid_bundle_app.so

Version Information (causing the error)

Version 15.7.0 Preview 5.0
VisualStudio.15.Preview/15.7.0-pre.5.0+27625.0
Mono Debugging for Visual Studio 4.10.5-pre (ab58725)
Xamarin 4.10.0.440 (943b34d9d)
Xamarin.Android SDK 8.3.0.18 (HEAD/1f8462ef1)

Version Information (no error)

Version 15.6.7
VisualStudio.15.Release/15.6.7+27428.2043
Mono Debugging for Visual Studio 4.9.11-pre (71eb098)
Xamarin 4.9.0.753 (f0f46392f)
Xamarin.Android SDK 8.2.0.16 (HEAD/a78295902)

VS bug #618947

Metadata

Metadata

Assignees

Labels

Area: App+Library BuildIssues when building Library projects or Application projects.vs-syncFor internal use only; creates a VSTS "mirror" issue.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions