title: Transitive dependency classifieds android
body: <p>I've an android AAR (<em>foo</em>) which uses external libraries (eg. compile group: 'org.mapsforge', name: 'mapsforge-core', version: '0.6.0'). When I import it as module and try to use its classes, I get some error at Runtime about                                                                               </p>
  
  <blockquote>
    <p>NullPointerException: Attempt to invoke virtual method 'void
    android.widget.ToggleButton.setOnCheckedChangeListener(android.widget.CompoundButton$OnCheckedChangeListener)'
    on a null object reference</p>
  </blockquote>
  
  <p>It seems like the app doesn't see the transitive dependencies. Does anybody know anithing about this situation? How can I import these dependencies?</p>
  
  <p>Thanks in advance.</p>