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

Exception while opening popup window in Android app

I am getting the following exception, while trying to call this method. Exception in MessageQueue callback: handleReceiveCallback 08-21 00:12:43.454 10843-10843/common.barter.com.barterapp E/MessageQueue-JNI﹕ android.view.InflateException:…
pagalpanda
  • 150
  • 2
  • 16
0
votes
1 answer

facebook sdk v4.5.0 crash on startup only in Android less than 5.0

The app crash on startup this is the crash log: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.test/com.test.activities.SplashActivity}: android.view.InflateException: Binary XML file line #10: Error inflating class…
0
votes
1 answer

Updated Android Studio, now Error Inflating Class

My app was working just fine. I updated Android Studio. Then I built my app again for testing and now it immediately crashes! It's like Android Studio moved around resources. I'm not sure what is causing this error. I went through the trouble…
0
votes
0 answers

Binary XML file line #1: Error inflating class

I have an application that runs with a navigation drawer and a couple of fragments. Everything works fine but this one, FragHome, in which I have an image and a ListView. Pieces of code of my Fragment: @Override public View…
Federico
  • 521
  • 5
  • 13
0
votes
3 answers

Out of memory exception on inflating layouts

I am getting random out of memory exceptions in my app caused by inflate exceptions. I have 7 fragment (difficulty) activities which launch their own activities via buttons. Each fragment has a scroll view with 30 buttons (levels). I have set it up…
0
votes
1 answer

android.view.InflateException, java.lang.reflect.InvocationTargetException, java.lang.OutOfMemoryError

I am facing these three errors that crash my App. Caused by: android.view.InflateException: Binary XML file line #15: Error inflating class Caused by: java.lang.reflect.InvocationTargetException Caused by: java.lang.OutOfMemoryError Some…
0
votes
0 answers

Error inflating class android.widget.EditText due to android:background="@drawable/bg_login"

I am having this issue only with Android L GenyMotion emulator. The following layout file throws an error : Error inflating class android.widget.EditText Now when I remove android:background="@drawable/bg_login" the error goes of. This is very…
0
votes
1 answer

Strange android xml error : "Can't convert to dimension: type=0x1"

Here's my xml layout (One by one, I commented out each view and finally keeping a bare minimum textview. Yet, the error comes in). I understand that the error caused due to 3 exceptions Invocation Target Exception Inflate…
0
votes
2 answers

InflateException when opening View with injected Fragment

My app has a kind of jukebox for Youtube videos. I use a YouTubePlayerFragment and my layout looks like this:
JensJensen
  • 1,017
  • 1
  • 12
  • 25
0
votes
1 answer

ActionbarSherlockBinding supportmenuinflater inflate error

I have referenced ActionBarSherlock.dll to my project, and now i'm trying to use it in my activity but as soon as i use the SupportMenuInflater.Inflate it crashes: > [AndroidRuntime] FATAL EXCEPTION: main [AndroidRuntime] Process: >…
0
votes
2 answers

Out of memory. InflateException Binary XML file Android

I have OutOfMemoryError while creating layout with a few images. In line where logcat show me error i start declare TextView. Error is on Samsung Galaxy S4. When i run apps on HTC Desire X there is no error. What might be the cause of that and how…
0
votes
1 answer

Android studio, getting android.view.InflateException and can't find any working solution

Hours have gone by and i still can't get round this really frustrating error. i'm new to android programming so i'm pretty much following tutorials and trying to understand them as i move along. i've also tryed different approaches but keep getting…
Scott_yers
  • 31
  • 1
  • 4
0
votes
0 answers

Base activity with DrawerLayout Causing: Error inflating class fragment

I'm trying to implement a base activity with DrawerLayout so I can extend it to other activities. I used the default Drawer Application in the Eclipse wizard and the help of these questions: Q1, Q2, and for some reason I get an inflate exception…
Yoni Levy
  • 1,562
  • 2
  • 16
  • 35
0
votes
1 answer

android.view.InflateException with dynamic setText from Custom view

I have a custom view "BallHoldView" which is run from an activity "BallHoldActivity" by adding said view to the BallHoldActivity layout resource within merge tags. Also within the same layout xml is a TextView (scoreText). I want to set scoreText's…
sezmeralda
  • 153
  • 8
0
votes
1 answer

InflateException on Api 10

i need help! :) I've created an app that is almost finished, i've been testing it on many devices and many android versions. Everything is working fine on Android L and KitKat, but when i try to open it on Gingerbread, it won't start. That's my…
Giulio Tedesco
  • 179
  • 1
  • 3
  • 14