PlayConsole error: You must provide a default URL for your instant app APKs PlayConsole error: You must provide a default URL for your instant app APKs android android

PlayConsole error: You must provide a default URL for your instant app APKs


You must also add the default-url in the Manifest as a meta-data :

<activity    android:name=“[…].LauncherActivity"    android:screenOrientation="portrait">    <intent-filter>        <action android:name="android.intent.action.MAIN" />        <category android:name="android.intent.category.LAUNCHER" />    </intent-filter>    <intent-filter android:autoVerify="true">        <action android:name="android.intent.action.VIEW" />        <category android:name="android.intent.category.DEFAULT" />        <category android:name="android.intent.category.BROWSABLE" />        <data android:scheme="https" />        <data android:scheme="http" />        <data android:host="[...]" />    </intent-filter>    <meta-data      android:name="default-url"      android:value="https://[...]" /></activity>

Reference : https://developer.android.com/topic/instant-apps/prepare.html#default-url