How to add libraries to Android Studio?

view full story

http://stackoverflow.com – I'm currently downloaded newest android studio 0.3.2. I've been trying to add libraries for almost 5 hours, and nothing. I've pressed F4 in the 'Module' where the libraries should go, added the libraries, also in the project structure added the dependencies, and also in build.gradle of the 'Module'. The errors in the IDE stop appearing, but when It 'compiles' it. It keeps telling me, that com.google.gson and other libraries don't exist. How can I fix It? Or should I use Android studio?. Thank you very much. (HowTos)