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

Stack Overflow | tccpg288 | 10 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

    Cannot Dynamically Add TextInputLayout Views

    Stack Overflow | 10 months ago | tccpg288
    java.lang.IllegalArgumentException: You need to use a Theme.AppCompat theme (or descendant) with the design library.
  2. 0

    Material Design EditText in Fragments

    Stack Overflow | 1 year ago | Pankaj Darji
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.ewh.calculations/com.ewh.calculations.ActivityOperation}: android.view.InflateException: Binary XML file line #15: Error inflating class <unknown>
  3. 0

    Error inflating class android.support.design.widget.TextInputLayout

    Stack Overflow | 9 months ago | Sanjaysinh
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.inn.microwave/com.inn.microwave.LoginActivity}: android.view.InflateException: Binary XML file line #37: Error inflating class android.support.design.widget.TextInputLayout
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error using TextInputLayout in Android Library project

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

    which version of com.android.support:design to use?

    Stack Overflow | 4 months ago | mohamed
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.mohamed.prototypev1/com.example.mohamed.prototypev1.MainActivity}: android.view.InflateException: Binary XML file line #22: Error inflating class android.support.design.widget.TextInputLayout

    1 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
      TextInputLayout.<init>
      1. android.support.design.widget.ThemeUtils.checkAppCompatTheme(ThemeUtils.java:36)
      2. android.support.design.widget.TextInputLayout.<init>(TextInputLayout.java:139)
      3. android.support.design.widget.TextInputLayout.<init>(TextInputLayout.java:132)
      4. android.support.design.widget.TextInputLayout.<init>(TextInputLayout.java:128)
      4 frames
    3. com.troychuinard.fanpolls
      CreateFragment$YourItemSelectedListener.onItemSelected
      1. com.troychuinard.fanpolls.Fragment.CreateFragment$YourItemSelectedListener.onItemSelected(CreateFragment.java:153)
      1 frame
    4. Android Platform
      ActivityThread.main
      1. android.widget.AdapterView.fireOnSelected(AdapterView.java:924)
      2. android.widget.AdapterView.dispatchOnItemSelected(AdapterView.java:913)
      3. android.widget.AdapterView.access$300(AdapterView.java:51)
      4. android.widget.AdapterView$SelectionNotifier.run(AdapterView.java:883)
      5. android.os.Handler.handleCallback(Handler.java:739)
      6. android.os.Handler.dispatchMessage(Handler.java:95)
      7. android.os.Looper.loop(Looper.java:148)
      8. android.app.ActivityThread.main(ActivityThread.java:5527)
      8 frames
    5. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    6. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:730)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:620)
      2 frames