i have very simple xamarin application , with 2 activities , when i want to start my second activity xamarin in visual studio 2017 show "Java.Lang.ClassNotFoundException: " ERROR
2 Answers
Maybe...
This work:
translationHistoryButton.Click += (sender, e) =>
{
var intent = new Intent(this, typeof(TranslationHistoryActivity));
intent.PutStringArrayListExtra("phone_numbers", phoneNumbers);
StartActivity(intent);
};
This get Java.Lang.ClassNotFoundException:
translationHistoryButton.Click += (sender, e) =>
{
var intent = new Intent(this, typeof(TranslationHistoryActivity));
//intent.PutStringArrayListExtra("phone_numbers", phoneNumbers);
//StartActivity(intent);
};
Continuebutton when theUnhandledExceptiondialog appears to the point of breaking out of debugging mode and view yourOutputwindow to see the full stack trace.second activityand your secondActivitycode.