java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.fg/com.example.fg.MainActivity}: android.view.InflateException: Binary XML file line #15: Error inflating class android.support.v7.widget.Toolbar

Stack Overflow | BadrEddineBen | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    I'm new to android dev,why I get this strange error?

    Stack Overflow | 7 months ago | BadrEddineBen
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.fg/com.example.fg.MainActivity}: android.view.InflateException: Binary XML file line #15: Error inflating class android.support.v7.widget.Toolbar
  2. 0

    Не показывает прогу. Когда пытаюсь "вставить" кнопку "button" или что-то другое, оно скрывает и выдается ошибка.? — Toster.ru

    toster.ru | 7 months ago
    java.lang.IllegalStateException: This app has been built with an incorrect configuration. Please configure your build for VectorDrawableCompat.
  3. 0

    The following classes could not be instantiated - android.support.v7.widget.toolbar

    Stack Overflow | 7 months ago | PYPL
    java.lang.IllegalStateException: This app has been built with an incorrect configuration. Please configure your build for VectorDrawableCompat.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    android.support.v7.widget.Toolbar VectorDrawableCompat IllegalStateException when using support lib 24+

    Stack Overflow | 7 months ago | Programmer001
    java.lang.IllegalStateException: This app has been built with an incorrect configuration. Please configure your build for VectorDrawableCompat.
  6. 0

    unfortunately ,app has stopped

    Stack Overflow | 7 months ago | Amira miro
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.toshiba.GpsBluetooth/com.example.toshiba.GpsBluetooth.Speedo}: android.view.InflateException: Binary XML file line #8: Error inflating class android.support.v7.widget.Toolbar

    1 unregistered visitors

    Root Cause Analysis

    1. java.lang.IllegalStateException

      This app has been built with an incorrect configuration. Please configure your build for VectorDrawableCompat.

      at android.support.v7.widget.AppCompatDrawableManager.checkVectorDrawableSetup()
    2. Android v7
      Toolbar.<init>
      1. android.support.v7.widget.AppCompatDrawableManager.checkVectorDrawableSetup(AppCompatDrawableManager.java:692)
      2. android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:186)
      3. android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:181)
      4. android.support.v7.widget.TintTypedArray.getDrawable(TintTypedArray.java:67)
      5. android.support.v7.widget.Toolbar.<init>(Toolbar.java:298)
      6. android.support.v7.widget.Toolbar.<init>(Toolbar.java:229)
      6 frames
    3. Java RT
      Constructor.newInstance
      1. java.lang.reflect.Constructor.constructNative(Native Method)
      2. java.lang.reflect.Constructor.newInstance(Constructor.java:423)
      2 frames
    4. Android Platform
      LayoutInflater.inflate
      1. android.view.LayoutInflater.createView(LayoutInflater.java:600)
      2. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:702)
      3. android.view.LayoutInflater.rInflate(LayoutInflater.java:761)
      4. android.view.LayoutInflater.rInflate(LayoutInflater.java:769)
      5. android.view.LayoutInflater.inflate(LayoutInflater.java:498)
      6. android.view.LayoutInflater.inflate(LayoutInflater.java:398)
      7. android.view.LayoutInflater.inflate(LayoutInflater.java:354)
      7 frames
    5. Android
      PhoneWindow.setContentView
      1. com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:366)
      1 frame
    6. Android Platform
      Activity.setContentView
      1. android.app.Activity.setContentView(Activity.java:2009)
      1 frame
    7. com.example.fg
      MainActivity.onCreate
      1. com.example.fg.MainActivity.onCreate(MainActivity.java:11)
      1 frame
    8. Android Platform
      ActivityThread.main
      1. android.app.Activity.performCreate(Activity.java:5322)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1093)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2303)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2391)
      5. android.app.ActivityThread.access$900(ActivityThread.java:166)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1281)
      7. android.os.Handler.dispatchMessage(Handler.java:102)
      8. android.os.Looper.loop(Looper.java:146)
      9. android.app.ActivityThread.main(ActivityThread.java:5511)
      9 frames
    9. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:515)
      2 frames
    10. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
      2 frames
    11. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame