I have followed this instruction to make use of the facebook sdk: using facebook sdk in android studio but now I don't want to use the sdk anymore. I have removed the entire facebook map from the libraries map. And I removed everything what said "facebook". But still there is a folder in the libraries folder with a file that is called libraries.iml that is coming back when I start Android Studio or while it is active. Could someone explain me how I could get the facebook folder away? Thanks!
Asked
Active
Viewed 1,225 times
1 Answers
2
You're hitting some known bugs in deleting modules: https://code.google.com/p/android/issues/detail?id=61528 https://code.google.com/p/android/issues/detail?id=64720 (this is most closely related to what you're seeing even though the description seems quite different) and https://code.google.com/p/android/issues/detail?id=61529
They'll be fixed for 0.4.5, and possibly 0.4.4, depending on how things go.
Sorry about the bugs, I know it's kind of a pain.
In the meantime, I'd suggest the following:
- Exit Android Studio
- Back up your project directory
- Make sure the offending library's directory is deleted in the filesystem, and that it's gone from settings.gradle
- Delete all your .iml files, and delete the .idea folder from the root of your project
- Re-launch Android Studio and re-import your project

Scott Barta
- 79,344
- 24
- 180
- 163