Questions tagged [inflate-exception]

(Android) This exception is thrown by an inflater on error conditions.

(Android) This exception is thrown by an inflater on error conditions.

Reference: http://developer.android.com/reference/android/view/InflateException.html

323 questions
2
votes
2 answers

Error inflating Class ImageView on RecyclerView

I build an app with minimum SDK 15 and target 23, and I have different view in my RecyclerView. Apps works well on android version => 5.0 but crashes on android version < 5.0 with the following error message Binary XML file line #159: Error…
Thankgod Richard
  • 507
  • 6
  • 16
2
votes
1 answer

Getting Inflate exception for navigation view

I am using a navigation view and drawer layout in my app. As I tried to execute its throwing inflating exception. MinSdk it supports is 14. Also theme I am using is appcompact no action bar. Main activity: …
Sid
  • 2,792
  • 9
  • 55
  • 111
2
votes
3 answers

Android Error inflating class android.support.design.widget.NavigationView

Error Message: android.view.InflateException: Binary XML file line #16: Binary XML file line #16: Error inflating class android.support.design.widget.NavigationView …
SwagZ
  • 759
  • 1
  • 9
  • 16
2
votes
2 answers

android.view.InflateException , Integerating digits via fabric plugin

when I run digits as a single module.. it runs fine. but when am integerating it with my main project its giving inflateException. what might be the cause of this exception. I get this exception when I click on the "use my phone no" (button) CLICK…
2
votes
0 answers

Android Studio Emulation on Mac OS X - InflateException: Binary XML (MapBox)

This is a really specific issue, so it may be hard to diagnose. I have an Android app that is working on an Android phone and is emulated correctly on a Windows 8.1 x86 emulator (via Android Studio), but when I run it in an x86 emulator on my Mac…
sean
  • 3,484
  • 5
  • 27
  • 45
2
votes
3 answers

Android Studio project works on Lollipop but does not work on Kitkat

I have an Android Studio project that is working fine on devices with Android build version Lollipop but is throwing an exception when trying to run it on a device with android build version Kitkat. This is my project's build.gradle file: android { …
eyadMhanna
  • 2,412
  • 3
  • 31
  • 49
2
votes
1 answer

android.view.InflateException: Binary XML file line #1: Error inflating class in Xamarin Studio

For a few days, when I launch my app , it stops working and return me this error : [MonoDroid] UNHANDLED EXCEPTION: [MonoDroid] Android.Views.InflateException: Exception of type 'Android.Views.InflateException' was thrown. [MonoDroid] at…
2
votes
1 answer

InflateException i have an Error inflating class

I have more activities and i dont have any problem but when i'm starting this activity(Segunda) it break In this Activity I try to use a customView for zoom and draw, and i cant find where is the problem this is the activity public class Segunda…
Andres Cárdenas
  • 720
  • 1
  • 5
  • 26
2
votes
1 answer

android.view.InflateException Error inflating class com.etsy.android.grid.StaggeredGridView

I am implementing the library provided by etsy on github for StaggeredGrid https://github.com/etsy/AndroidStaggeredGrid . The error i am getting is InflationException for the layout…
kaushalop
  • 858
  • 9
  • 14
2
votes
2 answers

findViewById() throws exception using emulator, but not for devices

I have a simple Android App with a WebView loading my website, recently I migrate this project from Windows XP to Mac, since then I got Exception when calling findViewById() when I run the App in a emulator, I have tried running in a mobile device…
2
votes
1 answer

Android.view.InflateException: Error inflating class fragment on Startup (no error in onCreate?)

I'm getting "Error inflating Class Fragment" error in XML- file when the app starts. I don't understand why? I've tried replacing the class- file that's causing the error with a similar file, used in another project that doesn't get this error, but…
2
votes
2 answers

Android activity not starting on some devices (error inflating class)

my program (actually not mine, I'm just trying to fix this bug) works fine on most phones, but it doesn't start on Sony Xperia P. When I launch the program, the following message appears: The application has stopped unexpectedly. The app also…
keybee
  • 1,498
  • 20
  • 32
2
votes
3 answers

Android ListView NullPointerException when inflating View

i have a ListView with a custom row: detail_row1.xml
David Homes
  • 2,725
  • 8
  • 33
  • 53
2
votes
3 answers

Android: Inflate exception on custom view

I have a custom view that extends LinearLayout, with these constructors: public class CustomView extends LinearLayout { public CustomView(Context context) { this(context, null); } public CustomView(Context context, AttributeSet attrs) { …
1
vote
0 answers

Resource.NotFoundException even when drawable is present in all 6 drawable folder

I know there are a bunch of similar questions on stackoverflow but none of them seem to solve my problem. The problems previously mentioned always have some place where the drawable is missing. Which is not the case with this project. The line…