java.lang.RuntimeException: Unable to start activity ComponentInfo{com.myappname/org.appcelerator.titanium.TiActivity}: java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by DFoxinator
, 1 year ago
Unable to start activity ComponentInfo{com.myappname/org.appcelerator.titanium.TiActivity}: java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first.
via GitHub by ameshkov
, 1 year ago
Unable to start activity ComponentInfo{com.adguard.android.contentblocker/com.adguard.android.contentblocker.MainActivity}: java.lang.IllegalStateException: This Activity already has an action bar supplied by the window decor. Do not request Window.FEATURE_SUPPORT_ACTION_BAR and set windowActionBar to false in your theme to use a Toolbar instead.
via Stack Overflow by choi
, 1 year ago
Unable to start activity ComponentInfo{com.example.aadesh.saptrishi/com.example.aadesh.saptrishi.Payment}: java.lang.IllegalStateException: This Activity already has an action bar supplied by the window decor. Do not request Window.FEATURE_SUPPORT_ACTION_BAR and set windowActionBar to false in your theme to use a Toolbar instead.
via forundex.ru by Unknown author, 1 year ago
Unable to start activity ComponentInfo{com.ssnake.highday/com.ssnake.highday.MainActivity}: java.lang.IllegalStateException: This Activity already has an action bar supplied by the window decor. Do not request Window.FEATURE_SUPPORT_ACTION_BAR and set windowActionBar to false in your theme to use a Toolbar instead.
via GitHub by ameshkov
, 1 year ago
Unable to start activity ComponentInfo{com.adguard.android.contentblocker/com.adguard.android.contentblocker.MainActivity}: java.lang.IllegalStateException: This Activity already has an action bar supplied by the window decor. Do not request Window.FEATURE_SUPPORT_ACTION_BAR and set windowActionBar to false in your theme to use a Toolbar instead.
via forundex.ru by Unknown author, 1 year ago
Unable to start activity ComponentInfo{com.ssnake.highday/com.ssnake.highday.MainActivity}: java.lang.IllegalStateException: This Activity already has an action bar supplied by the window decor. Do not request Window.FEATURE_SUPPORT_ACTION_BAR and set windowActionBar to false in your theme to use a Toolbar instead.
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.myappname/org.appcelerator.titanium.TiActivity}: java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first.
at android.view.ViewGroup.addViewInner(ViewGroup.java:3770)
at android.view.ViewGroup.addView(ViewGroup.java:3623)
at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
at android.view.ViewGroup.addView(Native Method)
at android.view.ViewGroup.addView(ViewGroup.java:3568)
at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
at android.view.ViewGroup.addView(Native Method)
at android.view.ViewGroup.addView(ViewGroup.java:3544)
at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
at com.rkam.swiperefreshlayout.SwipeRefresh.processProperties(SwipeRefresh.java:67)
at org.appcelerator.kroll.KrollProxy.setModelListener(KrollProxy.java:1219)
at org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:509)
at org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:500)
at org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:478)
at org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:516)
at org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:500)
at org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:478)
at org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:516)
at org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:500)
at org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:478)
at org.appcelerator.titanium.proxy.TiViewProxy.handleAdd(TiViewProxy.java:679)
at org.appcelerator.titanium.proxy.TiViewProxy.add(TiViewProxy.java:573)
at ti.modules.titanium.ui.WindowProxy.windowCreated(WindowProxy.java:258)
at org.appcelerator.titanium.TiActivityWindows.windowCreated(TiActivityWindows.java:33)
at org.appcelerator.titanium.TiBaseActivity.windowCreated(TiBaseActivity.java:524)
at org.appcelerator.titanium.TiBaseActivity.onCreate(TiBaseActivity.java:638)
at org.appcelerator.titanium.TiActivity.onCreate(TiActivity.java:18)
at android.app.Activity.performCreate(Activity.java:5451)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1093)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2377)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2471)
at android.app.ActivityThread.access$900(ActivityThread.java:175)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1308)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:146)
at android.app.ActivityThread.main(ActivityThread.java:5602)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
3 times, 1 year ago
2 times, 10 months ago
6 times, 11 months ago
5 times, 1 year ago
18 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.