android.view.InflateException: XML file build/intermediates/res/merged/dev/layout/fragment_homefeed.xml line #-1 (sorry, not yet implemented): XML file build/intermediates/res/merged/dev/layout-v21/layout_homefeed_header.xml line #-1 (sorry, not yet implemented): Error inflating class android.support.design.widget.CollapsingToolbarLayout

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 miquelbeltran
, 1 year ago
XML file build/intermediates/res/merged/dev/layout/fragment_homefeed.xml line #-1 (sorry, not yet implemented): XML file build/intermediates/res/merged/dev/layout-v21/layout_homefeed_header.xml line #-1 (sorry, not yet implemented): Error inflating class android.support.design.widget.CollapsingToolbarLayout
via GitHub by jongerrish
, 1 year ago
XML file build/intermediates/res/merged/dev/layout/fragment_homefeed.xml line #-1 (sorry, not yet implemented): XML file build/intermediates/res/merged/dev/layout-v21/layout_homefeed_header.xml line #-1 (sorry, not yet implemented): Error inflating class android.support.design.widget.CollapsingToolbarLayout
via Stack Overflow by Niels Bril
, 7 months ago
Binary XML file line #20: Binary XML file line #20: Error inflating class <unknown>
via Stack Overflow by Paul Man
, 1 month ago
Binary XML file line #0: Binary XML file line #0: Error inflating class fragment
via GitHub by MisterY
, 1 year ago
Binary XML file line #35: Binary XML file line #35: Error inflating class com.caverock.androidsvg.SVGImageView
via Stack Overflow by KeenLearner
, 11 months ago
Binary XML file line #28: Binary XML file line #28: Error inflating class TextView
android.view.InflateException: XML file build/intermediates/res/merged/dev/layout/fragment_homefeed.xml line #-1 (sorry, not yet implemented): XML file build/intermediates/res/merged/dev/layout-v21/layout_homefeed_header.xml line #-1 (sorry, not yet implemented): Error inflating class android.support.design.widget.CollapsingToolbarLayout
at org.robolectric.shadows.ShadowAssetManager.checkResName(ShadowAssetManager.java:774)
at org.robolectric.shadows.ShadowAssetManager.getResName(ShadowAssetManager.java:764)
at org.robolectric.shadows.ShadowAssetManager.buildAttributes(ShadowAssetManager.java:664)
at org.robolectric.shadows.ShadowResources.attrsToTypedArray(ShadowResources.java:103)
at org.robolectric.shadows.ShadowResources.access$000(ShadowResources.java:52)
at org.robolectric.shadows.ShadowResources$ShadowTheme.obtainStyledAttributes(ShadowResources.java:270)
at android.content.res.Resources$Theme.obtainStyledAttributes(Resources.java)
at android.support.design.widget.CollapsingTextHelper.setCollapsedTextAppearance(CollapsingTextHelper.java:197)
at android.support.design.widget.CollapsingToolbarLayout.__constructor__(CollapsingToolbarLayout.java:184)
at android.support.design.widget.CollapsingToolbarLayout.(CollapsingToolbarLayout.java)
at android.view.LayoutInflater.createView(LayoutInflater.java:619)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:764)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:704)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:835)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:798)
at android.view.LayoutInflater.parseInclude(LayoutInflater.java:971)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:831)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:798)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:838)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:798)
at android.view.LayoutInflater.inflate(LayoutInflater.java:515)
at android.view.LayoutInflater.inflate(LayoutInflater.java:423)
at xxx.MyFragment.onCreateView(HomeFeedFragment.java:110)
at android.support.v4.app.Fragment.performCreateView(Fragment.java:2074)
at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1104)
at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1286)
at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:758)
at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1671)
at android.os.Handler.handleCallback(Handler.java:739)
at org.robolectric.shadows.ShadowMessageQueue.dispatchMessage(ShadowMessageQueue.java:144)
at org.robolectric.shadows.ShadowMessageQueue.access$100(ShadowMessageQueue.java:30)
at org.robolectric.shadows.ShadowMessageQueue$1.run(ShadowMessageQueue.java:113)
at org.robolectric.util.Scheduler.runOrQueueRunnable(Scheduler.java:293)
at android.os.MessageQueue.enqueueMessage(MessageQueue.java)
at android.os.Handler.enqueueMessage(Handler.java:631)
at android.os.Handler.sendMessageAtTime(Handler.java:600)
at android.os.Handler.sendMessageDelayed(Handler.java:570)
at android.os.Handler.post(Handler.java:326)
at android.support.v4.app.FragmentManagerImpl.enqueueAction(FragmentManager.java:1557)
at android.support.v4.app.BackStackRecord.commitInternal(BackStackRecord.java:654)
at android.support.v4.app.BackStackRecord.commit(BackStackRecord.java:621)
at org.robolectric.shadows.support.v4.SupportFragmentTestUtil.startFragment(SupportFragmentTestUtil.java:17)
at xxx.MyFragmentTest.setUp(HomeFeedFragmentTest.java:23)
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:265)
at org.robolectric.RobolectricTestRunner.runChild(RobolectricTestRunner.java:191)
at org.robolectric.RobolectricTestRunner.runChild(RobolectricTestRunner.java:56)
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:157)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:234)
at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:74)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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