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
1
vote
1 answer

TextureView doesn't support displaying a background drawable Xamarin Android

i have a problem with TextureView when i do inflate operation for camera2 implementation. i have the problem with Android 8 but it is work with samsung s5 Android 6. Error: {Android.Views.InflateException: Binary XML file line #1: Error inflating…
1
vote
1 answer

Add Google map to existing project has inflate exception

I want to show a map on activity to existing app. I add map fragment to my xml and get api key but application below error . How can i fix this? I add map xml and activity with right click over activity package and select google maps activity but…
Fahim
  • 384
  • 5
  • 20
1
vote
1 answer

android.view.InflateException: Binary XML file line #0: Error inflating class

Can anyone tell me whats wrong with this layout? Because I can't seem to find anything unusual that could cause InflateException. Also I am getting this exception mostly on Samsung Devices, others seem to work more or less fine. Full exception…
1
vote
1 answer

İnflater error Edittext while version has changed

I am writing Android app. My app is working purely on version 7.0 of Android. But I remembered that I have to change my minSdkNumer for low phones get benefit from my app. When I am trying to launch my app on API 21. It gives me the error message. I…
1
vote
1 answer

Could not inflate Behavior subclass com.luseen.spacenavigation.SpaceNavigationViewBehavior

In my App I have included this library https://github.com/armcha/Space-Navigation-View for bottom navigation and added recycler view scroll behavior
Vivek Naik
  • 21
  • 6
1
vote
2 answers

when I run my app on device having api greater then 19 it gives me error

I am testing my app on diffrent api level. It works fine on minsdk i.e API 19 but when i run my app on device having API > 19 it give me runtime exception. minSdk =19 TargetSdk =27 If my code is having any error or bug than it should not be run…
1
vote
1 answer

getting a Run time Exception on OS versions below Nougat

My application is gone crash on below android 7 version phones. This is the link of my application https://play.google.com/store/apps/details?id=comdhanusharea.wixsite.benitinhere.phonebook. I don't know why i am getting this crash report.When i try…
Nitin
  • 1,280
  • 1
  • 13
  • 17
1
vote
1 answer

Getting error in starting activity android

When i running the Mainactivity i am getting error and in content_main.xml show error (Error inflating class com.algolia.instantsearch.ui.views.Hits). I can't able to solve it. I had changed styles also. please help me. 10-29 16:26:35.405…
Thofiq Ahmed
  • 205
  • 2
  • 14
1
vote
3 answers

Unhandled Exception: Android.Views.InflateException: Binary XML file line #1: Binary XML file line #1: Error inflating class fragment occurred

I am trying to integrate google maps to Xamarin Android. However, received the error, as written in the title. This error appeared on my SetContentView (Resource.Layout.Main); as shown below where: Error occurred in MainActivity.cs My google play…
1
vote
1 answer

Why is assigning an OnClickListener to AutoCompleteTextView giving a NullPointerException?

Whenever I assign an android:onClick attribute to an AutoCompleteTextView, my application immediately crashes upon loading the activity. I've tested AutoCompleteTextView without assigning an onClick method and it seems to work fine, as does…
1
vote
0 answers

android.view.InflateException occurs in some particular phone

I cannot explain why my app crashed several times in some particular phone. In other phones it works fine. If anyone familiar with this problem, please help. Here is my Java code, and Error log in image. It published in googleplay store. It probably…
Nazmus Saadat
  • 973
  • 9
  • 22
1
vote
0 answers

Inflate exception on EditText Longclick

This is a very strange bug that happens on a Galaxy Grand Prime on Android 5.0.1. If I long-click any TextInputEditText or EditText, the app crashes with the following log: FATAL EXCEPTION: main …
1
vote
1 answer

InflateException while login with facebook using firebase in android

I want to login facebook with firebase in my android app, so after connecting my app with firebase I have added the dependency of facebook sdk compile 'com.facebook.android:facebook-android-sdk:[4,5)' but when I run my app then it shows…
1
vote
2 answers

android.view.InflateException: Binary XML file line #14: Error inflating class fragment

I am facing some problem when I click the back button and go back to the location fragment, I got an error below: android.view.InflateException: Binary XML file line #14: Error inflating class fragment …
JsLaw
  • 153
  • 1
  • 3
  • 17
1
vote
1 answer

Fixing android.view.InflateException

Please check below code activity_main.xml
PeakGen
  • 21,894
  • 86
  • 261
  • 463