I have an application working that I made using one of the samples as base (Advanced Layouts). I added some external modules that was added to the project just fine, but I can't manage to put the 3 folders of the API (SmartExtensionAPI, SmartExtensionUtils and SmartEyeglassAPI) inside the project. The only place where the project can read the libs is on the same folder where the project is located (but outside of it).
$PROJECT_DIR$/../SmartExtensionAPI/SmartExtensionAPI.iml
If I try to remove the modules, gladle will re-add them. And if I remove them from gradle and re-add manually, it doesn't work and I get the following error.
Error:Configuration with name 'default' not found.
So I'm looking for the place where the project points for the API and change it, or a way to re-add these modules externally from another location.