How to merge two APK into single so that both apps can be installed at the same time

If these two apps have no overlaps, you only need to merge the AndroidManifest.xml, res and src folders.

Keep two activities with the following intent filter:

<intent-filter>
    <action android:name="android.intent.action.MAIN" />
    <category android:name="android.intent.category.LAUNCHER" />
</intent-filter>

will make you have two launch entrance in Launcher.

In fact, it’s one app with one apk. But since have two launchable activities, user will feel like they have installed two apps with one apk.

Leave a Comment