title: How do I create an AAR in Android Studio with Prefab exports?
body: <p>I have an Android project for a library (using the <code>com.android.library</code> plugin), that includes C++ code.  When I run the <code>assemble</code> task in gradle, the outputted AAR contains the native library in the /jni folder.  However, there is no &quot;prefab&quot; folder.  The only documentation I can find about creating Android libraries is here: <a href="https://developer.android.com/studio/projects/android-library" rel="noreferrer">https://developer.android.com/studio/projects/android-library</a></p>
  <p>The bottom section suggests that the /prefab folder should be there.</p>
  <p>I can find information on how to set up a project to <em>import</em> prefabs from an AAR, but I can't find any information on how to <em>build</em> an AAR with prefab exports.  Is there a way to set up an Android project with gradle to do this?  Are there settings I have to add to specify which native libraries should be exposed?</p>
  <p>I'm using Android Studio 4.1.1, gradle 6.8, and Android gradle plugin 4.1.1.</p>