Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Fuad
, 1 year ago
Attribute '?attr/colorAccent' not found. Are you using the right theme?
via GitHub by rudiw
, 1 year ago
Attribute '?attr/colorPrimary' not found. Are you using the right theme?
via Stack Overflow by MANISH PATHAK
, 1 year ago
Attribute '?attr/colorControlActivated' not found. Are you using the right theme?
via GitHub by SteveCampos
, 2 years ago
Color value '?attr/colorAccent' must start with #
via Stack Overflow by LittleFunny
, 11 months ago
Attribute '?attr/selectableItemBackgroundBorderless' not found. Are you using the right theme?
java.lang.NumberFormatException: Attribute '?attr/colorAccent' not found. Are you using the right theme?	at com.android.layoutlib.bridge.impl.ResourceHelper.getColor(ResourceHelper.java:76)	at android.content.res.BridgeTypedArray.getColorStateList(BridgeTypedArray.java:372)	at android.widget.TextView.(TextView.java:750)	at android.widget.TextView.(TextView.java:671)	at android.widget.TextView.(TextView.java:667)	at sun.reflect.GeneratedConstructorAccessor115.newInstance(Unknown Source)	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)	at java.lang.reflect.Constructor.newInstance(Constructor.java:526)	at android.view.LayoutInflater.createView(LayoutInflater.java:619)	at android.view.BridgeInflater.onCreateView(BridgeInflater.java:107)	at android.view.LayoutInflater.onCreateView(LayoutInflater.java:694)	at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:762)	at android.view.BridgeInflater.createViewFromTag(BridgeInflater.java:149)	at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:704)	at android.view.LayoutInflater.rInflate_Original(LayoutInflater.java:835)	at android.view.LayoutInflater_Delegate.rInflate(LayoutInflater_Delegate.java:70)	at android.view.LayoutInflater.rInflate(LayoutInflater.java:811)	at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:798)	at android.view.LayoutInflater.inflate(LayoutInflater.java:515)	at android.view.LayoutInflater.inflate(LayoutInflater.java:394)	at com.android.layoutlib.bridge.impl.RenderSessionImpl.inflate(RenderSessionImpl.java:229)	at com.android.layoutlib.bridge.Bridge.createSession(Bridge.java:426)	at com.android.ide.common.rendering.LayoutLibrary.createSession(LayoutLibrary.java:350)	at com.android.tools.idea.rendering.RenderTask$2.compute(RenderTask.java:520)	at com.android.tools.idea.rendering.RenderTask$2.compute(RenderTask.java:508)	at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:967)	at com.android.tools.idea.rendering.RenderTask.createRenderSession(RenderTask.java:508)	at com.android.tools.idea.rendering.RenderTask.access$600(RenderTask.java:75)	at com.android.tools.idea.rendering.RenderTask$3.call(RenderTask.java:620)	at com.android.tools.idea.rendering.RenderTask$3.call(RenderTask.java:617)	at com.android.tools.idea.rendering.RenderService.runRenderAction(RenderService.java:371)	at com.android.tools.idea.rendering.RenderTask.render(RenderTask.java:617)	at com.android.tools.idea.rendering.RenderTask.render(RenderTask.java:639)	at com.intellij.android.designer.designSurface.AndroidDesignerEditorPanel$7.run(AndroidDesignerEditorPanel.java:519)	at com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:337)	at com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:327)	at com.intellij.util.ui.update.MergingUpdateQueue$3.run(MergingUpdateQueue.java:271)	at com.intellij.util.ui.update.MergingUpdateQueue.flush(MergingUpdateQueue.java:286)	at com.intellij.util.ui.update.MergingUpdateQueue.flush(MergingUpdateQueue.java:244)	at com.intellij.util.ui.update.MergingUpdateQueue.run(MergingUpdateQueue.java:234)	at com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:238)	at com.intellij.util.Alarm$Request$1.run(Alarm.java:352)	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)	at java.util.concurrent.FutureTask.run(FutureTask.java:262)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)	at java.lang.Thread.run(Thread.java:745)