inflate-exception Questions

0

We are getting crash reports in play store about an inflate exception with the androidx.appcompat.widget.SearchView, in the OnCreateView method where we inflate the layout this way. val binding = D...
Ferretti asked 5/3, 2023 at 19:0

18

Solved

I know there are other questions on SO asking the same thing. I have already looked at most of them. Most answers call about memory errors. I can't see how an ImageView which loads just a small i...
Inadvertent asked 3/6, 2016 at 19:19

6

Solved

I have an app which has fragment and image button on that. The problem is it's working on and above 5.0 but not below 5.0. The min sdk version is 17. Not getting what's wrong here. I am getting 2...

4

Solved

I am getting errors from Crashlytics that indicates that some devices are missing com.google.android.webview. How is that even possible? java.lang.RuntimeException: Unable to start activity Compon...

0

Exoplayer2 is working fine in devices like Samsung, Vivo, Xiaomi, etc on both release and debug build. But when I have released my app on the play store, it is throwing errors on some devices like ...

18

I've been getting InflateException/ClassNotFoundException error intermittently. I've seen similar errors before in SO but they were caused by spelling errors. I spelled 'ImageView' correctly so I d...
Footrope asked 22/5, 2013 at 17:41

3

I'm getting this crash report in Crashlytics: Fatal Exception: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.app/com.example.app.activities.TabActivity}: android.v...

4

My app is failing on a Trend TaintArt for x86 running Android 7.1.2 when it tries to inflate a layout containing an ImageView. The crash reports that the Drawable doesn't exist: Yet, the Drawabl...

5

Solved

I have an application with min sdk 16 up to 23. I want to use Material design as much as possible. It also has to be fullscreen app. AppCompat support library is included. Now I have Logon activity...

4

Solved

I've been trying to create a Pager for my application that runs on <uses-sdk android:minSdkVersion="10" android:targetSdkVersion="15" /> I wrote my code according to this blog post. XML for...
Arsine asked 28/5, 2012 at 6:44

2

Bottom Navigation View has been added to version 25 of the Design Support Library. Tried and it's much easier to use now. But I am facing problem implementing it as per my app requirements. I want...
Abstinence asked 29/3, 2017 at 4:2

10

Solved

My CollapsingToolbarLayout crashes because of Error inflating class android.support.design.widget.CollapsingToolbarLayout. I updated the android studio last weekend. Before the updated, it works f...

2

Solved

When I launch android app with MapBox library I get exception: "android.view.InflateException: Binary XML file line #9: Error inflating class com.mapbox.mapboxsdk.views.MapView" Field "cause"...
Bacolod asked 28/3, 2016 at 13:44

7

Solved

I am getting a bug using the official FloatingActionButton from Google's support design library. Here is my LogCat. android.view.InflateException: Binary XML file line #34: Error inflating class...

2

I am facing android.view.InflateException in my app for some particular devices, in others phone it works fine. But i don't know why. Many others says that this problem occurs for drawable vector i...
Leonorleonora asked 9/8, 2017 at 4:59

1

Solved

I'm trying to inflate a simple PopupMenu for rename/delete options when a RecylerView item is longClicked. For some reason i'm getting an XML inflate error when I call mPopup.show() after loading m...
Lipson asked 1/6, 2017 at 3:36

4

Solved

I made an app in which I have displayed a Google Map with GPS location marker on my location. This map is on the 1st tab, and I also have two other tabs as shown in picture below Now I am facin...

2

Solved

I keep getting a java.lang.NullPointerException when I try to use ScrollView in an activity. The weird thing is that I've used the exact same Scrollview setup in other activities. And all of a su...

2

Solved

After about 1h looking for solutions to my problem in related topics, I decided to expose my case. Here it is: I'm having an InflateException everytime I try to open my PreferenceActivity. Log E/...

0

I am getting Error inflating class <unknown> error in Android 6.0 emulators when I am trying to add foreground drawable. My logcat : Process: com.yasinkacmaz.myapp, PID: 12789 android.view...
Kyte asked 10/8, 2016 at 1:7

2

Solved

I using the TextInputLayout UI mechanism in my login page of the application, everything works great except for device that run the 4.4.2 android version on this devices I have an exception. This ...

7

The user clicks a button which brings up a fragment dialog that inflates a fragment like this: AlertDialog.Builder builder = new AlertDialog.Builder(getActivity()); View view = getActivity().get...

1

I just setup Robolectric testing through this setup and it is giving me an error when I test out my app. I have narrowed the problem down to the ProgressSpinner which is in my custom ActionBar lay...
Hourihan asked 10/10, 2014 at 18:54

2

Solved

I'm developing an android app, it's about multilingual story. In this app I can switch from a language to another. Of course this application contains several images and texts. In the arabic langua...
Rauscher asked 11/6, 2014 at 6:31

2

Solved

I have created a custom TextView and the only thing I did is I put one "instance" in the layout xml. This causes to crash the app with an "Inflate Exception" : Here's the complete custom class (a...
Diffractive asked 5/5, 2013 at 8:5

© 2022 - 2024 — McMap. All rights reserved.