Skip to content Skip to sidebar Skip to footer

Failed To Find Provider In Android Tv Preferences Fragment

Getting Failed to find provider com.google.android.katniss.search.searchapi.VoiceInteractionProvider for user 0; expected to find a valid ContentProvider for this authority for tv

Solution 1:

I solve this issue with changing theme preference Theme.Leanback

On your manifest file :

<activityandroid:name=".ui.setting.YourSettingPrefActivity"android:exported="true"android:theme="@style/Theme.Pref.LeanbackPreferences"/>

And here on styles.xml

<stylename="Theme.Pref.LeanbackPreferences"parent="Theme.Leanback"><itemname="preferenceTheme">@style/PreferenceThemeOverlay.v14.Leanback</item><itemname="android:windowIsTranslucent">true</item><itemname="android:windowBackground">@android:color/transparent</item><itemname="android:backgroundDimEnabled">true</item><itemname="android:colorPrimary">@color/fastlane_background</item></style>

Post a Comment for "Failed To Find Provider In Android Tv Preferences Fragment"