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

Android memory issue--VM won't let us allocate 2764800 bytes

In my application i am using lots of layouts and lots of inflating in main.xml file. When i set this xml as a contentview application crashes. I have two splash screen before that. In those spash screens i used two images of >200kb size. From log it…
0
votes
2 answers

ActionBarSherlock application crash at inflating a class

I have a Login activity that crashes the app with invalid int for activity layout id. Has anyone else seen this error as I am going mad. I have several classes in the app extending RoboSherlockActivity, but only this one is causing the crash. The…
Mihaela Romanca
  • 1,368
  • 2
  • 14
  • 23
0
votes
2 answers

Binary XML file line #39: Error inflating class

I am getting kind of report from user in error report on Google play. I never get this error in my phone galaxy s2 i9100 and other Android phones which I have. java.lang.RuntimeException: Unable to start activity…
Bhavesh Hirpara
  • 22,255
  • 15
  • 63
  • 104
-1
votes
1 answer

InflateException when extending Android View

I recently ran into an exception when trying to create a custom class that extends AndroidX's AppCompatImageView. android.view.InflateException: Binary XML file line #9 in {package}:layout/all_message_row: Binary XML file line // #9 in…
wildcat12
  • 975
  • 6
  • 13
-1
votes
1 answer

Strange InflateException in only 4.4 devices

First of all please read the question before marking as duplicate. I am getting InflateException in one of my android app only in android versions earlier than lollipop. Works fine with my devices and all other simulators.The code there is just…
Sopnil Shah
  • 51
  • 2
  • 7
-1
votes
2 answers

Caused by: android.view.InflateException: Binary XML file line #51: Error inflating class Button

Hi my app crashes whenever i run it, i checked Logcat and it gives this string of error my code and the structure of my app is below , i have been looking for answer and hope someone help me. thanks in advance Caused by:…
-1
votes
1 answer

The error of inflating class fragment android kotlin

So, firstly I answer at your question "Are you really? There are lots of answers on it.". Yes, I know, but I really try to resolve this problem like a third day: in all SOF there are no question on my error. I have 2 similar projects: in Java and in…
user7092611
-1
votes
1 answer

Unable to inflate floating action button error

I am unable to start my Activity, the app force closes, an error regarding unable to inflate the FAB, I have read the other answers provided for some question, but most of them mentioned to change the background tint attribute from their xml, and…
-1
votes
1 answer

InflateException: Binary XML file line #37: Error inflating class android.support.v4.view.ViewPager

My app works correctly on android 5+ but on versions lower than 5, it gives me this error: InflateException: Binary XML file line #37: Error inflating class android.support.v4.view.ViewPager I searched a lot but that didn't help me out. Compile…
Sherzad
  • 1
  • 1
-1
votes
1 answer

Android app working fine with emulator, but on device it is giving crash., android.view.InflateException When Using custom DrawerLayout

When using custom DrawerLayout it giving InflateException. It was working fine previously, but when I merged it, it started giving this inflate exception. It's working fine in other machine but my machine,.I tried doing all the things like same…
-1
votes
1 answer

android.view.inflateexception binary xml file line

I am developing android application.In my application I have used NavigationView .But it display InflateException in main xml file and application gets closed. my code is here
Nilesh Patil
  • 138
  • 1
  • 1
  • 10
-1
votes
1 answer

Android app crashes on startup(Error inflating class android.support.v7.internal.widget.ActionBarContextView)

I have followed the tutorial Here and have made an Android app in Android studio. However, The app crashes on start up and I get this error: 03-09 13:08:39.597 27112-27112/com.test.test E/AndroidRuntime: FATAL EXCEPTION: main 03-09 13:08:39.597…
Paul
  • 670
  • 7
  • 19
-1
votes
1 answer

Binary XML file Error inflating class

I am unable to find the reason of ErrorInflation. Ask if you want to show me other classes or xml. And i am using AchartEngine. 06-25 09:40:17.889: E/AndroidRuntime(1058): FATAL EXCEPTION: main 06-25 09:40:17.889: E/AndroidRuntime(1058):…
Zar E Ahmer
  • 33,936
  • 20
  • 234
  • 300
-1
votes
1 answer

Error inflating class com.origamilabs.library.views.StaggeredGridView

I m trying to use StaggeredGridView on my project with ActionBarSherlock.But i got this error when i try to inflate main_screen.xml to main.xml. View view = inflater.inflate(R.layout.main_screen, container, false); I have these log errors when…
1 2 3
21
22