这个类应该是公共的(android.support.v7.internal.widget.ActionBarView.HomeView) [英] This class should be public (android.support.v7.internal.widget.ActionBarView.HomeView)
本文介绍了这个类应该是公共的(android.support.v7.internal.widget.ActionBarView.HomeView)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想创建一个Android应用程序,它使用3纱厂。我不断收到这个错误,我不知道如何解决它。 这个类应该是公共的(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)
推荐答案
在V7-appcompat库:
On the "v7-appcompat" library:
preferences - > Android的皮棉preferences
preferences -> Android Lint Preferences
搜索可实例化,并设置为警告。
Search for "Instantiatable" and set to Warning.
这篇关于这个类应该是公共的(android.support.v7.internal.widget.ActionBarView.HomeView)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文