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

Caused by android.view.InflateException

Hello there i have a problem which just happened in some devices. App is completely working but i am getting crash that i can't find any solution in stackoverflow. 'Caused by android.view.InflateException Binary XML file line #18: Binary XML file…
1
vote
0 answers

InFlateException occures in some android device

I have one app in the Play Store and which is Arabic to Bangla dictionary. I have noticed for some devices it is throwing an InFlateException in a function which I have given below. The app is works well on some devices but some specific devices…
1
vote
0 answers

I keep gettting an InFlateException error in my Wearable app

at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2914) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3049) at…
1
vote
1 answer

How to fix ViewPager class inflating exception which is reproducable only with the released Google Play Store version

I converted an application not so long ago from older AppCompat to AndroidX. I tested my updates in my developer environment and all looked good. However to my surprise the clean install of the app from the Google Play Store crashes right after…
Csaba Toth
  • 10,021
  • 5
  • 75
  • 121
1
vote
0 answers

Failed to load WebView provider: No WebView installed android.webkit.WebViewFactory.getProviderClass

In the project that I am currently working on uses a webview for Login (OAuth). Please find the below stackTace where the activity has not been inflated and has been crashed. The below is the exact exception seen in the firebase crashlytics. …
1
vote
0 answers

InflateException in AppPreferences

App runs fine on Android 6.0 and 8.1 but when I'm trying to run it on Android 10 it crashes The first thing that I see is: "Error inflating class java.lang.reflect.Constructor" but if it is a bug in library itself how can I fix…
1
vote
0 answers

MaterialCardView causes InflateException

Whenever i am running my app,my app got crashed with this following exception shown in Logcat java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.flickr/com.example.flickr.PhotoDetailActivity}:…
Amit Singh
  • 21
  • 2
1
vote
1 answer

java.lang.reflect.InvocationTargetException - android.view.InflateException: Binary XML file line #14: Error inflating class android.widget.TextView

after updating my android studio version, this error has acurred. I havent changed anything in my code, therefore I dont know what might be the solution to fix this. after reading some answers about it I have done the next following steps: I…
1
vote
0 answers

Random crash on LGE Nexus 4 when inflating com.github.chrisbanes.photoview.PhotoView

Please help. I'm receiving a bunch of app crashes on our crashlytics pointing to this error. But I can't replicate this bug. And based on the crashlytics data, it only happens on LGE Nexus 4 running Android 6 (Marshmallow). Here's how I inflate the…
mgcaguioa
  • 1,443
  • 16
  • 19
1
vote
2 answers

InflateException with Custom RecyclerView in Android

For a project of mine, I wanted to build a custom recyclerview. So, I have extended the RecyclerView the following way: class MyCustomRecyclerView : RecyclerView { constructor(context: Context) : super(context){ …
1
vote
0 answers

Runtime exception caused by android.view.InflateException while inflating the Navigation

I am using androidx and am getting this error quite often but I am not able to debug the error. I am copying the necessary code and seeking help to resolve the error. I have seen other related errors and I have tried to look for erroneous xml…
Dilazak
  • 139
  • 1
  • 1
  • 11
1
vote
2 answers

Exoplayer2 throwing error inflating class com.google.android.exoplayer2.ui.PlayerView on many Vivo devices

My exoplayer2 is working fine in devices like Samsung, Motorola, Xiomi, sony etc on both release and debug build. But when I have released my app on play store, it is throwing error on devices like nexus 4(Android version 6.0.1) and some Vivo models…
surbhi verma
  • 357
  • 4
  • 11
1
vote
1 answer

InflateException happens using glide load images

InflateException happens when large count of images are loaded using glide. I've done some research and realized InflateException may not be the actual reason my android application crashes, the real issue should be out-of-memory. Also I've tried to…
z xx
  • 11
  • 2
1
vote
2 answers

Not able to set another image below first image in linear layout

I'm working on some project and i use linear layout and set image and text in it. after ending first linear layout i want another linear layout and set image. But i'm setting image my app keep on crashing. This is Code:
1
vote
1 answer

App crashes and do not open again, when saving something and going to next screen

When I try to save something and go to the next screen, app crashes and never opens again. The app is supposed to go from main activity I found this problem in my application. 03-05 00:19:55.725 23397-23397/com.hitham.miscarros…
Hitham
  • 23
  • 7