If I don't put
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
First in the list in AndroidManifest.xml it does not pickup the MainActivity.
If the list is not 1st, I get a mapping exception and have to use --main-activity .MainActivity"