05/09/2018, 5:47 PM
<SOLVED> I'm having trouble getting Android Studio to recognize a module's dependencies (including the standard library) in my Gradle common project. It's odd - as far as I can tell, it's exactly the same as one of my other projects where that's all working great. Anybody have any helpful hints?
To clarify: project builds perfectly.
The dependencies all show up under "External Libraries" in the IDE, but it seems they're not being used when editing the module.
I've tried: Cleaning the build, removing the
folder, using the IDEA plugin to generate a new project, invalidate caches/restart
For future readers: Removing a seemingly empty module from the project fixed it. No idea why.
It specifically looks like you need to modify the settings.gradle file, removing and readding a module. Cleared out a cache of some kind?