java.lang.NumberFormatException: Attribute '?attr/colorPrimary' not found. Are you using the right theme?

GitHub | rudiw | 3 months ago
  1. 0

    Attribute '?attr/colorPrimary' not found. Are you using the right theme?

    GitHub | 3 months ago | rudiw
    java.lang.NumberFormatException: Attribute '?attr/colorPrimary' not found. Are you using the right theme?
  2. 0

    centerColor in GradientDrawable XML results in error

    Stack Overflow | 2 years ago | JRad the Bad
    java.lang.NumberFormatException: Color value '00DDDDDD' must start with #
  3. 0

    '?attr/colorControlActivated' not found in Android Studio preview

    Stack Overflow | 7 months ago | MANISH PATHAK
    java.lang.NumberFormatException: Attribute '?attr/colorControlActivated' not found. Are you using the right theme?
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Attribute error when switching to Material Design

    Stack Overflow | 6 months ago | Fuad
    java.lang.NumberFormatException: Attribute '?attr/colorAccent' not found. Are you using the right theme?
  6. 0

    Issue with Integer.parseInt

    Stack Overflow | 2 years ago | PallyP
    java.lang.NumberFormatException: For input string: " are you today?"

    2 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.NumberFormatException

      Attribute '?attr/colorPrimary' not found. Are you using the right theme?

      at com.android.layoutlib.bridge.impl.ResourceHelper.getColor()
    2. com.android.layoutlib
      ResourceHelper.getColorStateList
      1. com.android.layoutlib.bridge.impl.ResourceHelper.getColor(ResourceHelper.java:83)
      2. com.android.layoutlib.bridge.impl.ResourceHelper.getInternalComplexColor(ResourceHelper.java:216)
      3. com.android.layoutlib.bridge.impl.ResourceHelper.getColorStateList(ResourceHelper.java:238)
      3 frames
    3. Android Platform
      EdgeEffect.<init>
      1. android.content.res.BridgeTypedArray.getColor(BridgeTypedArray.java:293)
      2. android.widget.EdgeEffect.<init>(EdgeEffect.java:122)
      2 frames
    4. Android Support v4
      EdgeEffectCompat.<init>
      1. android.support.v4.widget.EdgeEffectCompatIcs.newEdgeEffect(EdgeEffectCompatIcs.java:30)
      2. android.support.v4.widget.EdgeEffectCompat$EdgeEffectIcsImpl.newEdgeEffect(EdgeEffectCompat.java:109)
      3. android.support.v4.widget.EdgeEffectCompat.<init>(EdgeEffectCompat.java:169)
      3 frames
    5. com.daimajia.slider
      InfiniteViewPager.<init>
      1. com.daimajia.slider.library.Tricks.ViewPagerEx.initViewPager(ViewPagerEx.java:380)
      2. com.daimajia.slider.library.Tricks.ViewPagerEx.<init>(ViewPagerEx.java:365)
      3. com.daimajia.slider.library.Tricks.InfiniteViewPager.<init>(InfiniteViewPager.java:19)
      3 frames
    6. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:423)
      4 frames
    7. JetBrains android
      ViewLoader.loadView
      1. org.jetbrains.android.uipreview.ViewLoader.createNewInstance(ViewLoader.java:465)
      2. org.jetbrains.android.uipreview.ViewLoader.loadClass(ViewLoader.java:172)
      3. org.jetbrains.android.uipreview.ViewLoader.loadView(ViewLoader.java:105)
      3 frames
    8. com.android.tools
      LayoutlibCallbackImpl.loadView
      1. com.android.tools.idea.rendering.LayoutlibCallbackImpl.loadView(LayoutlibCallbackImpl.java:186)
      1 frame
    9. Android Platform
      LayoutInflater.inflate
      1. android.view.BridgeInflater.loadCustomView(BridgeInflater.java:334)
      2. android.view.BridgeInflater.loadCustomView(BridgeInflater.java:345)
      3. android.view.BridgeInflater.createViewFromTag(BridgeInflater.java:245)
      4. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:727)
      5. android.view.LayoutInflater.rInflate_Original(LayoutInflater.java:858)
      6. android.view.LayoutInflater_Delegate.rInflate(LayoutInflater_Delegate.java:70)
      7. android.view.LayoutInflater.rInflate(LayoutInflater.java:834)
      8. android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:821)
      9. android.view.LayoutInflater.inflate(LayoutInflater.java:518)
      10. android.view.LayoutInflater.inflate(LayoutInflater.java:426)
      10 frames
    10. com.daimajia.slider
      SliderLayout.<init>
      1. com.daimajia.slider.library.SliderLayout.<init>(SliderLayout.java:172)
      2. com.daimajia.slider.library.SliderLayout.<init>(SliderLayout.java:166)
      2 frames
    11. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:423)
      4 frames
    12. JetBrains android
      ViewLoader.loadView
      1. org.jetbrains.android.uipreview.ViewLoader.createNewInstance(ViewLoader.java:465)
      2. org.jetbrains.android.uipreview.ViewLoader.loadClass(ViewLoader.java:172)
      3. org.jetbrains.android.uipreview.ViewLoader.loadView(ViewLoader.java:105)
      3 frames
    13. com.android.tools
      LayoutlibCallbackImpl.loadView
      1. com.android.tools.idea.rendering.LayoutlibCallbackImpl.loadView(LayoutlibCallbackImpl.java:186)
      1 frame
    14. Android Platform
      LayoutInflater.inflate
      1. android.view.BridgeInflater.loadCustomView(BridgeInflater.java:334)
      2. android.view.BridgeInflater.loadCustomView(BridgeInflater.java:345)
      3. android.view.BridgeInflater.createViewFromTag(BridgeInflater.java:245)
      4. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:727)
      5. android.view.LayoutInflater.rInflate_Original(LayoutInflater.java:858)
      6. android.view.LayoutInflater_Delegate.rInflate(LayoutInflater_Delegate.java:70)
      7. android.view.LayoutInflater.rInflate(LayoutInflater.java:834)
      8. android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:821)
      9. android.view.LayoutInflater.rInflate_Original(LayoutInflater.java:861)
      10. android.view.LayoutInflater_Delegate.rInflate(LayoutInflater_Delegate.java:70)
      11. android.view.LayoutInflater.rInflate(LayoutInflater.java:834)
      12. android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:821)
      13. android.view.LayoutInflater.rInflate_Original(LayoutInflater.java:861)
      14. android.view.LayoutInflater_Delegate.rInflate(LayoutInflater_Delegate.java:70)
      15. android.view.LayoutInflater.rInflate(LayoutInflater.java:834)
      16. android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:821)
      17. android.view.LayoutInflater.inflate(LayoutInflater.java:518)
      18. android.view.LayoutInflater.inflate(LayoutInflater.java:397)
      18 frames
    15. com.android.layoutlib
      Bridge.createSession
      1. com.android.layoutlib.bridge.impl.RenderSessionImpl.inflate(RenderSessionImpl.java:324)
      2. com.android.layoutlib.bridge.Bridge.createSession(Bridge.java:429)
      2 frames
    16. com.android.tools.sdk-common
      LayoutLibrary.createSession
      1. com.android.ide.common.rendering.LayoutLibrary.createSession(LayoutLibrary.java:389)
      1 frame
    17. com.android.tools
      RenderTask$2.compute
      1. com.android.tools.idea.rendering.RenderTask$2.compute(RenderTask.java:548)
      2. com.android.tools.idea.rendering.RenderTask$2.compute(RenderTask.java:533)
      2 frames
    18. IDEA
      ApplicationImpl.runReadAction
      1. com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:966)
      1 frame
    19. com.android.tools
      RenderTask.lambda$inflate$72
      1. com.android.tools.idea.rendering.RenderTask.createRenderSession(RenderTask.java:533)
      2. com.android.tools.idea.rendering.RenderTask.lambda$inflate$72(RenderTask.java:659)
      2 frames
    20. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      4. java.lang.Thread.run(Thread.java:745)
      4 frames