Android 未找到用于处理新版本中旧深度链接意图的活动
最近,我将我的应用程序更新为1.2.1至1.2.2,并且我对深度链接url进行了更改,这是我的旧web url更改为新的,因此我将其从清单中删除并发布了新版本,但在新版本中,旧的深度链接起作用,但当我打开应用程序时,它崩溃了Android 未找到用于处理新版本中旧深度链接意图的活动,android,Android,最近,我将我的应用程序更新为1.2.1至1.2.2,并且我对深度链接url进行了更改,这是我的旧web url更改为新的,因此我将其从清单中删除并发布了新版本,但在新版本中,旧的深度链接起作用,但当我打开应用程序时,它崩溃了 Fatal Exception: android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW dat=//www
Fatal Exception: android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW dat=//www.oldurl.com (has extras) }
at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1815)
at android.app.Instrumentation.execStartActivity(Instrumentation.java:1513)
at android.app.Activity.startActivityForResult(Activity.java:3933)
下面是我的新舱单
<activity
android:name="com.domain.ui.MainActivity"
android:launchMode="singleTop"
android:screenOrientation="portrait"
android:theme="@style/BaseTheme"
android:windowSoftInputMode="stateHidden|adjustPan">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<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:host="@string/deep_host_1"
android:scheme="http" />
</intent-filter>
</activity>
我只做了一些改变
<string name="deep_host_1">www.old.com</string>
to
<string name="deep_host_1">www.new.com</string>
www.old.com
到
www.new.com
能否显示清单文件,包括旧的和新的..以及旧的深度链接和新的深度链接。。这将有助于我们纠正问题www.old.com和www.new.com都有不同的域名?是的,这些是不同的URL。你能显示清单文件,包括旧的和新的..以及旧的深度链接和新的深度链接。。这将帮助我们纠正这个问题www.old.com和www.new.com都有不同的域名?是的,这些是不同的url