Skip to content

Instantly share code, notes, and snippets.

@Mradulgoel
Created November 12, 2017 12:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Mradulgoel/b43c2ef7c1b4026bb5a13ce6dee3020d to your computer and use it in GitHub Desktop.
Save Mradulgoel/b43c2ef7c1b4026bb5a13ce6dee3020d to your computer and use it in GitHub Desktop.
Error: Activity class {com.google.android.instantapps.supervisor/com.google.android.instantapps.supervisor.UrlHandler} does not exist.
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.android.justjava.feature">
<application>
<activity android:name=".MainActivity">
<intent-filter android:order="1">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.BROWSABLE" />
<category android:name="android.intent.category.DEFAULT" />
<data
android:host="android.example.com"
android:pathPattern="/.*"
android:scheme="https" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
@Mradulgoel
Copy link
Author

Error : when launching Instant app in Android Studio 3.0 in above code.

11/12 09:51:18: Launching instantapp
Side loading instant app.
Side loading instant app.
Launching deeplink: https://android.example.com/example.

$ adb shell setprop log.tag.AppIndexApi VERBOSE
$ adb shell am start -a android.intent.action.VIEW -c android.intent.category.BROWSABLE -d https://android.example.com/example -n "com.google.android.instantapps.supervisor/.UrlHandler"
Error while executing: am start -a android.intent.action.VIEW -c android.intent.category.BROWSABLE -d https://android.example.com/example -n "com.google.android.instantapps.supervisor/.UrlHandler"
Starting: Intent { act=android.intent.action.VIEW cat=[android.intent.category.BROWSABLE] dat=https://android.example.com/... cmp=com.google.android.instantapps.supervisor/.UrlHandler }
Error type 3
Error: Activity class {com.google.android.instantapps.supervisor/com.google.android.instantapps.supervisor.UrlHandler} does not exist.

Error while Launching URL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment