title: Can an Android library JAR depend on an Android library AAR?
body: <p>I have an Android library project <code>FooLib</code>. <code>FooLib</code> references things like Android <code>Context</code>s but doesn't require any resource files (things in <code>res/</code>) so I am currently packaging this as a JAR for my app to consume.</p>
  
  <p>I now want to make <code>FooLib</code> depend on <code>BarLib</code>, but <code>BarLib</code> <em>does</em> use resources so I can't package <code>BarLib</code> as a JAR. Instead, it is packaged as an AAR. Is it possible for me to have <code>FooLib</code> depend on <code>BarLib</code> but continue to package <code>FooLib</code> as a JAR? Or, does having an AAR dependency in <code>FooLib</code> force me to make it an AAR also?</p>