InflateException: Binary XML file line | Error inflating class ImageView

InflateException: Binary XML file line | Error inflating class ImageView

Real Tech

4 года назад

15,139 Просмотров

Solved: InflateException: Binary XML file line 35 or any line number | Error inflating class ImageView. Or RuntimeException Unable to start activity ComponentInfo...

====================================
New Blog For Android App Development:
📌 https://dailycoding.in/
====================================

Why do you need to Subscribe to my channel?
1. It's free (you just need the google mail account)
2. Up to date (every my videos in your mail)
3. Help me to grow up this channel
4. More subscribers = More events.
5. Subscribe channel Real Tech (Stay Connected).

If you got any error, let me know by commenting below.
======================================================
Contact
======================================================
YOUTUBE: https://youtube.com/RealTechA2Z
FACEBOOK: https://facebook.com/realtechA2Z
======================================================
Thank you.
#RealTechStayConnected #AndroidStudioError #DailyCoding

Тэги:

#fixed #how_to ##realtech #InflateException #Binary_XML_file_line #Error_inflating_class_ImageView #InflateException:_Binary_XML_file_line_|_Error_inflating_class_ImageView #Android_Studio #Error_fixed #Solved #Runtime_Exception_Unable_to_start_activity_ComponentInfo #RuntimeException
Ссылки и html тэги не поддерживаются


Комментарии:

@sajatahamed1802
@sajatahamed1802 - 09.11.2022 20:17

thanksssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss brother

Ответить
@vatsalyaa.m
@vatsalyaa.m - 10.08.2022 20:33

Thanks you solved my problem

Ответить
@kJunaidKhan
@kJunaidKhan - 20.05.2022 21:21

Brother it's day"invalid content was found starting with element Bass extension"

Ответить
@19571
@19571 - 24.03.2022 00:33

Thank You

Ответить
@ANTi1302
@ANTi1302 - 19.02.2022 08:47

you save me bro! thank you

Ответить
@VictorGonzalez-ze1cu
@VictorGonzalez-ze1cu - 02.02.2022 02:15

Thank you very much brother, I managed to fix it

Ответить
@marc988
@marc988 - 10.01.2022 14:41

What if the line isn't a drawable but a layout / or a class fragment to inflate, like this
<include
android:id="@+id/app_bar_main"
layout="@layout/my_layout"
android:layout_width="match_parent"
android:layout_height="match_parent" />

Ответить
@rounaknaik9657
@rounaknaik9657 - 03.10.2021 12:31

Bro Thank You !!!

Ответить
@theagnosticguy5054
@theagnosticguy5054 - 01.08.2021 11:58

I swear your are such a helpful human. You have saved me thank you soo much. I can't say it enough. Am now a subscriber. Thanks from Uganda

Ответить
@socramoluap
@socramoluap - 02.07.2021 04:42

I'm brazilian. I don't speak english, so want thanks to help. Resolve my problem.

Ответить
@seymatezcan4058
@seymatezcan4058 - 26.06.2021 03:39

