java.lang.RuntimeException: Unable to create service com.google.android.gms.cast.framework.media.MediaNotificationService: java.lang.IllegalStateException: The fully qualified name of the implementation of OptionsProvider must be provided as a metadata in the AndroidManifest.xml with key com.google.android.gms.cast.framework.OPTIONS_PROVIDER_CLASS_NAME.

Stack Overflow | Siddharth | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    AndroidManifest.xml with key com.google.android.gms.cast.framework.OPTIONS_PROVIDER_CLASS_NAME

    Stack Overflow | 7 months ago | Siddharth
    java.lang.RuntimeException: Unable to create service com.google.android.gms.cast.framework.media.MediaNotificationService: java.lang.IllegalStateException: The fully qualified name of the implementation of OptionsProvider must be provided as a metadata in the AndroidManifest.xml with key com.google.android.gms.cast.framework.OPTIONS_PROVIDER_CLASS_NAME.

    Root Cause Analysis

    1. java.lang.IllegalStateException

      The fully qualified name of the implementation of OptionsProvider must be provided as a metadata in the AndroidManifest.xml with key com.google.android.gms.cast.framework.OPTIONS_PROVIDER_CLASS_NAME.

      at com.google.android.gms.cast.framework.CastContext.zzbd()
    2. com.google.android
      MediaNotificationService.onCreate
      1. com.google.android.gms.cast.framework.CastContext.zzbd(Unknown Source)
      2. com.google.android.gms.cast.framework.CastContext.getSharedInstance(Unknown Source)
      3. com.google.android.gms.cast.framework.media.MediaNotificationService.onCreate(Unknown Source)
      3 frames
    3. Android Platform
      ActivityThread.main
      1. android.app.ActivityThread.handleCreateService(ActivityThread.java:2458)
      2. android.app.ActivityThread.access$1600(ActivityThread.java:130)
      3. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1293)
      4. android.os.Handler.dispatchMessage(Handler.java:99)
      5. android.os.Looper.loop(Looper.java:137)
      6. android.app.ActivityThread.main(ActivityThread.java:4847)
      6 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:535)
      2 frames
    5. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
      2 frames
    6. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame