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

前端 未结 7 1202
予麋鹿
予麋鹿 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条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-29 05:05

    On the "v7-appcompat" library:

    preferences -> Android Lint Preferences

    Search for "Instantiatable" and set to Warning.

提交回复
热议问题