A
A
Artix2015-01-01 18:41:17
Android
Artix, 2015-01-01 18:41:17

Why does Gradle automatically create appcompat.v7? How to remove this library?

Hello. Problem with android studio: Every time Gradle checks the project for errors before running ( Build Gradle ), it automatically creates a ../appcompat.v7 folder and complains about values-v21. Attempts to delete this folder failed, Gradle creates it again. I don't know what to do, how to run the project and remove the appcompat library, since I don't need it

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Valera Kuznetsov, 2015-01-02
@Dwite

Maybe you have it in your gradle dependency and still need it for some kind of support Fragment or something else.

M
Max, 2015-01-02
@mbelskiy

most likely, they used version 20 of lib before, later switched to 21.
So, some resources that were in version 20, namely icons, were successfully removed in version 21. I suspect you need to update @drawable/... in resources.
In any case, gradle writes what is wrong and what is wrong. Learn to read

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question