Static android shortcuts for multiple flavors?
问题 Is it possible to define static shortcuts for multiple flavors without duplicating the shortcuts.xml ? I have two flavors: main (package: com.test) free (package: com.test.free) The shortcuts.xml looks like this: <shortcuts xmlns:android="http://schemas.android.com/apk/res/android"> <shortcut android:enabled="true" android:icon="@drawable/ic_shortcut_add_photo" android:shortcutId="new_photo" android:shortcutLongLabel="@string/new_photo" android:shortcutShortLabel="@string/new_photo"> <intent