【发布时间】:2020-07-14 12:15:21
【问题描述】:
我正在制作一个示例即时应用程序,但没有引入应用程序包和动态功能。我非常接近,除了我在配置上收到此错误:警告:清单中未定义 URL“https://instantappmodule.firebaseapp.com/”。
这是我的清单文件:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.instantappmodule"
android:targetSandboxVersion="1">
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity
android:name="InstantMainActivity"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>
<data android:scheme="http" />
<data android:scheme="https" />
<data
android:host="instantappmodule.firebaseapp.com/"/>
</intent-filter>
</activity>
</application>
</manifest>
我做错了吗?
【问题讨论】:
标签: android firebase android-manifest android-instant-apps