question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Assigned] android.view.InflateException: Binary XML file line #199: Error inflating class TextView

See original GitHub issue

Overview (Required)

  • CalligraphyLayoutInflater a crash

Test Device Configurate

  • Android 4.4.2 (API 19)
  • Crash Rate : 100%

I could not get all logs.

01-19 18:13:34.840 E/AndroidRuntime: FATAL EXCEPTION: main
Process: io.github.droidkaigi.confsched2018.debug, PID: 3152
android.view.InflateException: Binary XML file line #199: Error inflating class TextView
     at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:713)
     at android.view.LayoutInflater.rInflate(LayoutInflater.java:755)
     at android.view.LayoutInflater.rInflate(LayoutInflater.java:758)
     at android.view.LayoutInflater.inflate(LayoutInflater.java:492)
     at uk.co.chrisjenx.calligraphy.CalligraphyLayoutInflater.inflate(CalligraphyLayoutInflater.java:60)
     at android.view.LayoutInflater.inflate(LayoutInflater.java:397)
     at com.xwray.groupie.GroupAdapter.onCreateViewHolder(GroupAdapter.java:77)
     at com.xwray.groupie.GroupAdapter.onCreateViewHolder(GroupAdapter.java:19)
     at android.support.v7.widget.RecyclerView$Adapter.createViewHolder(RecyclerView.java:6519)
     at android.support.v7.widget.RecyclerView$Recycler.tryGetViewHolderForPositionByDeadline(RecyclerView.java:5706)
     at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:5589)
     at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:5585)
     at android.support.v7.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:2231)
     at android.support.v7.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1558)
     at android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1518)
     at android.support.v7.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:610)
     at android.support.v7.widget.RecyclerView.dispatchLayoutStep2(RecyclerView.java:3719)
     at android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:3436)
     at android.support.v7.widget.RecyclerView.onLayout(RecyclerView.java:3988)
     at android.view.View.layout(View.java:14858)
     at android.view.ViewGroup.layout(ViewGroup.java:4646)
     at android.support.constraint.ConstraintLayout.onLayout(ConstraintLayout.java:1514)
     at android.view.View.layout(View.java:14858)
     at android.view.ViewGroup.layout(ViewGroup.java:4646)
     at android.support.v4.view.ViewPager.onLayout(ViewPager.java:1769)
     at android.view.View.layout(View.java:14858)
     at android.view.ViewGroup.layout(ViewGroup.java:4646)
     at android.support.constraint.ConstraintLayout.onLayout(ConstraintLayout.java:1514)
     at android.view.View.layout(View.java:14858)
     at android.view.ViewGroup.layout(ViewGroup.java:4646)
     at android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)
     at android.widget.FrameLayout.onLayout(FrameLayout.java:388)
     at android.view.View.layout(View.java:14858)
     at android.view.ViewGroup.layout(ViewGroup.java:4646)
     at android.support.constraint.ConstraintLayout.onLayout(ConstraintLayout.java:1514)
     at android.view.View.layout(View.java:14858)
     at android.view.ViewGroup.layout(ViewGroup.java:4646)
     at android.support.v4.widget.DrawerLayout.onLayout(DrawerLayout.java:1172)
     at android.view.View.layout(View.java:14858)
     at android.view.ViewGroup.layout(ViewGroup.java:4646)
     at android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)
     at android.widget.FrameLayout.onLayout(FrameLayout.java:388)
     at android.view.View.layout(View.java:14858)
     at android.view.ViewGroup.layout(ViewGroup.java:4646)
     at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1673)
     at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1527)
     at android.widget.LinearLayout.onLayout(LinearLayout.java:1436)
     at android.view.View.layout(View.java:14858)
     at android.view.ViewGroup.layout(ViewGroup.java:4646)
     at android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)
     at android.widget.FrameLayout.onLayout(FrameLayout.java:388)
     at android.view.View.layout(View.java:14858)
     at android.view.ViewGroup.layout(ViewGroup.java:4646)
     at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1673)
     at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1527)
     at android.widget.LinearLayout.onLayout(LinearLayout.java:1436)
     at android.view.View.layout(View.java:14858)
 	at android.view.ViewGrou

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:12 (11 by maintainers)

github_iconTop GitHub Comments

3reactions
takahiromcommented, Jan 19, 2018

That’s by my library 😭 I will fix it 👍

1reaction
Pluucommented, Jan 21, 2018

@takahirom I’m sorry to judge mistakenly as CalligraphyLayoutInflater.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Binary XML file: Error inflating class fragment - Stack Overflow
I had this problem with a TextView I had in the layout I was trying to inflate (android.view.InflateException: Binary XML file line #45:...
Read more >
Binary XML file line #6: Error inflating class TextView - YouTube
FATAL EXCEPTION: main, Unable to start activity ComponentInfo android. view. InflateException : Binary XML file line #6: Error inflating class ...
Read more >
android.view.InflateException: Binary XML file line #2: Error ...
Caused by: android. view. InflateException : Binary XML file line #2: Error inflating class unknowntag... error inflating class unknown ...
Read more >
Error inflating text view(or ScrollView, <unknown>) [37137572]
Here's another log with a Toast issue. Exception android.view.InflateException: Binary XML file line #21: Error inflating class <unknown> android.view.
Read more >
TextView - Android Developers
android :lineBreakStyle, Specifies the line-break strategies for text wrapping. ... Called from layout when this view should assign a size and position to ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found