android.view.InflateException: Binary XML file line #24: Binary XML file line #24: Error inflating class fragment


Solutions on the web

Solution icon of stackoverflow
Binary XML file line #24: Binary XML file line #24: Error inflating class fragment

Solution icon of stackoverflow
via Stack Overflow by pankaj agarwal
, 9 months ago
Binary XML file line #24: Binary XML file line #24: Error inflating class fragment

Solution icon of github
Binary XML file line #24: Binary XML file line #24: Error inflating class com.microsoft.media.MMVRSurfaceView

Solution icon of stackoverflow
Binary XML file line #24: Binary XML file line #17: Error inflating class android.support.v7.widget.SwipeRefreshLayout

Solution icon of stackoverflow
Binary XML file line #2: Binary XML file line #2: Error inflating class fragment

Solution icon of stackoverflow
Binary XML file line #7: Binary XML file line #2: Error inflating class fragment

Solution icon of stackoverflow
Binary XML file line #40: Binary XML file line #40: Error inflating class fragment

Solution icon of stackoverflow
Binary XML file line #18: Binary XML file line #18: Error inflating class fragment

Solution icon of stackoverflow
Binary XML file line #81: Binary XML file line #15: Error inflating class fragment

Solution icon of stackoverflow
via Stack Overflow by JaydeepBhayani
, 10 months ago
Binary XML file line #30: Binary XML file line #30: Error inflating class fragment

Stack trace

android.view.InflateException: Binary XML file line #24: Binary XML file line #24: Error inflating class fragment
	at android.view.LayoutInflater.inflate(LayoutInflater.java:539)
	at android.view.LayoutInflater.inflate(LayoutInflater.java:423)
	at android.view.LayoutInflater.inflate(LayoutInflater.java:374)
	at com.android.internal.policy.PhoneWindow.setContentView(PhoneWindow.java:393)
	at android.app.Dialog.setContentView(Dialog.java:512)
	at com.itcastle.kleanify.WelcomeHomeTemp.EditLocation(WelcomeHomeTemp.java:533)
	at com.itcastle.kleanify.WelcomeHomeTemp.onClick(WelcomeHomeTemp.java:453)
	at android.view.View.performClick(View.java:5198)
	at android.view.View$PerformClick.run(View.java:21147)
	at android.os.Handler.handleCallback(Handler.java:739)
	at android.os.Handler.dispatchMessage(Handler.java:95)
	at android.os.Looper.loop(Looper.java:148)
	at android.app.ActivityThread.main(ActivityThread.java:5417)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
Caused by: android.view.InflateException: Binary XML file line #24: Error inflating class fragment
	at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:782)
	at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:704)
	at android.view.LayoutInflater.rInflate(LayoutInflater.java:835)
	at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:798)
	at android.view.LayoutInflater.rInflate(LayoutInflater.java:838)
	at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:798)
	at android.view.LayoutInflater.rInflate(LayoutInflater.java:838)
	at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:798)
	at android.view.LayoutInflater.inflate(LayoutInflater.java:515)
	... 15 more
Caused by: java.lang.IllegalArgumentException: Binary XML file line #24: Duplicate id 0x7f0e00db, tag null, or parent id 0xffffffff with another fragment for com.google.android.gms.location.places.ui.PlaceAutocompleteFragment
	at android.app.FragmentManagerImpl.onCreateView(FragmentManager.java:2205)
	at android.app.FragmentController.onCreateView(FragmentController.java:98)
	at android.app.Activity.onCreateView(Activity.java:5546)
	at android.support.v4.app.BaseFragmentActivityHoneycomb.onCreateView(BaseFragmentActivityHoneycomb.java:36)
	at android.support.v4.app.FragmentActivity.onCreateView(FragmentActivity.java:75)
	at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:754)
	... 23 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

11 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
30 times, 1 year ago