Android Shortcuts - App isn't installed error even though targetPackage and targetClass are correct
问题 I tried implementing the Android Shortcuts when holding the icons in the home screen. But when I try to launch them I get an "App isn't installed" Toast This is my shortcuts.xml : <shortcuts xmlns:android="http://schemas.android.com/apk/res/android"> <shortcut android:icon="@drawable/plus_black" android:shortcutId="add_sub" android:shortcutLongLabel="@string/shortcut_add_sub_long" android:shortcutShortLabel="@string/shortcut_add_sub"> <intent android:action="android.intent.action.VIEW"