On Android Studio, the inspection "Unused resources" doesn't work for all modules on my project : <p>I run it this way "Menu -> Analyze -> Run Inspection by Name -> Unused resources" and I select entire project but it doesn't find any unused resources outside my main App Module. So I then run it for individual modules and it finds stuff but it also finds items that are used on other modules. </p>

<p>For example, I have a shared module which has some common strings in it, like "dismiss" for dialogs. The string is not used in that module. When I run the inspection just for that module it finds it as unused. </p>

<p>On the other hand, I have some string on that same shared module that I no longer use anywhere, and when I run the inspections for the entire project, it won't find that string. </p>

<p>I think the issue might be the way I did shared modules, basically they are on different directories I import them putting this on settings.gradle:</p>

<pre><code>include ':androidutils'
project(':androidutils').projectDir = new File( '../sharedlibs/androidutils')
</code></pre>

<p>Then in my build.gradle I just import <code>:androidutils</code> as a dependency. </p>

<p>Anyone else have this issue?</p>

<p>Thanks. </p>
