Hi,
I am getting the following error in my Google Console :
com.unity3d.player.f.a
java.lang.Error
Here is the stacktrace :
Caused by: 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:4419)
at android.view.ViewGroup.addView (ViewGroup.java:4260)
at android.view.ViewGroup.addView (ViewGroup.java:4200)
at android.view.ViewGroup.addView (ViewGroup.java:4173)
at com.unity3d.player.f.a (f.java)
at com.unity3d.player.UnityPlayer$19.surfaceCreated (UnityPlayer.java)
at android.view.SurfaceView.updateWindow (SurfaceView.java:632)
at android.view.SurfaceView.onWindowVisibilityChanged (SurfaceView.java:251)
at android.view.View.dispatchWindowVisibilityChanged (View.java:10375)
at android.view.ViewGroup.dispatchWindowVisibilityChanged (ViewGroup.java:1290)
at android.view.ViewGroup.dispatchWindowVisibilityChanged (ViewGroup.java:1290)
at android.view.ViewGroup.dispatchWindowVisibilityChanged (ViewGroup.java:1290)
at android.view.ViewGroup.dispatchWindowVisibilityChanged (ViewGroup.java:1290)
at android.view.ViewRootImpl.performTraversals (ViewRootImpl.java:1588)
at android.view.ViewRootImpl.doTraversal (ViewRootImpl.java:1298)
at android.view.ViewRootImpl$TraversalRunnable.run (ViewRootImpl.java:6437)
at android.view.Choreographer$CallbackRecord.run (Choreographer.java:876)
at android.view.Choreographer.doCallbacks (Choreographer.java:688)
at android.view.Choreographer.doFrame (Choreographer.java:623)
at android.view.Choreographer$FrameDisplayEventReceiver.run (Choreographer.java:862)
at android.os.Handler.handleCallback (Handler.java:754)
at android.os.Handler.dispatchMessage (Handler.java:95)
at android.os.Looper.loop (Looper.java:163)
at android.app.ActivityThread.main (ActivityThread.java:6393)
at java.lang.reflect.Method.invoke (Method.java)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:933)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:823)
Can someone please help me figure out the problem.
Thanks!