Skip to content
This repository has been archived by the owner on Apr 3, 2023. It is now read-only.

TargetInvocationException #84

Open
lucid-dreamm opened this issue Mar 1, 2019 · 0 comments
Open

TargetInvocationException #84

lucid-dreamm opened this issue Mar 1, 2019 · 0 comments

Comments

@lucid-dreamm
Copy link

If you are creating an issue for a BUG please fill out this information. If you are asking a question or requesting a feature you can delete the sections below.

Failure to fill out this information will result in this issue being closed. If you post a full stack trace in a bug it will be closed, please post it to http://gist.github.com and then post the link here.

Bug Information

When I add " ImageCircleRenderer.Init();" in AppDelegate and MainActivity, I get the exception below:

Unhandled Exception:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. occurred

Version Number of Plugin: v3.0.0.5
Device Tested On: Android, in debug/Editor
Simulator Tested On:
Version of VS: 2017
Version of Xamarin:
Versions of other things you are using:

Steps to reproduce the Behavior

Expected Behavior

Actual Behavior

Code snippet

public class MainActivity : global::Xamarin.Forms.Platform.Android.FormsAppCompatActivity
{
protected override void OnCreate(Bundle bundle)
{
TabLayoutResource = Resource.Layout.Tabbar;
ToolbarResource = Resource.Layout.Toolbar;

        base.OnCreate(bundle);

        global::Xamarin.Forms.Forms.Init(this, bundle);
        ImageCircleRenderer.Init();
        LoadApplication(new App());---> exception
    }
}

Screenshots

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant