![Android] button uses the custom drawable file to set the background, and runs “error inflating class button” | ProgrammerAH Android] button uses the custom drawable file to set the background, and runs “error inflating class button” | ProgrammerAH](https://programmerah.com/wp-content/uploads/2021/04/be80637bd085b995217a2933d72edee2.png)
Android] button uses the custom drawable file to set the background, and runs “error inflating class button” | ProgrammerAH
![Binary XML file line #8: Error inflating class android.support.v7.widget.RecyclerView - Programmer Sought Binary XML file line #8: Error inflating class android.support.v7.widget.RecyclerView - Programmer Sought](https://www.programmersought.com/images/589/3b76f2a8151aa5f068fa7047748bb27d.png)
Binary XML file line #8: Error inflating class android.support.v7.widget.RecyclerView - Programmer Sought
![Android] button uses the custom drawable file to set the background, and runs “error inflating class button” | ProgrammerAH Android] button uses the custom drawable file to set the background, and runs “error inflating class button” | ProgrammerAH](https://programmerah.com/wp-content/uploads/2021/04/52597f2ae78b25f04be37a83b2af36b7.png)
Android] button uses the custom drawable file to set the background, and runs “error inflating class button” | ProgrammerAH
![Android error: android.view.InflateException: Binary XML file line # 0: Error inflating class TextView - Programmer Sought Android error: android.view.InflateException: Binary XML file line # 0: Error inflating class TextView - Programmer Sought](https://programmersought.com/images/786/c63130276f003110897362160a918c22.png)
Android error: android.view.InflateException: Binary XML file line # 0: Error inflating class TextView - Programmer Sought
![Caused by: android.view.InflateException: Binary XML file line #0: Error inflating class ImageView - Programmer Sought Caused by: android.view.InflateException: Binary XML file line #0: Error inflating class ImageView - Programmer Sought](https://www.programmersought.com/images/31/4ca06fbffad2c82eebf6ecee178e01bf.png)
Caused by: android.view.InflateException: Binary XML file line #0: Error inflating class ImageView - Programmer Sought
![How to fix this error? Error inflating class android.support.design.widget.NavigationView - Stack Overflow How to fix this error? Error inflating class android.support.design.widget.NavigationView - Stack Overflow](https://i.stack.imgur.com/y7s4J.png)
How to fix this error? Error inflating class android.support.design.widget.NavigationView - Stack Overflow
![Android] button uses the custom drawable file to set the background, and runs “error inflating class button” | ProgrammerAH Android] button uses the custom drawable file to set the background, and runs “error inflating class button” | ProgrammerAH](https://programmerah.com/wp-content/uploads/2021/04/077f316a9b8ace8e12fce3b7d7a5f989.png)
Android] button uses the custom drawable file to set the background, and runs “error inflating class button” | ProgrammerAH
![exception raised during rendering:Binary XML file line #-1:error inflating class<unknown> - Stack Overflow exception raised during rendering:Binary XML file line #-1:error inflating class<unknown> - Stack Overflow](https://i.stack.imgur.com/YEuxt.jpg)
exception raised during rendering:Binary XML file line #-1:error inflating class<unknown> - Stack Overflow
![Binary XML file line #14: Error inflating class android.support.v7.widget.FitWindowsLinearLayout — Xamarin Community Forums Binary XML file line #14: Error inflating class android.support.v7.widget.FitWindowsLinearLayout — Xamarin Community Forums](https://us.v-cdn.net/5019960/uploads/editor/8e/gsecjdad5taq.png)
Binary XML file line #14: Error inflating class android.support.v7.widget.FitWindowsLinearLayout — Xamarin Community Forums
![InflateException: Binary XML file line #18: Error inflating class TextView · Issue #12 · RikkaW/MaterialPreference · GitHub InflateException: Binary XML file line #18: Error inflating class TextView · Issue #12 · RikkaW/MaterialPreference · GitHub](https://user-images.githubusercontent.com/5214214/29051262-cea4399e-7c13-11e7-85b3-c4b74f238643.png)
InflateException: Binary XML file line #18: Error inflating class TextView · Issue #12 · RikkaW/MaterialPreference · GitHub
![exception raised during rendering:Binary XML file line #-1:error inflating class<unknown> - Stack Overflow exception raised during rendering:Binary XML file line #-1:error inflating class<unknown> - Stack Overflow](https://i.stack.imgur.com/6BDEq.png)
exception raised during rendering:Binary XML file line #-1:error inflating class<unknown> - Stack Overflow
![InflateException: Binary XML file line #18: Error inflating class TextView · Issue #12 · RikkaW/MaterialPreference · GitHub InflateException: Binary XML file line #18: Error inflating class TextView · Issue #12 · RikkaW/MaterialPreference · GitHub](https://user-images.githubusercontent.com/5214214/29051016-4598526c-7c12-11e7-9349-16a60b0b5738.png)
InflateException: Binary XML file line #18: Error inflating class TextView · Issue #12 · RikkaW/MaterialPreference · GitHub
![已解决】Android中xml中TextView引用已定义好的样式时出错:android.view.InflateException: Binary XML file line #14: Error inflating class – 在路上 已解决】Android中xml中TextView引用已定义好的样式时出错:android.view.InflateException: Binary XML file line #14: Error inflating class – 在路上](https://www.crifan.com/files/pic/uploads/2014/04/android-textview-style-reference-error-android.view_.inflateexception-binary-xml-file-line-infala.png)
已解决】Android中xml中TextView引用已定义好的样式时出错:android.view.InflateException: Binary XML file line #14: Error inflating class – 在路上
![Binary XML file line #7 in XXX : Error inflating class com.fortysevendeg.swipelistview.SwipeListView — Xamarin Community Forums Binary XML file line #7 in XXX : Error inflating class com.fortysevendeg.swipelistview.SwipeListView — Xamarin Community Forums](https://us.v-cdn.net/5019960/uploads/editor/s4/qe60j4ge2o4a.png)