Hello I tried it for Error inflating class Button but it did not work for me :( What can I do for error inflating class Button?

Ответить
@ketankhandelwal8626
@ketankhandelwal8626 - 10.06.2021 14:19

sir plz tell how to solve this error "Binary XML file line #36: Binary XML file line #36: Error inflating class com.iammert.library.readablebottombar.ReadableBottomBar"

Ответить
@amonafuad9719
@amonafuad9719 - 08.06.2021 05:28

thanks my problem is solved :D

Ответить
@Blackops1990
@Blackops1990 - 01.06.2021 00:35

Thx

Ответить
@BruceCichowlas
@BruceCichowlas - 13.04.2021 13:28

My problem is similar, but involves AndroidX, I think. My project builds and runs with Android Studio, but I am trying to get it to build and run with IntelliJ. IntelliJ is insisting on Gradle 6.5, whereas the project had been building with Gradle 4.1. I don't know whether that is a factor in the problem. It's possible that IntelliJ is asking for a higher version because of other languages I use it for.(I suppose I could try a clean IntelliJ install, but I don't want to mess with it supporting the other projects if I don't need to.)

The core problem involves "inflating class androidx.appcompat.widget.AppCompatTextView". This is not a problem when running the Android Studio build, but it is when running the IntelliJ build of the same source. I suspect their may also be problems with ConstraintLayout and other androidx things, but execution doesn't get far enough for me to tell. Possibly it could relate to a theme that is used. I also use libgdx in my project, but I don't think that is related. The crash occurs before I run any animated screens with libgdx.

I think your approach of addressing learning through error messages is very interesting.

Ответить
@anjumiqbal6142
@anjumiqbal6142 - 29.03.2021 10:42

Nice work keep it up bro 👏👏👏

Ответить
@hernanlopez1599
@hernanlopez1599 - 23.03.2021 20:07

Thank you bro!!

Ответить
@KharabelaParida
@KharabelaParida - 27.02.2021 23:26

Hi, in my case no such v-24 folder. and how you know that which XML file responsible for this error from the logcat. Thanks buddy.

Ответить
@komalastawala6209
@komalastawala6209 - 15.02.2021 10:01

I moved this file from v24 to drawable but still getting an error plz suggest me other way

Ответить
@okonjiemmanuel9671
@okonjiemmanuel9671 - 15.01.2021 13:11

Hello, nice video. Please what happens in a case where the class is unknown. how can that be resolved ?

Ответить
@snehalmishra7549
@snehalmishra7549 - 18.12.2020 07:16

Instead of ImageView my error is showing class <unknown>
Edit: Bang on ! your solution still worked , thank you bro you saved my day

Ответить
@karthickflyn7877
@karthickflyn7877 - 09.12.2020 12:36

android.view.InflateException: Binary XML file line #59: Binary XML file line #59: Error inflating class com.seatgeek.placesautocomplete.PlacesAutocompleteTextView
Caused by: android.view.InflateException: Binary XML file line #59: Error inflating class com.seatgeek.placesautocomplete.PlacesAutocompleteTextView
Caused by: java.lang.reflect.InvocationTargetException. can un help bro ?

Ответить
@gustavocarrascomora
@gustavocarrascomora - 05.12.2020 06:27

1 hour search the error !!! thanks !!!!!!

Ответить
@abhaypratapsingh964
@abhaypratapsingh964 - 02.11.2020 11:05

Bhaiya mera recycler view impost ni ho rha h xml s main activity m kya karu 😐

Ответить
@javierbg_04
@javierbg_04 - 18.10.2020 11:51

After 1 day searching, you have told me the solution. Thanks!!!!

Ответить
@billdosk
@billdosk - 01.10.2020 16:11

thx bruh

Ответить
@khaledkanaan8369
@khaledkanaan8369 - 05.09.2020 16:38

Many thanks !

Ответить
@souvikpatra1837
@souvikpatra1837 - 30.08.2020 15:27

how to get rid of """""android.view.InflateException: Binary XML file line #10: For input string: "95.00001%" """"""'""

Ответить
@neusadonateli3751
@neusadonateli3751 - 25.08.2020 17:37

toooooooppppp topp i seach 30 days

Ответить
@JorgeSotoRamos
@JorgeSotoRamos - 16.08.2020 19:28

You are the best thanks you so much

Ответить
@numalesoybea1348
@numalesoybea1348 - 13.08.2020 23:39

OMFG Thank you so much! I searched for hours on that stupid stackoverflow website and there was no solutions. I would have NEVER found the problem if not for your video.
I would give you a hundred likes if I could.🙂

Ответить
@AtanuSanyal
@AtanuSanyal - 23.07.2020 00:45

Hi Subhojit can you explain why this error happening and how to solve it

Class Name : java.lang.RuntimeException
Caused By : java.lang.RuntimeException: Unable to start activity ComponentInfo{com.atanusanyal.quadroid/com.atanusanyal.quadroid.activities.SplashActivity}: android.view.InflateException: Binary XML file line #17 in com.atanusanyal.quadroid:layout/abc_screen_simple: Binary XML file line #17 in com.atanusanyal.quadroid:layout/abc_screen_simple: Error inflating class android.support.v7.widget.FitWindowsLinearLayout

Ответить
@aiyuayaan
@aiyuayaan - 22.07.2020 12:26

Thankyou soo much sir

Ответить
@christian-gi9gy
@christian-gi9gy - 18.07.2020 04:55

Alguien que hable español me puede decir cómo solucionarlo por favor :(

Ответить
@luisdavidascenciocuba9425
@luisdavidascenciocuba9425 - 16.07.2020 21:32

Thanks a lot!

Ответить
@meknassihamza9324
@meknassihamza9324 - 09.07.2020 18:08

thank's a lot ! you saved my time & my life :) :)

Ответить
@md.al-amin1650
@md.al-amin1650 - 05.07.2020 21:34

small video,big help
thanks bro

Ответить
@shinewiki233
@shinewiki233 - 27.06.2020 13:46

Thank you sir...

Ответить
@xenonhub8392
@xenonhub8392 - 30.05.2020 23:05

android.view.InflateException: Binary XML file line #12: android.support.v4.widget.DrawerLayout cannot be cast to android.view.ViewGroup

how to solve this i am not able to find solution

Ответить
@gauravrathod1811
@gauravrathod1811 - 30.05.2020 14:49

I need a help bro

Ответить
@JakeSantosMusicOfficial
@JakeSantosMusicOfficial - 27.05.2020 08:13

Bro. You are such a genius. I've been dealing withis error for about 9 hours of non-stop running, debuging and searching for the solution of this error. and just to find out that I just have to move the image file itself. dang. you nailed it man. Thanks a lot.

Ответить
@aryansai557
@aryansai557 - 25.05.2020 15:23

Thank you so much!

Ответить
@marciopoeys2063
@marciopoeys2063 - 16.05.2020 08:53

I wish a thousand likes for you, my friend! Thank you so much!

Ответить
@insanevladi.
@insanevladi. - 14.05.2020 09:41

sağol kardaş

Ответить
@fedora2050
@fedora2050 - 13.05.2020 05:00

you save me bro! thank you

Ответить
@vennguyen1058
@vennguyen1058 - 04.05.2020 18:52

thank you very much, It was worked

Ответить
@mustaphaarroubi6455
@mustaphaarroubi6455 - 22.04.2020 21:01

i don't find the 24 folder on y project !

Ответить
@mustaphaarroubi6455
@mustaphaarroubi6455 - 22.04.2020 20:59

thank you bro

Ответить
@zainbashir375
@zainbashir375 - 19.04.2020 12:52

Watched like a 100 videos but of no use. This one saved the day...
Thank you sooo much :)

Ответить