Why does it keep say "Refactoring cannot be performed" when I copy a jar file into the lib folder in Android Studio?

I'm trying to just copy an external library .jar file into my libs folder. It keeps saying, that it's a read-only file. How do I go about doing this? Thanks :)