java.lang.RuntimeException: Unable to start activity ComponentInfo{com.telvista.facebooksupport/com.telvista.facebooksupport.SplashActivity}: android.view.InflateException: Binary XML file line #51: Error inflating class com.facebook.widget.LoginButton

lingshiapp.com | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Error inflating class com.facebook.widget.LoginButton

    Stack Overflow | 4 years ago | Toby Jones
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.telvista.facebooksupport/com.telvista.facebooksupport.SplashActivity}: android.view.InflateException: Binary XML file line #51: Error inflating class com.facebook.widget.LoginButton
  2. 0

    Error inflating class com.facebook.widget.LoginButton

    lingshiapp.com | 6 months ago
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.telvista.facebooksupport/com.telvista.facebooksupport.SplashActivity}: android.view.InflateException: Binary XML file line #51: Error inflating class com.facebook.widget.LoginButton

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      com.facebook.android.R$color

      at com.facebook.widget.LoginButton.<init>()
    2. com.facebook.widget
      LoginButton.<init>
      1. com.facebook.widget.LoginButton.<init>(LoginButton.java:204)
      1 frame
    3. Java RT
      Constructor.newInstance
      1. java.lang.reflect.Constructor.constructNative(Native Method)
      2. java.lang.reflect.Constructor.newInstance(Constructor.java:417)
      2 frames
    4. Android Platform
      LayoutInflater.inflate
      1. android.view.LayoutInflater.createView(LayoutInflater.java:587)
      2. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:687)
      3. android.view.LayoutInflater.rInflate(LayoutInflater.java:746)
      4. android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
      5. android.view.LayoutInflater.inflate(LayoutInflater.java:489)
      6. android.view.LayoutInflater.inflate(LayoutInflater.java:396)
      7. android.view.LayoutInflater.inflate(LayoutInflater.java:352)
      7 frames
    5. Android
      PhoneWindow.setContentView
      1. com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:306)
      1 frame
    6. Android Platform
      Activity.setContentView
      1. android.app.Activity.setContentView(Activity.java:1901)
      1 frame
    7. com.telvista.facebooksupport
      SplashActivity.onCreate
      1. com.telvista.facebooksupport.SplashActivity.onCreate(SplashActivity.java:29)
      1 frame
    8. Android Platform
      ActivityThread.main
      1. android.app.Activity.performCreate(Activity.java:5048)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1094)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2052)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2113)
      5. android.app.ActivityThread.access$700(ActivityThread.java:139)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1224)
      7. android.os.Handler.dispatchMessage(Handler.java:99)
      8. android.os.Looper.loop(Looper.java:137)
      9. android.app.ActivityThread.main(ActivityThread.java:4918)
      9 frames
    9. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:511)
      2 frames
    10. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1004)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:771)
      2 frames
    11. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame