Forum Xamarin.Forms
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

Webview.EvaluateJavaScriptAsync MissingMethod Exception

NielsCupNielsCup NLMember ✭✭✭

I am trying to run some javascript via the Webview.EvaluateJavaScriptAsync method. It is working on iOS but on Android it results in the following error: System.MissingMethodException

I am using Xamarin.Forms

Any hints on this?


  • NielsCupNielsCup NLMember ✭✭✭
    edited November 2018

    Problem solved: I just updated to Xamarin.Forms and did a rebuild, but I had to remove the bin and objects folders and restart VS before doing the rebuild.

  • GaetanFGaetanF USMember ✭✭✭

    Rule of thumb:

    When upgrading xamarin forms, always clean your solution, delete the obj/ and bin/ folders of each project then rebuild the solution.

    (In general, do that with any API/Framework you are using which is part of the foundation of your product)

  • NielsCupNielsCup NLMember ✭✭✭
    edited November 2018

    Sure, I know that but somehow I sometimes forget it. This mostly happens at the end of the day after 10 hours of coding. And then I solve it within 5 minutes the next morning, as in this case ;) ...

Sign In or Register to comment.