Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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 (android.support.v7.internal.widget.ActionBarView.HomeView)

like image 443
HeadShotNot Avatar asked Sep 11 '25 05:09

HeadShotNot


2 Answers

On the "v7-appcompat" library:

preferences -> Android Lint Preferences

Search for "Instantiatable" and set to Warning.

like image 198
braintrapp Avatar answered Sep 12 '25 19:09

braintrapp


If you are using Eclipse:

Project > Clean > OK

Or Try:

Preferences -> Android Lint Preferences

Search for Instantiatable and set as Warning.

http://developer.android.com/tools/debugging/improving-w-lint.html

This worked for me.