This class should be public (android.support.v7.internal.widget.ActionBarView.HomeView)

前端 未结 7 1182
予麋鹿
予麋鹿 2020-12-29 04:11

I am trying to create a Android Application which uses 3 spinners. I keep getting this error and I can\'t figure out how to fix it. This class should be public (and

7条回答
  •  梦毁少年i
    2020-12-29 04:49

    You can also do this manually in the build.gradle file:

    lintOptions {
        abortOnError false
        disable "Instantiatable"
    }
    

提交回复
热议问题