首页 > 代码库 > Android - 错误: java.lang.IllegalStateException: Already attached

Android - 错误: java.lang.IllegalStateException: Already attached

错误: java.lang.IllegalStateException: Already attached


本文地址: http://blog.csdn.net/caroline_wendy


可能原因:
    @Override
    protected void onContinueCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
    }



onContinueCreate和重写onCreate方法不一致;

修改为:
    @Override
    protected void onContinueCreate(Bundle savedInstanceState) {
        super.onContinueCreate(savedInstanceState);
    }


保持一致即可.




Android - 错误: java.lang.IllegalStateException: Already attached