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
0
votes
1 answer

Loading fragment (with google map) gives exception when return

I'm making an Android application with a Google Map. I've got a problem with showing the fragment that contains the map. The first thime I've no exception but if I return to the map I've got this exception: android.view.InflateException: Binary XML…
H. Pauwelyn
  • 13,575
  • 26
  • 81
  • 144
0
votes
1 answer

Inflateexception if I try to load Helpshift fragment

I created a Demoapplication with Actionbar. In the NavDrawer, there are 2 Elements, which loads different Fragments. If I try to load. Support.getFAQFragment(...), the following error appears: Process: com.helpshiftdemo.baumar.helpshiftdemo, PID:…
b4um11
  • 71
  • 1
  • 3
0
votes
1 answer

Caused by: android.view.InflateException Error inflating class in Android app

I've been developing an app for a week now and everything was going fine. I wasn't having any troubles with any of the 3 devices in which I test the Apps I develope. But now I just runned the app on one of these three devices and everything went to…
Miquel Perez
  • 445
  • 1
  • 6
  • 17
0
votes
1 answer

Getting InflationException for line 21

Below is the error I am getting while executing my program. I tried a few solutions which were given on stack overflow, but I am unable to figure out the problem. Can someone please be kind enough to help me?
0
votes
3 answers

Adding CheckBox causes Inflate Exception

I have a check box defined in the xml file for my dialog fragment. When the code is executed it causes Inflate Exception. I don't know what is wrong with the code. If the check box is removed everything works fine. The same exception arises if i use…
Unnikrishnan M R
  • 224
  • 2
  • 11
0
votes
1 answer

Android MaterialSpinner (Github) causes Inflate Exception

I am using a MaterialSpinner library from github(https://github.com/ganfra/MaterialSpinner) in my application.When I try to run in genymotion emulator, it works ok.But when I try to run it on my smartphone it shoes InflateException for the…
jobin
  • 1,489
  • 5
  • 27
  • 52
0
votes
2 answers

Google maps view android.view.InflateException: Binary XML File - error inflating class fragment

This happened overnight after finishing this piece of code which pulls coordinates (Latitude and Longitude) from an API and displaying those coordinates with Markers onto a GoogleMap. It was working fine until this morning when I decided to…
Kei
  • 315
  • 1
  • 4
  • 18
0
votes
2 answers

Android: Implementing fragment issue (inflate exception)

error: 02-18 10:10:24.260: E/AndroidRuntime(5769): java.lang.RuntimeException: Unable to start activity ComponentInfo{org.opencv.samples.facedetect/activity.CameraTest}: android.view.InflateException: Binary XML file line #33: Error inflating class…
bananabreadbob
  • 369
  • 2
  • 10
  • 26
0
votes
3 answers

InflateException error when running my android app on my phone

Hoping someone might be able to help me with this. Been trying to fix it for a few hours now - in logcat below I believe the important line is the one with Error inflating class. I've posted my code below. The package compiles but shuts down…
CHarris
  • 2,693
  • 8
  • 45
  • 71
0
votes
0 answers

Android: got InflateException and OutOfMemoryError

I have a simple Activity which shows an ImageView. However, I sometimes receive bug report saying InflateException and OutOfMemoryError. And those errors are pointing to the ImageView I have used. I have made 4 different images for…
Season
  • 1,178
  • 2
  • 22
  • 42
0
votes
0 answers

Android Fragment inflate error with Camera

context I have a fragment with button to attach camera image. When I open the fragment and tap on attach image then I keep the camera opened. When I open the native mobile camera app and take a photo then I return back to my app (which have the…
0
votes
1 answer

I'm getting Inflate Exception and don't know why?

I am getting inflate exception on custom textview class which is working on other project correctly but having inflate exception in new project. { FATAL EXCEPTION: main.lang.RuntimeException: Unable to start activity…
0
votes
0 answers

Unable to start activity ComponentInfo{package.MainActivity}: android.view.InflateException

This project runs a splash screen then goesto the main activity. As of right now it crashes after the splash screen. I cannot find where it is having trouble starting the MainActivity. When I try to run the project I receive the following…
enkayh
  • 29
  • 1
  • 3
0
votes
2 answers

error in inflating class

I have problem but I don't know what's it. I always wrote this code and it work correctly but this time it doesn't work. error: 10-27 07:40:52.769: E/AndroidRuntime(1572): FATAL EXCEPTION: main 10-27 07:40:52.769: E/AndroidRuntime(1572):…
Mohammad
  • 177
  • 2
  • 9
0
votes
2 answers

android.view.InflateException: Binary XML in one specific device

I have a very frustrated error, that I cannot explain. I create an Android application. This is the XML of the problem. widget_mapa.xml
exequielc
  • 681
  • 1
  • 11
  • 32