Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove package filter?

Tags:

package

filter

How do I disable a package filter? I keep getting this message....

Ignoring unknown package filter 'build-tools-23.0.0_rc2'
Warning: The package filter removed all packages. There is nothing to install.
     Please consider trying to update again without a package filter.
like image 913
Tan Chong Kai Avatar asked Jul 19 '15 12:07

Tan Chong Kai


2 Answers

First of all make sure you have installed build-tools-23.0.0 using the sdk manager.

Then open the build.gradle file at app level and remove the 'rc2' part from the line buildToolsVersion "23.0.0 rc2"

This is how I have solved the same issue. Hope it helps.

like image 145
smoothumut Avatar answered Oct 27 '22 01:10

smoothumut


Solved!!! I was facing the same issue and after searching for quite a long time, I found this way around:

  1. open your cmd
  2. go to sdk dir
  3. if ./tools/android list sdk -e prints id: 1 or "tools" there is an update for the sdk tools available
  4. ./tools/android update sdk -u -a -t tools installs/updates the sdk tools (it reinstalls if already installed)

It will ask y/n. Choose yes, it starts installing.

Finally what solved my problem is to download this rar file (containing the 23.0.0_rc2 sdk files), and extract it inside sdk->build-tools.

android sdk license screen shot

like image 9
Syed Raza Mehdi Avatar answered Oct 27 '22 02:10

Syed Raza Mehdi