title: How to start an Activity in a dynamic feature module?
body: <p>When typing to start an <code>Activity</code> within a dynamic feature module trough an Android Studio run-configuration, I get the following warning: <code>The activity 'SomeActivity' is not declared in AndroidManifest.xml</code>.
  (because it is being declared in the <code>AndroidManifest.xml</code> of the dynamic feature module). For reference, this is the library being used:</p>
  
  <pre><code>// https://developer.android.com/guide/app-bundle/playcore
  api "com.google.android.play:core:1.6.4"
  </code></pre>
  
  <p>The run configuration shows &amp; deploys both modules, but it only recognizes the activities from the base module <code>AndroidManifest.xml</code>. <em>How to start an Activity in a dynamic features module?</em></p>
  
  <hr>
  
  <p>Side Note: When trying to install the deployed feature module, it doesn't seem to install:</p>
  
  <pre><code>I/PlayCore: SplitInstallListenerRegistry : registerListener
  I/PlayCore: SplitInstallInfoProvider : No metadata found in AndroidManifest.
  I/PlayCore: SplitInstallService : startInstall([feature_module],[])
  I/PlayCore: SplitInstallService : Initiate binding to the service.
  I/PlayCore: SplitInstallService : ServiceConnectionImpl.onServiceConnected(ComponentInfo{com.android.vending/com.google.android.finsky.splitinstallservice.SplitInstallService})
  I/PlayCore: SplitInstallService : linkToDeath
  I/PlayCore: SplitInstallService : onError(-5)
  I/PlayCore: SplitInstallService : Unbind from service.
  </code></pre>
  
  <p>Where <code>-5</code> means <code>SplitInstallErrorCode.API_NOT_AVAILABLE</code> (likely because it's a debug build); nevertheless <code>getInstalledModules()</code> should find the deployed feature module ...which it doesn't. <code>SplitInstallInfoProvider : No metadata found in AndroidManifest</code> seems to be this <a href="https://issuetracker.google.com/issues/143503127" rel="nofollow noreferrer">issue</a> - when depoying "Default APK" instead of "APK from app bundle", the feature module gets installed.</p>