我正在开发一个Android应用程序,我在其中使用HoloEverywhere。实现一切顺利,但现在我想创建一个签名的应用程序。
在能够创建已签名的应用程序之前,所有代码都必须通过lint错误检查。但是,Holoeverywhere给了我16个错误。
我是否应该禁用这些错误致命?或者有解决这些问题的方法吗?
我得到的一些错误:
This class should be public (org.holoeverywhere.slider.SliderMenuGroupIndicatorView)
This class should be public (android.support.v7.internal.widget.ActionBarView.HomeView)
Class referenced in the layout file, Internal.DialogTitle, was not found in the project or the libraries
Class referenced in the layout file, Internal.ExpandedMenuView, was not found in the project or the libraries
Class referenced in the layout file, Internal.NumberPickerEditText, was not found in the project or the libraries
Wrong orientation? No orientation specified, and the default is horizontal, yet this layout has multiple children where at least one has layout_width="match_parent"
我在他们的GitHub中使用最新版本的HoloEverywhere:https://github.com/Prototik/HoloEverywhere
答案 0 :(得分:1)
我认为这是一个可以在存储库中打开的问题。无论如何,我通常会在项目的lint.xml
内禁用此错误。