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

Unable to run working apk in emulator : InflateException: Binary XML file line #12: Binary XML file line #2: Error inflating class

I tried to run an apk in android studio 3.5 and it successfully built but, in emulator it always says "App stopped" and unable to run. But the apk works well in other android phones. In log cat the error was as below. 2019-09-17 13:20:50.229…
Sachz
  • 391
  • 5
  • 21
0
votes
0 answers

Xamarin Forms Android Views Inflate Exception

In my forms project, when navigating to the shell page from content page , i am getting Unhandled Exception: Android.Views.InflateException: . I am using visualstudio 2017 community version.Important…
0
votes
1 answer

InflateException in android along with Resources$NotFoundException

I am getting InflateExcepetion error in my code following with Resource not found exception . I have followed up lots of thread for the similar kind of exception but all the solution seems provide the information of layout not inflating, Image size…
Vishvendu Palawat
  • 566
  • 10
  • 29
0
votes
1 answer

"android.view.InflateException" being thrown on inflating RecyclerView item's layout in onCreateViewHolder method on Marshmallow(6.0+) devices

I have created an app with RecyclerView using v7:28.0.0 support libraries and app runs fine on Android 8.0+ devices when testing. But when using Android 6.0/6.0.1 devices, app crashed with: E/AndroidRuntime: FATAL EXCEPTION:…
0
votes
1 answer

Error inflating class android.support.v7.widget.Toolbar in Android Studio - Java

I'm implementing material design on my app. Whenever I try to inflate the layout, the app crashes. I have the same exact code in another test project I made and works completely fine. It's supposed to check if there is a logged user via Firebase and…
0
votes
1 answer

App crashes on some devices because InflateException: #19: Error inflating class ImageView or "requestFeature() must be called before adding content"

App crashes on some devices because of layout issues. Now only VIVO Y66 (Android 6.0.1, API 23) crashes. If the fragment contains image, it will get InflateException error: android.view.InflateException: Binary XML file line #19: Binary XML file…
kate
  • 79
  • 1
  • 9
0
votes
1 answer

my app crashes on devices with API 21 and lower

Im working on an android app and when I test it on devices/emulators with api 21 and lower it crashes and gives me a message in the logs: 09-29 07:32:30.349 6212-6212/org.jazmawy.mahmood.vocabulary E/AndroidRuntime: FATAL EXCEPTION: main Process:…
Wild_MJ
  • 37
  • 9
0
votes
1 answer

Android app seems to be crashing on launch on KitKat 4.4

My app when installed on my relatively new Huawei running Oreo 8.0 is able to launch and run the app smoothly. The app also runs fine on the Nexus Emulator running Lollipop. However, on my other phone running KitKat 4.4 the app crashes when…
Hazed 2.0
  • 133
  • 2
  • 14
0
votes
2 answers

Text view contents not appearing on the phone screen in android using Kotlin

I am unable to display the textviews and their contents on screen. The app does not crash but the debugger console displays this error. It shows that the causes are the following. Caused by: android.view.InflateException: Binary XML file line #11:…
0
votes
1 answer

Error inflating a layout

My loginScreen is not displayed in Emulator.It is shown as Your application has been Stooped.I have a XML File which is layout is perfect position in design form.I having login_screen.xml like: please help me.I will display the same login_screen…
giri
  • 1
  • 1
0
votes
0 answers

"android.view.InflateException: Binary XM file line" when changing activities

I am currently developing an Android app and having issues when implementing the code which directs the user from one activity to the other. The Android Studio IDE does not show error in any Java or XML code but when the activity is launched and I…
Rui
  • 9
  • 1
0
votes
1 answer

getting error in OS version 4.4

my app is working fine in android version 5.0 and app but in 4.4 im getting error. here is the error 04-18 18:10:50.575 19764-19764/? E/AndroidRuntime: FATAL EXCEPTION: main Process: com.administrator.mosbeau, PID: 19764 …
Joe
  • 387
  • 1
  • 7
  • 22
0
votes
1 answer

InflateException when trying to create popup menu on Recycler view which is in fragment

I am trying to create a popup menu on my recycler view item which is in a fragment. The menu should be created once the user clicks on the 3 dots on my recycler view item here is my code for the adapter class: class ExampleAdapter(context: Context,…
0
votes
2 answers

Xamairin forms : Android.Views.InflateException:

Research a lot about this issue and found the same question, which doesn't solve my problem. so starting a new question. Xamarin Android: Android.Views.InflateException - Error when loading Layout Getting Xamairin forms :…
Sreejith Sree
  • 3,055
  • 4
  • 36
  • 105
0
votes
0 answers

RuntimeException: Unable to start activity: InflateException: Binary XML file line #0: Error inflating class fragment

I get this error in Crash Reporting (I explain everything, I hope, after under this exception) Exception java.lang.RuntimeException: Unable to start activity ComponentInfo{com.packagetest/com.packagetest.MediaActivity}:…