android.view.InflateException: XML file build/intermediates/res/debug/layout/main_activity.xml line #-1 (sorry, not yet implemented): Error inflating class com.rey.material.widget.FloatingActionButton

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by ChrisZou
, 1 year ago
XML file build/intermediates/res/debug/layout/main_activity.xml line #-1 (sorry, not yet implemented): Error inflating class com.rey.material.widget.FloatingActionButton
via GitHub by christopherperry
, 2 years ago
XML file jar:/Users/christopherperry/.m2/repository/org/robolectric/android-res/4.1.2_r1_rc/android-res-4.1.2_r1_rc-real.jar!/res/layout/screen_action_bar_overlay.xml line #-1 (sorry, not yet implemented): Error inflating class <unknown>
via Google Groups by Kirill Mityakov, 1 year ago
XML file c:\***\right_sliding_menu.xml line #-1 (sorry, not yet implemented): Error inflating class fr.castorflex.android.smoothprogressbar.SmoothProgressBar
via Stack Overflow by StickFigs
, 2 years ago
Binary XML file line #16: Error inflating class com.stickfigs.blockball.BlockBallLevelSelect$RadioButtonText
via google.com by Unknown author, 1 year ago
Binary XML file line #167: Error inflating class <unknown>
via Stack Overflow by Frederik.Wagener
, 3 months ago
Binary XML file line #48: Error inflating class com.github.barteksc.pdfviewer.PDFView
android.view.InflateException: XML file build/intermediates/res/debug/layout/main_activity.xml line #-1 (sorry, not yet implemented): Error inflating class com.rey.material.widget.FloatingActionButton
at org.robolectric.shadows.Converter.convertAndFill(Converter.java:99)
at org.robolectric.shadows.Converter.convertAndFill(Converter.java:50)
at org.robolectric.shadows.ShadowResources.createTypedArray(ShadowResources.java:232)
at org.robolectric.shadows.ShadowResources.attrsToTypedArray(ShadowResources.java:209)
at org.robolectric.shadows.ShadowResources.access$000(ShadowResources.java:55)
at android.content.res.Resources$Theme.obtainStyledAttributes(Resources.java)
at com.rey.material.drawable.LineMorphingDrawable$Builder.(LineMorphingDrawable.java:409)
at com.rey.material.drawable.LineMorphingDrawable$Builder.(LineMorphingDrawable.java:405)
at com.rey.material.widget.FloatingActionButton.applyStyle(FloatingActionButton.java:111)
at com.rey.material.widget.FloatingActionButton.init(FloatingActionButton.java:82)
at com.rey.material.widget.FloatingActionButton.(FloatingActionButton.java:64)
at android.view.LayoutInflater.createView(LayoutInflater.java:607)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:743)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:806)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:809)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:809)
at android.view.LayoutInflater.inflate(LayoutInflater.java:504)
at android.view.LayoutInflater.inflate(LayoutInflater.java:414)
at android.view.LayoutInflater.inflate(LayoutInflater.java:365)
at android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:249)
at com.mydomain.myapp.activities.MainActivity_.setContentView(MainActivity_.java:56)
at com.mydomain.myapp.activities.MainActivity_.onCreate(MainActivity_.java:47)
at android.app.Activity.performCreate(Activity.java:5933)
at org.robolectric.util.ReflectionHelpers.callInstanceMethod(ReflectionHelpers.java:195)
at org.robolectric.util.ActivityController$1.run(ActivityController.java:122)
at org.robolectric.shadows.ShadowLooper.runPaused(ShadowLooper.java:305)
at org.robolectric.util.ActivityController.create(ActivityController.java:118)
at org.robolectric.util.ActivityController.create(ActivityController.java:129)
at org.robolectric.util.ActivityController.setup(ActivityController.java:210)
at com.mydomain.myapp.MainActivityTest.setup(MainActivityTest.java:22)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.robolectric.RobolectricTestRunner$2.evaluate(RobolectricTestRunner.java:245)
at org.robolectric.RobolectricTestRunner.runChild(RobolectricTestRunner.java:185)
at org.robolectric.RobolectricTestRunner.runChild(RobolectricTestRunner.java:54)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.robolectric.RobolectricTestRunner$1.evaluate(RobolectricTestRunner.java:149)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:86)
at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.execute(JUnitTestClassExecuter.java:49)
at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassProcessor.processTestClass(JUnitTestClassProcessor.java:64)
at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:50)
at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
at org.gradle.messaging.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32)
at com.sun.proxy.$Proxy2.processTestClass(Unknown Source)
at org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:106)
at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
at org.gradle.messaging.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:360)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.