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

Got InflateException After Clicking On a Preference Header Inside PreferenceActivity

I am using preference headers for the preferences part of my application. They were working great but somehow something happened (that I couldn't realize) and I started to get InflateException. The related codes and logs are present below, can…
1
vote
4 answers

Error when launching app: android.view.InflateException: Binary XML file line #2: Error inflating class

Whenever I launch the app that I have just developed, I am greeted by this error. I have looked through my code, but still can't determine the cause of the error. It would be much appreciated if you could take a look and correct any mistakes that I…
bow_one
  • 11
  • 1
  • 4
1
vote
1 answer

Error inflating class in Android

I had my application using the ActionBarActivity, but I made the mistake of upgrading Android Studio with version 22. So now I'm trying to get the AppCompatActivity to work, but I am getting the error Caused by: android.view.InflateException: Binary…
reemul
  • 95
  • 1
  • 10
1
vote
0 answers

Android InflateException

Here is crash log, that I received from Crittercism. I don't know exactly when it occurred. I was checked all menu files in project but not found any issue. Crash log: http://pastebin.com/ZnEsFxKs 0 android.view.InflateException: Binary XML file…
user1009151
1
vote
4 answers

Error inflating my Custom TextView from Library

I have customTextView that loads from my custom Library. but it can't inflate in main_layout and my app stops working. I find that If I put MyTextView in main project it works fine and the problem is load from myLib. public class MyTextView extends…
Mahdi
  • 6,139
  • 9
  • 57
  • 109
1
vote
1 answer

How to fix the android.view.InflateException: Error inflating class fragment when using google maps v2 fragment

I am using google map v2 fragment as a tab's content of a tabhost. The first time I get the map as it should be appeared, but when I navigate with tabs and I want to return back to the tab where the map exists I get this error: 04-19 00:02:08.623:…
HiddenDroid
  • 1,440
  • 4
  • 14
  • 27
1
vote
1 answer

unable to resume activity NULL POINTER EXCEPTION & Error inflating class fragment?

hello guys i'm having a problem regarding map fragment, i have integrated google maps into a fragment that get called by drawer Main activity the problem is that when ever i re-click on you which display map fragment the app crashes, in the…
1
vote
0 answers

Android wear "BoxInsetLayout", fatal exceptioin

I developed the wear(gear live) in eclipse, and I using accelerometer. But i have a problem. I add the library "wearable-1.0.0". I using the "BoxInsetLayout" code in activity_main.xml. When I checked the layout in my watch, occur the error…
Jin
  • 21
  • 1
1
vote
1 answer

how to handle android.view.inflateexception Binary XML file line #5

so I am developing and I came a cross an inflate exception and I don't know what to do with it. log cat: 03-09 16:33:12.018 8201-8201/org.aron.modiryar E/AndroidRuntime﹕ FATAL EXCEPTION: main Process: org.aron.modiryar, PID:…
Pouya Danesh
  • 1,557
  • 2
  • 19
  • 36
1
vote
0 answers

android.view.InflateException when launch on Android 5.0

I have an android project. After compile and install on Android 4.0, it can works normally. But when install it on Android 5.0 and launch it, exception is thrown such as "android.view.InflateException: Binary XML file line #40: Error inflating class…
Queenie Wong
  • 123
  • 1
  • 4
  • 11
1
vote
1 answer

Android: RuntimeException and InflateException using android.support.v7.widget.Toolbar

I am having an issue with a RuntimeException and InflateException stating Binary XML file: Error inflating class android.support.v7.widget.Toolbar. I created a project which attempts to use a navigation drawer and created an…
1
vote
2 answers

Android: Issue with InflateException (Error inflating class android.support.v7.widget.Toolbar)

I am having an issue receiving an RuntimeException and InflateException stating Binary XML file: Error inflating class android.support.v7.widget.Toolbar. I created a project which attempts to use a navigation drawer. I created an…
code
  • 5,294
  • 16
  • 62
  • 113
1
vote
1 answer

Unable to Start Activity - Binary XML file line, Error inflating class

I'm totally new to Android and working on my homework assignment. I'm using Android Studio 0.8.11. I tried searching but didn't find a suitable answer. I'd appreciate any help with deciphering the error message: package…
kent510
  • 269
  • 3
  • 14
1
vote
1 answer

Inflate exception when setting text color selector to a CheckedTextView item from a custom ListView in android

I have a custom ListView, which should have color selector to its background and text items. Custom item of my list:
1
vote
2 answers

android binary xml exception when changing pictures

I'm developing an android app, it's about multilingual story. In this app I can switch from a language to another. Of course this application contains several images and texts. In the arabic language some photos need to be flipped, in the following…
Monzer Yaghi
  • 1,300
  • 1
  • 10
  • 21