-2

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.

user2350459
  • 351
  • 4
  • 18

1 Answers1

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.

enter image description here

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