How to install the previous Android support library (version 8)

I just installed the latest ADT tools for Eclipse, so I am now on v20.0.

A new project wizard has appeared in this release, and in one of the last steps, he says that he needs Android version 8 support.
Ok, but in my SDK manager it tells me that I have Android version 9 support installed.

How can I get this working, is there a way to install an earlier version of Android Support Library version 8?

+6
source share
2 answers

Well, as soon as I posted my question, I found a workaround .

It seems that ADT is looking for support libraries in the wrong folder ...
The folder contains libraries:
(1) \ extras \ android \ compatibility, but ADT looks for them in:
(2) \ extras \ android \ support
Therefore, you need to create (2) and copy all the files in the folder (1).

+5
source

The above answer is basically correct. But just copying didn't help me. What worked for me:

  • Open SDK Manager

  • Check "Android Support Library"

  • Click "Uninstall 1 Package"

  • Then check the โ€œAndroid SDK Libraryโ€ again and

  • Click Install 1 Package

This removed the support library from additional \ android \ compatibility and installed it again in the extras \ android \ support section

+5
source

Source: https://habr.com/ru/post/919907/


All Articles