locked
Error: no suitable constructor found for Spinner(..) RRS feed

  • Question

  • User312875 posted

    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.

    Friday, March 31, 2017 8:51 AM

All replies

  • User21936 posted

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

    Also moving to the Android forum.

    Friday, March 31, 2017 9:05 PM
  • User336660 posted

    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)

    Friday, July 14, 2017 11:13 PM