Android 安卓上的钛移动定位

Android 安卓上的钛移动定位,android,titanium,Android,Titanium,如何在使用Tianium Studio的Android设备上将屏幕方向设置为仅纵向?厨房水槽中有一个示例项目;电话->方向->“仅允许横向”这适用于SDK 1.8.2: 在项目目录中创建目录platform/android/。在build/android/中找到AndroidManifest.xml,将其复制并保存在platform/android/中 编辑platform/android/AndroidManifest.xml并替换“android:configChanges”属性的所有值 致

如何在使用Tianium Studio的Android设备上将屏幕方向设置为仅纵向?

厨房水槽中有一个示例项目;电话->方向->“仅允许横向”

这适用于SDK 1.8.2:

在项目目录中创建目录
platform/android/
。在build/android/中找到AndroidManifest.xml,将其复制并保存在
platform/android/

编辑platform/android/AndroidManifest.xml并替换“android:configChanges”属性的所有值 致:

并在所有“活动”标签中添加“android:screenOrientation”属性

android:screenOrientation="portrait"
我已经看到了,而且它对我没有帮助。我已经尝试过这些方法,但是没有成功,直到我回滚到SDK 1.6.1而不是SDK 1.7.1
android:screenOrientation="portrait"