I was wondering how to use the android support libraries(android.support.v4 or v7) in android studios? It says they are unrecognized when i try to import them.
Asked
Active
Viewed 91 times
-2
-
http://developer.android.com/tools/support-library/setup.html – CommonsWare Jan 18 '15 at 23:07
1 Answers
1
Navigate to File -> Project Structure -> app -> Dependencies
Click the plus icon on the right hand side, select Library Dependency and add the required support libraries from there.

Leigh
- 1,495
- 2
- 20
- 42
-
i added both of those to my current project, yet it still gives me an error. Why? – user2350459 Jan 19 '15 at 09:25
-
I don't know why you might be seeing this error, check this [link](http://stackoverflow.com/questions/16580586/add-support-library-to-android-studio-project) – Leigh Jan 19 '15 at 09:36
-
nvm. I made a new project, and it seemed to work in the new one. I guess ill just delete the other one. Thank you! – user2350459 Jan 19 '15 at 09:45