Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/233.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android error=ViewRootImpl:sendUserActionEvent()mView==null_Android_Android Fragments - Fatal编程技术网

Android error=ViewRootImpl:sendUserActionEvent()mView==null

Android error=ViewRootImpl:sendUserActionEvent()mView==null,android,android-fragments,Android,Android Fragments,我在fragment=ViewRootImpl:sendUserActionEvent()mView==null中遇到了一个微调器错误,有人知道如何修复它吗,提前谢谢! 当片段从其活动中分离时,就会发生这种情况。有时会因为屏幕旋转而发生这种情况。我在三星Galaxy S4上也面临同样的问题,当我打开相机时,由于屏幕方向改变,我的活动重新启动。我通过在清单文件的“活动”中添加以下行修复了问题: android:configChanges="orientation|screenSize"

我在fragment=ViewRootImpl:sendUserActionEvent()mView==null中遇到了一个微调器错误,有人知道如何修复它吗,提前谢谢!

当片段从其活动中分离时,就会发生这种情况。有时会因为屏幕旋转而发生这种情况。我在三星Galaxy S4上也面临同样的问题,当我打开相机时,由于屏幕方向改变,我的活动重新启动。我通过在清单文件的“活动”中添加以下行修复了问题:

android:configChanges="orientation|screenSize"