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
2 answers

Working with a library-project AND android.view.InflateException Binary XML file line #7 Error inflating class

Hi everyone, I am currently experiencing an error that has me a bit confused. I am working on a project which uses the BetterPickers Library by Derek Brameyer. The app crashes when trying to construct this Picker object (basically it is a fancy…
Kah
  • 627
  • 2
  • 11
  • 28
1
vote
1 answer

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

I'm trying to make an app that contains an ActionBar with 3 tabs: "Map", "Destinatiosn" and "About Us". Basically i'm using ViewPager as main layout and for individual pager views i use…
flagg327
  • 967
  • 1
  • 10
  • 21
1
vote
1 answer

android.view.InflateException: ONLY at 4.3+

ok i have several devices for emulating purposes, however this error only occurs at my galaxy s3 with android 4.3 i have no clue whats wrong with layout inflator when fetching contacts + numbers to the app. FATAL EXCEPTION:…
1
vote
1 answer

Android - InflateException: Binary XML file line #7

I was wondering, I have the following source code files: MainActivity.java package com.example.bmtitest2; import android.os.Bundle; import android.app.Activity; import android.app.AlertDialog; public class MainActivity extends Activity { …
Pink Jazz
  • 784
  • 4
  • 13
  • 34
1
vote
2 answers

android.view.InflateException: Binary XML file line #24

i have a xml file which i am trying to use in custom ListView. The xml file looks like below :
Ravi
  • 34,851
  • 21
  • 122
  • 183
1
vote
1 answer

android - getMenuInflater cause crash

I run the following code: public class MainActivity extends ActionBarActivity { ExpandableListAdapter listAdapter; ExpandableListView expListView; List listDataHeader; HashMap> listDataChild; public static final…
RafaelJan
  • 3,118
  • 1
  • 28
  • 46
1
vote
1 answer

Fatal Exception, inflateexception

I'm trying to make a pong like game. I've been following a tutorial from here http://mikeyhogarth.wordpress.com/2010/10/09/how-to-develop-pong-for-android/, but the tutorial had a fixed height and width to display the game. I've been trying to…
1
vote
0 answers

InflateException: cant inflate custom listview from a pinnedheaderlistview library

I'm trying to implement a library called PinnedHeaderListView in my fragment to have a Pinned header for my listview. This is what I've came up public class MyFragment extends Fragment{ @Override public View onCreateView(LayoutInflater inflater,…
Erick
  • 715
  • 1
  • 8
  • 15
1
vote
1 answer

SherlockFragmentActivity Error inflating class

I'm trying to write an application using the fragments with library ActionBarSherlock. So, I have one problem. My layout:
Artem
  • 691
  • 2
  • 5
  • 22
1
vote
2 answers

Out of memory on a 3686416-byte allocation, android.view.InflateException: Binary XML file line #1: Error inflating class

I am getting multiple errors after adding a background image only to the parent RelativeLayout after calling inside an Asynctask (This error goes out using emulator only but when used with actual device, the stack trace is not displaying anything or…
1
vote
2 answers

Error inflating class com.google.ads.AdView (InflateException)

I am trying to show a adview in my android application, but it shows an InflateException. This terminates the app and I cannot do anything. Here is my logcat - 05-06 14:09:09.428: E/AndroidRuntime(928): FATAL EXCEPTION: main 05-06 14:09:09.428:…
Hybrid Developer
  • 2,320
  • 1
  • 34
  • 55
1
vote
1 answer

Uncompressing a Gzip format?

I am facing a problem with Gzip uncompressing. The situation is like this. I have some text in UTF-8 format. Now this text is compressed using gzdeflate() function in PHP and then stored in a blob object in Mysql. Now I tried to retrieve the blob…
Satyam Roy
  • 336
  • 4
  • 18
1
vote
1 answer

android.view.InfalteException. Why?

I am beginner in android programming. I want to learn Fragment in android and I write the simple program but when I want run this, the program has error! Why? MainActivity.java: public class MainActivity extends Activity { Button…
Nice NICE
  • 111
  • 1
  • 3
  • 8
1
vote
1 answer

fatal runtime exception binary xml file reference?

I get following fatal runtime exception (android 2.1) : 12-19 21:23:53.160: E/AndroidRuntime(279): FATAL EXCEPTION: main 12-19 21:23:53.160: E/AndroidRuntime(279): android.view.InflateException: Binary XML file line #24: Error inflating class…
user1837293
  • 1,466
  • 3
  • 16
  • 30
1
vote
1 answer

Error inflation class(custom view)

I am trying to create a custom edit text and got stuck up here... Please see my code below public class MainActivity extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); …
amj
  • 367
  • 1
  • 8
  • 26