Removing referenced libraries from project Android Studio

Viewed 10479

I am trying to get Android Studio to work with library dependencies for my project, I am using Android Studio 0.4.0.

I've removed the dependecies from the project structure dialogue, from the settings.gradle and from the build.gradle and also from my project.iml file.

I then delete the directories of the referenced libraries from my main project, but after a few seconds, the referenced library directory reappears but only contains mylibrary.iml file. Everytime I delete it, it reappears again.

Also when Android Studio loads it displays an error stating that non gradle projects can't be referenced from gradle projects but I no longer want them referenced but somehow I can't get rid of them.

The project was imported into Android Studio from an Export from Eclipse.

Thanks for any help you can provide.

2 Answers
Related