我正在尝试开发一个能适用于四个方向的项目。我在AndroidManifest.xml
中设置了android:screenOrientation="sensor"
,这可以工作,但只支持三种屏幕方向。因此,我将其设置为android:screenOrientation="fullSensor"
以支持四个方向。不幸的是,我遇到了以下错误:
error: Error: String types not allowed (at 'screenOrientation' with value
'fullSensor').
有谁知道如何使这个工作起来吗?