Xamarin.forms: Android 4.1 exception: Java.Lang.NoSuchMethodError: no method with name='isInLayout' signature='()Z' in class Landroid/view/ViewGroup;

Created on 23 Jun 2018  路  11Comments  路  Source: xamarin/Xamarin.Forms

Steps to Reproduce

  1. Run

Basic Information

2 regression high impact Android bug

Most helpful comment

Issue exist in 3.1.0.637273

All 11 comments

Application launches without issue on latest 3.2.0 branch. Please re-open should you be able to reproduce the issue. To create a local nuget package set NUGET_DIR=x:\nuget\4.4.1\ then .create-nuget.bat droid.

image

You may need to wait till https://github.com/xamarin/Xamarin.Forms/pull/3200/files clears before .create_nuget.bat will work.

Issue exist in 3.1.0.637273

Hi, we've also hit the same java.lang.NoSuchMethodError: no method with name='isInLayout' signature='()Z' in class Landroid/view/ViewGroup;
in the latest stable Xamarin.Forms. I'm worried it is not just our old test device but other phones that will have the issue. Could you advice on a workaround? I'd rather use newer versions of Xamarin.Forms but as this is production code will not be able to do so as we can't just break everything and then wait for a fix sometime in the distant future.
I'm downgrading Xamarin.Forms back to 3.0.0.561731 (which worked) and as usual, will not upgrade until we absolutely must :(

Any updates on this?

Resolved in the latest release (3.1.0 Service Release 2)

I still have this issue on 3.1.0.697729. Waiting for Release 2. I will try to go back to 3.0.0.561731.

Confirmed this is fixed on 3.2 pre2

Was this page helpful?
0 / 5 - 0 ratings