java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first
<pre><code>Frame.gameController.test();
setContentView(Frame.world.getScreen());
Frame.world.setRunning(true);
</code></pre>

<p>its my android code, i am getting error in second line</p>

<p><strong>ERROR/AndroidRuntime(15229): Caused by: java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first.</strong></p>

<p>any help to solve it. Previously it was working just fine, the problem starts when i take it in another activity.</p>

<p>android 2.2 is platfrom </p>
