Bug 29471 - Xamarin.Android.Support.V4 version 22.1.1 throws MissingMethodException on loading a MasterDetailPage
Summary: Xamarin.Android.Support.V4 version 22.1.1 throws MissingMethodException on lo...
Alias: None
Product: Forms
Classification: Xamarin
Component: Android ()
Version: 1.4.2
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2015-04-28 12:14 UTC by christopher.wos
Modified: 2016-04-13 18:06 UTC (History)
5 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and 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 Links.

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.

Related Links:

Description christopher.wos 2015-04-28 12:14:28 UTC
LoadApplication throws the following exception when creating a MasterDetailPage:

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.MissingMethodException: Method not found: 'Android.Runtime.JNIEnv.StartCreateInstance'.
at Xamarin.Forms.Platform.Android.MasterDetailRenderer..ctor ()

This issue only affects Xamarin.Android.Support.V4 in version 22.1.1.
Workaround: Go back to Xamarin.Android.Support.V4 in version 22.0.0

For more information see http://forums.xamarin.com/discussion/39256/issue-after-upgrading-v4-support-library
Comment 1 Jeremy Kolb 2015-04-28 14:43:15 UTC
I'm also seeing issues calling AppCompatDelegate.Create where it wants to call JNIEnv.CallStaticMethod that takes in a * instead of JValue[] as the third parameter.
Comment 2 Chris King 2015-05-22 15:46:41 UTC
We'd be happy to help you resolve this issue. On the latest release I can create a master/detail page. If you are still experiencing this exception please help us by attaching a reduced reproduction to the bug by starting with a clean Xamarin.Forms project and adding just the code necessary to demonstrate the issue. 

Warm regards,
Xamarin Forms Team
Comment 3 Samantha Houts [MSFT] 2016-04-13 18:06:00 UTC
Thank you for your bug report. As we have not received the information requested, we cannot properly triage your bug and are marking it resolved.

Warm regards,
Xamarin Forms Team