java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.shakeel.appidea2/com.example.shakeel.appidea2.diary.DisplayNote}: android.view.InflateException: Binary XML file line #3: Binary XML file line #3: Error inflating class <unknown>

Stack Overflow | KeenLearner | 3 months ago
  1. 0

    Solving Binary XML file line #3: Error inflating class <unknown>

    Stack Overflow | 3 months ago | KeenLearner
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.shakeel.appidea2/com.example.shakeel.appidea2.diary.DisplayNote}: android.view.InflateException: Binary XML file line #3: Binary XML file line #3: Error inflating class <unknown>
  2. 0

    Getting rid of the title bar when using android.support.design.widget.CoordinatorLayout without affecting rendering of sample layouts

    Stack Overflow | 1 year ago | safe_malloc
    java.lang.IllegalArgumentException: You need to use a Theme.AppCompat theme (or descendant) with the design library.
  3. 0

    Ubuntu 14.04 -Android Studio: The following classes could not be instantiated

    Stack Overflow | 1 year ago | Alkarin
    java.lang.IllegalArgumentException: You need to use a Theme.AppCompat theme (or descendant) with the design library.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Rendering issue occur running an android app in Android Studio

    Stack Overflow | 11 months ago | Rishi Kesh
    java.lang.IllegalArgumentException: You need to use a Theme.AppCompat theme (or descendant) with the design library.
  6. 0

    Switching to Material Light Theme yeilds error - thenewboston Forum

    thenewboston.com | 11 months ago
    java.lang.IllegalArgumentException: You need to use a Theme.AppCompat theme (or descendant) with the design library.

  1. dmitry 1 times, last 8 months ago
  2. balajivaishnav 1 times, last 9 months ago
22 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    You need to use a Theme.AppCompat theme (or descendant) with the design library.

    at android.support.design.widget.ThemeUtils.checkAppCompatTheme()
  2. android.support.design
    CoordinatorLayout.<init>
    1. android.support.design.widget.ThemeUtils.checkAppCompatTheme(ThemeUtils.java:34)
    2. android.support.design.widget.CoordinatorLayout.<init>(CoordinatorLayout.java:182)
    3. android.support.design.widget.CoordinatorLayout.<init>(CoordinatorLayout.java:176)
    3 frames
  3. Java RT
    Constructor.newInstance
    1. java.lang.reflect.Constructor.newInstance(Native Method)
    1 frame
  4. Android Platform
    LayoutInflater.inflate
    1. android.view.LayoutInflater.createView(LayoutInflater.java:619)
    2. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:764)
    3. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:704)
    4. android.view.LayoutInflater.inflate(LayoutInflater.java:492)
    5. android.view.LayoutInflater.inflate(LayoutInflater.java:423)
    6. android.view.LayoutInflater.inflate(LayoutInflater.java:374)
    6 frames
  5. Android v7
    AppCompatActivity.setContentView
    1. android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:267)
    2. android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:129)
    2 frames
  6. com.example.shakeel
    DisplayNote.onCreate
    1. com.example.shakeel.appidea2.diary.DisplayNote.onCreate(DisplayNote.java:34)
    1 frame
  7. Android Platform
    ActivityThread.main
    1. android.app.Activity.performCreate(Activity.java:6272)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1108)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2387)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2494)
    5. android.app.ActivityThread.access$900(ActivityThread.java:157)
    6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1356)
    7. android.os.Handler.dispatchMessage(Handler.java:102)
    8. android.os.Looper.loop(Looper.java:148)
    9. android.app.ActivityThread.main(ActivityThread.java:5551)
    9 frames
  8. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  9. Android
    ZygoteInit$MethodAndArgsCaller.run
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:730)
    1 frame