Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Cannot get HybridWebView working - help me plz

$
0
0

I am trying to get a test project working for Android using the XamarinLabs nuget package.

Whats the bare minimum that I need to do to get this working?

The steps I am using are:

Create a new shared project
Add the nuget for 1.2 of the labs core package
Add a Hybrid web view to a page
Check it renders. Yay!

BUT now I need to hookup some callbacks
Add one of those - Still does not work
Try to add .Register<IJsonSerializer, Services.Serialization.ServiceStackV3.JsonSerializer>() as stated in the wiki - I try to add this to the android MainActivity as per the demo
Try to add references to XLabs??? for
using Xamarin.Forms.Labs.Droid;
using XLabs.Ioc;
using XLabs.Serialization;

I grabbed these from the demo and then it would compile but then it just dies on startup with


[Mono] The class Xamarin.Forms.Platform.Android.ViewRenderer

2 could not be loaded, used in Xamarin.Forms.Platform.Android, Version=1.2.3.0, Culture=neutral, PublicKeyToken=null
[Mono] The class Xamarin.Forms.Platform.Android.ViewRenderer
2 could not be loaded, used in Xamarin.Forms.Platform.Android, Version=1.2.3.0, Culture=neutral, PublicKeyToken=null
[] * Assertion at /Users/builder/data/lanes/monodroid-mlion-monodroid-4.18-series/5474129a/source/mono/mono/metadata/class.c:5607, condition `!mono_loader_get_last_error ()' not met

[libc] Fatal signal 6 (SIGABRT) at 0x00001add (code=-6), thread 6877 (RSAppV2.Android)

Any help or hints to get this working would be really appreciated

Thanks


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>