Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ClassNotFoundException in Android project (Xamarin Forms) #151

Open
tabula-rasa opened this issue Jan 31, 2018 · 6 comments
Open

ClassNotFoundException in Android project (Xamarin Forms) #151

tabula-rasa opened this issue Jan 31, 2018 · 6 comments

Comments

@tabula-rasa
Copy link

I'm having issue with initializing Toasts plugin in Android's MainActivity.
Exception thrown on the ToastNotification.Init(this); line, error description: Java.Lang.ClassNotFoundException: Didn't find class "md52d189d64b7b0ac40b59b56928c06114b.NotificationReceiver"
My code:

public class MainActivity : FormsAppCompatActivity
{
        protected override void OnCreate(Bundle bundle)
        {
         .....
         global::Xamarin.Forms.Forms.Init(this, bundle);
         DependencyService.Register<ToastNotification>(); // Register your dependency
         ToastNotification.Init(this);
         LoadApplication(new App());
         ....
        }
}

Can I get any help?

@maggima
Copy link

maggima commented Feb 20, 2018

Have the exact same problem.
@tabula-rasa Have you found a solution to this one ?

@tabula-rasa
Copy link
Author

Nope :)

@mtbgithub
Copy link

Unfortunately I have to report the exact same issue. Reverting to V3.0.0 doesn't help (gives the same error) and 2.x is significantly different so I haven't tried using it.

@adamped
Copy link
Contributor

adamped commented Feb 21, 2018

I recently have very little time to work on this project. If you want to debug the issue, fix it and submit a PR, will gladly accept.

@mtbgithub
Copy link

mtbgithub commented Feb 21, 2018 via email

@EmilAlipiev
Copy link

this looks like linker or proguard issue

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

No branches or pull requests

5 participants