Error: no suitable constructor found for Spinner(..)

I just installed the Android API level 21 (Android 5.0 lollipop) on MvvmCross. But the error comes out
as I want to try and run the app.

Tagged:

Answers

  • JGoldbergerJGoldberger USMember, Forum Administrator, Xamarin Team, University Xamurai
    edited March 2017

    Can you show the code where the error appears? Also the full stack trace would be helpful.

    Also moving to the Android forum.

  • pochocostapochocosta ARMember ✭✭

    Same mistake for me while trying to make the get starting guide of mvvmcross:

    /Users/pablocosta/Projects/HelloMvx4/HelloMvx4.Droid/obj/Debug/android/src/mvvmcross/binding/droid/views/MvxSpinner.java(3,3): Error: error: no suitable constructor found for Spinner(Context,AttributeSet,int,int,int,Resources.Theme)
    super (p0, p1, p2, p3, p4, p5);
    constructor Spinner.Spinner(Context) is not applicable
    (actual and formal argument lists differ in length)
    constructor Spinner.Spinner(Context,int) is not applicable
    (actual and formal argument lists differ in length)
    constructor Spinner.Spinner(Context,AttributeSet) is not applicable
    (actual and formal argument lists differ in length)
    constructor Spinner.Spinner(Context,AttributeSet,int) is not applicable
    (actual and formal argument lists differ in length)
    constructor Spinner.Spinner(Context,AttributeSet,int,int) is not applicable
    (actual and formal argument lists differ in length)
    constructor Spinner.Spinner(Context,AttributeSet,int,int,int) is not applicable
    (actual and formal argument lists differ in length)
    (HelloMvx4.Droid)

Sign In or Register to comment.