Bug 52964 - no method with name='setForegroundGravity' signature='(I)V' in class Landroid/view/View;
Summary: no method with name='setForegroundGravity' signature='(I)V' in class Landroid...
Status: CONFIRMED
Alias: None
Product: Android
Classification: Xamarin
Component: General (show other bugs)
Version: unspecified
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Jonathan Pryor
URL:
Depends on:
Blocks:
 
Reported: 2017-03-02 04:44 UTC by bblonchek
Modified: 2017-06-16 15:07 UTC (History)
3 users (show)

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


Attachments
Crash Reproduction project (56.49 KB, application/x-zip-compressed)
2017-03-10 18:21 UTC, bblonchek
Details


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 for Bug 52964 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
CONFIRMED

Description bblonchek 2017-03-02 04:44:37 UTC
When running a Forms app on a Android device/emulator running KitKat 4.4 API 19 a TableViewRenderer throws the following error: no method with name='setForegroundGravity' signature='(I)V' in class Landroid/view/View; when executing this statement: Control.SetForegroundGravity(GravityFlags.Center);

The renderer throws the error: no method with name='setNestedScrollingEnabled' signature='(Z)V' in class Landroid/view/View; when executing this statment: Control.NestedScrollingEnabled = true;

The error does not occur when running Android 6.0 - API 23
Comment 1 Paul DiPietro [MSFT] 2017-03-02 15:02:05 UTC
Can you provide a reproduction project for helping us to investigate this issue?
Comment 2 bblonchek 2017-03-10 18:14:04 UTC
I have attached a reproduction project that will crash on startup.
Comment 3 bblonchek 2017-03-10 18:21:18 UTC
Created attachment 20273 [details]
Crash Reproduction project
Comment 4 bblonchek 2017-05-11 01:25:18 UTC
Hello
Comment 5 Paul DiPietro [MSFT] 2017-06-16 15:07:12 UTC
Reassigning to X.A since it looks specific to those API calls and not Forms itself.