Deep links not working anymore in Android


I've started a new project in Android Studio and added this to my androidmanifest.xml:

    <activity android:name=".MainActivity">
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />

            <action android:name="android.intent.action.VIEW"/>
            <category android:name="android.intent.category.DEFAULT"/>
            <category android:name="android.intent.category.BROWSABLE"/>


Then I went to Google Chrome and typed in: The App doesn't open. And then tried command line:

mac-van-jim:DeeplinkTest jimclermonts$ adb shell am start -n eu.theappfactory.deeplinktest/MainActivity
Starting: Intent { cmp=eu.theappfactory.deeplinktest/MainActivity }
Error type 3
Error: Activity class {eu.theappfactory.deeplinktest/MainActivity} does not exist.

And this one:

mac-van-jim:DeeplinkTest jimclermonts$ adb shell am start -W -a android.intent.action.VIEW -d "" eu.theappfactory
Starting: Intent { act=android.intent.action.VIEW dat= pkg=eu.theappfactory }
Error: Activity not started, unable to resolve Intent { act=android.intent.action.VIEW dat= flg=0x10000000 pkg=eu.theappfactory }

I've tried these threads:

Deep Link does not work on Android

Android deep linking is not working

Deep-linking intent does not work

Nothing is working? I can remember this used to work? Maybe it's because of the new Android App Links?

EDIT: I figured out that it doesn't work in Chrome (anymore) but when creating and uploading a webpage, it also doesn't work:

<!DOCTYPE html>


    <a href="Click here" target="_blank"></a>



asked on Stack Overflow Mar 21, 2020 by Jim Clermonts • edited Mar 22, 2020 by Jim Clermonts

1 Answer


To start your app with the provided url you should run this command:

adb shell "am start ''"

Also, Chrome is designed to not open your app if you copy/pate the link in the URL search bar.

answered on Stack Overflow Mar 30, 2020 by Simon Marquis

User contributions licensed under CC BY-SA 3.0