When I start debugging my project on an Android emulator, I get this error:
Java.Lang.NoClassDefFoundError: android.support.graphics.drawable.VectorDrawableCompat
In this code:
public class MainActivity : global::Xamarin.Forms.Platform.Android.FormsAppCompatActivity { protected override void OnCreate(Bundle bundle) {
The error in this line is:
base.OnCreate(bundle);
I tried looking online for other suggestions, but the answers seem to be related to specific Xamarin studio files that do not exist in my project (e.g. gradle file).
I checked the contents of the "bundle" and it seems to be null during the error, but I'm not sure if this caused an error.
I am using Xamarin forms PCL.
source share