美文网首页
Expecting 'android:screenOrienta

Expecting 'android:screenOrienta

作者: GiottoYLY | 来源:发表于2020-03-13 23:36 被阅读0次

Expecting 'android:screenOrientation="unspecified"' or '"fullSensor"' for this activity so the user can use the application in any orientation and provide a great experience on Chrome OS devices.

此活动需要'android:screenOrientation =“ unspecified”'或'“ fullSensor”',以便用户可以在任何方向使用该应用程序,并在Chrome OS设备上提供出色的体验

我应该将其转换为“ fullSensor”吗?我如何摆脱这个问题?

这是一种警告,告知开发人员对于大屏幕设备,限制方向是不好的。但是,如果您的应用程序仅支持纵向模式,则可以通过执行以下操作禁用此警告。Mac:Android Studio->“偏好设置”->搜索Chrome(我已经附上了相同的屏幕截图)->取消选中“活动已锁定到某个方向”->应用并确定。

1、android studio 升级了3.6.1之后,发现各方面的体验都要好,速度很快。

2、但出现了一些小问题,比如android:screenOrientation="unspecified"' or '"fullSensor"

如果只支持纵向的话,那么这样一设,会出现问题。

3、解决:

参考:

https://blog.csdn.net/mp624183768/article/details/104548332/

https://www.cnblogs.com/jiduoduo/p/12400556.html

相关文章

网友评论

      本文标题:Expecting 'android:screenOrienta

      本文链接:https://www.haomeiwen.com/subject/rgpushtx.html