Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Once again answering my own question... lint.xml looks now like this and it will ignore any ActionBarSherlock reports on ASB 4.2.0</p> <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;lint&gt; &lt;issue id="NewApi"&gt; &lt;ignore path="target/classes/com/actionbarsherlock/internal/ActionBarSherlockNative.class" /&gt; &lt;ignore path="target/classes/com/actionbarsherlock/internal/ActionBarSherlockNative$ActionModeWrapper.class" /&gt; &lt;ignore path="target/classes/com/actionbarsherlock/internal/app/ActionBarWrapper.class" /&gt; &lt;ignore path="target/classes/com/actionbarsherlock/internal/app/ActionBarWrapper$TabWrapper.class" /&gt; &lt;ignore path="target/classes/com/actionbarsherlock/internal/view/ActionProviderWrapper.class" /&gt; &lt;ignore path="target/classes/com/actionbarsherlock/internal/view/menu/ActionMenuItemView.class" /&gt; &lt;ignore path="target/classes/com/actionbarsherlock/internal/view/menu/MenuItemWrapper.class" /&gt; &lt;ignore path="target/classes/com/actionbarsherlock/internal/view/menu/ActionMenuPresenter$HasPermanentMenuKey.class" /&gt; &lt;ignore path="target/classes/com/actionbarsherlock/internal/widget/IcsAdapterView.class" /&gt; &lt;ignore path="target/classes/com/actionbarsherlock/internal/widget/IcsProgressBar.class" /&gt; &lt;ignore path="target/classes/com/actionbarsherlock/internal/widget/ActionBarView$HomeView.class" /&gt; &lt;ignore path="target/classes/com/actionbarsherlock/widget/SearchView.class" /&gt; &lt;ignore path="target/classes/com/actionbarsherlock/internal/nineoldandroids/widget/NineFrameLayout.class" /&gt; &lt;ignore path="target/classes/com/actionbarsherlock/internal/nineoldandroids/widget/NineHorizontalScrollView.class" /&gt; &lt;ignore path="target/classes/com/actionbarsherlock/internal/nineoldandroids/widget/NineLinearLayout.class" /&gt; &lt;ignore path="target/classes/com/actionbarsherlock/internal/nineoldandroids/view/NineViewGroup.class" /&gt; &lt;ignore path="target/classes/com/actionbarsherlock/internal/view/menu/BaseMenuPresenter.class" /&gt; &lt;ignore path="target/classes/com/actionbarsherlock/internal/widget/AbsActionBarView.class" /&gt; &lt;ignore path="target/classes/com/actionbarsherlock/internal/widget/ActionBarContextView.class" /&gt; &lt;ignore path="target/classes/com/actionbarsherlock/internal/widget/ActionBarView.class" /&gt; &lt;ignore path="target/classes/com/actionbarsherlock/internal/widget/CapitalizingButton.class" /&gt; &lt;ignore path="target/classes/com/actionbarsherlock/internal/widget/CapitalizingTextView.class" /&gt; &lt;ignore path="target/classes/com/actionbarsherlock/internal/widget/IcsAbsSpinner.class" /&gt; &lt;ignore path="target/classes/com/actionbarsherlock/internal/widget/IcsLinearLayout.class" /&gt; &lt;ignore path="target/classes/com/actionbarsherlock/internal/widget/IcsListPopupWindow.class" /&gt; &lt;ignore path="target/classes/com/actionbarsherlock/internal/widget/ScrollingTabContainerView.class" /&gt; &lt;ignore path="target/classes/com/actionbarsherlock/widget/ActivityChooserView$SetActivated.class" /&gt; &lt;ignore path="target/classes/com/actionbarsherlock/app/SherlockActivity.class" /&gt; &lt;ignore path="target/classes/com/actionbarsherlock/app/SherlockExpandableListActivity.class" /&gt; &lt;ignore path="target/classes/com/actionbarsherlock/app/SherlockListActivity.class" /&gt; &lt;ignore path="target/classes/com/actionbarsherlock/app/SherlockPreferenceActivity.class" /&gt; &lt;ignore path="target/classes/com/actionbarsherlock/internal/ActionBarSherlockNative$ActionModeCallbackWrapper.class" /&gt; &lt;ignore path="target/classes/com/actionbarsherlock/internal/app/ActionBarImpl$1.class" /&gt; &lt;ignore path="target/classes/com/actionbarsherlock/internal/app/ActionBarImpl.class" /&gt; &lt;/issue&gt; &lt;issue id="FloatMath"&gt; &lt;ignore path="target/classes/com/actionbarsherlock/internal/nineoldandroids/view/animation/AnimatorProxy.class" /&gt; &lt;/issue&gt; &lt;issue id="DefaultLocale"&gt; &lt;ignore path="target/classes/com/actionbarsherlock/internal/widget/CapitalizingTextView.class" /&gt; &lt;ignore path="target/classes/com/actionbarsherlock/internal/widget/CapitalizingButton.class" /&gt; &lt;/issue&gt; &lt;issue id="ViewConstructor"&gt; &lt;ignore path="target/classes/com/actionbarsherlock/internal/widget/CollapsibleActionViewWrapper.class" /&gt; &lt;/issue&gt; &lt;issue id="WrongCall"&gt; &lt;ignore path="target/classes/com/actionbarsherlock/internal/widget/IcsAdapterView.class" /&gt; &lt;/issue&gt; &lt;/lint&gt; </code></pre> <p>Shell execution command that we now use is </p> <pre><code>lint --config lint.xml --xml lint-results.xml .; </code></pre> <p>PS: Please be aware that this will not remove all reports of excluded APKLIB like in this case ABS as so far there is no way to exclude reports to unused resources of R.class. On compile process R.class of linked library and your project do get merged and Lint has no way to know this. It does only see single R.class with some references that are not used and reports them.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload