I have problem with my Android Studio Instant App Project.
If I select Manifest.xml in /app directory then select Merger Manifest then I have such error:
Merging Errors: Error: Attribute provider#android.arch.lifecycle.ProcessLifecycleOwnerInitializer@authorities value=(com.theminte.TheMinte.lifecycle-trojan) from AndroidManifest.xml:10:15-75 is also present at AndroidManifest.xml:25:13-68 value=(com.theminte.TheMinte.app.lifecycle-trojan). Suggestion: add 'tools:replace="android:authorities"' to <provider> element at AndroidManifest.xml:10:5-201 to override. app main manifest (this file), line 9
Than I cannot start my application with Default Activity, I can only start it with Nothing Activity selected in Project Build Configuration. How to solve this merging issue?
why did you decide that manifests from features and instant app module would be merged? In all examples, instant app module has the only Gradle build script, so no any sources/resources/manifest are not merge with other feature modules.
Default activity must be set in manifest in feature module (in base feature manifest for example)