android.view.InflateException: Binary XML file line #30: Binary XML file line #30: Error inflating class <unknown>

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 Vishal Anand
, 1 year ago
Binary XML file line #30: Binary XML file line #30: Error inflating class <unknown>
via Stack Overflow by Gabriel Schneider
, 1 year ago
Binary XML file line #9: Binary XML file line #9: Error inflating class fragment
via Stack Overflow by mard dean
, 1 year ago
Binary XML file line #2: Binary XML file line #2: Error inflating class android.widget.ScrollView
via GitHub by Syex
, 8 months ago
Binary XML file line #29: Binary XML file line #29: Error inflating class TextView
via GitHub by chenkezhao
, 8 months ago
Binary XML file line #25: Binary XML file line #34: Error inflating class ImageView
via Stack Overflow by Hammad Khan
, 1 year ago
Binary XML file line #36: Binary XML file line #36: Error inflating class com.baidu.mapapi.map.MapView
android.view.InflateException: Binary XML file line #30: Binary XML file line #30: Error inflating class <unknown>
at android.view.LayoutInflater.inflate(LayoutInflater.java:539)
at android.view.LayoutInflater.inflate(LayoutInflater.java:423)
at com.example.visan.pulse.CardAdapter.onCreateViewHolder(CardAdapter.java:25)
at com.example.visan.pulse.CardAdapter.onCreateViewHolder(CardAdapter.java:12)
at android.support.v7.widget.RecyclerView$Adapter.createViewHolder(RecyclerView.java:5288)
at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4551)
at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4461)
at android.support.v7.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:1962)
at android.support.v7.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1371)
at android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1334)
at android.support.v7.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:563)
at android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:2847)
at android.view.View.layout(View.java:16639)
at android.view.ViewGroup.layout(ViewGroup.java:5437)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1735)
at android.widget.LinearLayout.layoutHorizontal(LinearLayout.java:1724)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1490)
at android.view.View.layout(View.java:16639)
at android.view.ViewGroup.layout(ViewGroup.java:5437)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
at android.widget.FrameLayout.onLayout(FrameLayout.java:273)
at android.view.View.layout(View.java:16639)
at android.view.ViewGroup.layout(ViewGroup.java:5437)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1735)
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1579)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1488)
at android.view.View.layout(View.java:16639)
at android.view.ViewGroup.layout(ViewGroup.java:5437)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
at android.widget.FrameLayout.onLayout(FrameLayout.java:273)

Users with the same issue

2 times, 2 months ago
Once, 6 months ago
9 times, 10 months ago
6 times, 1 year ago
2 times, 1 year ago

Write tip

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