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

Inflate Exception with FloatingActionButton

I have problem with FloatActionButton in support library. when I run the app on pre lollipop I get this error. I'm using android studio 2.2.2 and this error haven't seen before on previous versions. but I have had this problem…
Siyanew
  • 542
  • 1
  • 4
  • 20
1
vote
0 answers

DialogFragment "android.view.InflateException: Binary XML file line #25: Error inflating class TextView"

I have subclassed DialogFragment. It works fine on some phones, but throws "android.view.InflateException: Binary XML file line #25: Error inflating class TextView" on others. There are two odd things. First, there are no TextViews in my project. …
1
vote
2 answers

android.view.InflateException: Binary XML file line #37: Error inflating class EditText

I am trying to make a login page using default Android Template. Following is my code for layout:
Rahul
  • 739
  • 4
  • 15
  • 31
1
vote
2 answers

android.view.InflateException: Binary XML file line #39: Error inflating class ProgressWidget

public final class ProgressWidget extends LinearLayout { { setOrientation(LinearLayout.VERTICAL); inflate(context, R.layout.horizontal_progress, this); } @Override protected void…
AndroidRocks
  • 292
  • 4
  • 16
1
vote
3 answers

Error inflating class android.support.design.widget.TextInputLayout

when i change my library 23.0.1 to 23.3.0 then this error will occur and i have to change my library. so give me answer and solution. java.lang.RuntimeException: Unable to start activity…
Sanjayrajsinh
  • 15,014
  • 7
  • 73
  • 78
1
vote
4 answers
1
vote
0 answers

android how to apply shape and selector simultaneously

I have been reading other posts where the solution is apparently given. However, the solution doesn't work for me. I would have commented in that post, but I cannot do it with my reputation. The issue is described here. Basicly I want to use two…
Daniel Reina
  • 5,764
  • 1
  • 37
  • 50
1
vote
0 answers

class file for android.support.v4.widget.TintableCompoundButton not found

I want to Create a CheckBox, My compile sdk version is 23, Target version is 23, build tool version is 23.0.0, in gradle I'hv added compile 'com.android.support:support-v4:23.2.0', compile 'com.android.support:appcompat-v7:23.2.0' both and…
1
vote
0 answers

android.view.InflateException when using shamanland fonticon in listview

I used shamanland fonticon in my listview .but after running it give me this error: android.view.InflateException: Binary XML file line #10: Error inflating class com.shamanland.fonticon.FontIconTextView this is my code: item_news.xml:
MSepehr
  • 890
  • 2
  • 13
  • 36
1
vote
1 answer

Error inflating class TextView in RecyclerView

I have Recycler View inside Fragment and data in ArrayList But when I run my Application some how it throws an exception like InflateException. I tried lot but not getting anysolution. It would be great if any one can solve and i will be very…
sodhankit
  • 1,138
  • 1
  • 14
  • 26
1
vote
2 answers

Error line: Caused by: android.view.InflateException: Binary XML file line #19: Binary XML file line #10: Error inflating class

I tried doing a Drawing application in my android studio but when I tried running it on my Phone or to the emulator. The app just suddenly stops.Here is the copy of my content_main activity xml file on Layout.
1
vote
0 answers

FATAL EXCEPTION: main... android.view.InflateException: Binary XML file...Error inflating class

I am using a library which includes a cardview library. The project was working fine and then I added another module via my Gradle Settings file and now neither modules work. Here is the exception I get when I run the project using the main module…
dbo
  • 161
  • 1
  • 10
1
vote
2 answers

App crashing through Inflate Exception on Android M

My app is working great on all tested android versions, it's just crashing directly while start on Android M with a InflateException. Here is the stack trace: 11-25 10:17:05.690 E/AndroidRuntime: FATAL EXCEPTION: main …
dabo248
  • 3,367
  • 4
  • 27
  • 37
1
vote
2 answers

java.lang.RuntimeException: Unable to start activity ComponentInfo android.view.InflateException: Binary XML file line #11:

hi i want add google map to my project but i have errore and im not solve that logcat: 09-07 06:19:26.849: E/AndroidRuntime(908): FATAL EXCEPTION: main 09-07 06:19:26.849: E/AndroidRuntime(908): java.lang.RuntimeException: Unable to start activity…
Meghdad
  • 11
  • 5
1
vote
1 answer

CustomView in android throws inflate exception

I have to create a custom view in my android application, for that I have wrote code as follows xml
droidev
  • 7,352
  • 11
  • 62
  • 94