且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

IBM Worklight:UI 性能

更新时间:2022-04-23 06:09:56

此问题的快速修复:

在你的 AndroidManifest.xml

  1. 节点替换为以下内容:
    <supports-screens android:largeScreens="true" android:normalScreens="true" android:smallScreens="true" android:resizeable="true" android:anyDensity="true"/>

  1. Replace <supports-screens ...> node with the following:
    <supports-screens android:largeScreens="true" android:normalScreens="true" android:smallScreens="true" android:resizeable="true" android:anyDensity="true" />

替换 节点;直接移动到 节点之后.

Replace <uses-sdk ...> node with <uses-sdk android:minSdkVersion="9"android:targetSdkVersion="17" /> and move direct after <supports-screens> Node.

screenSize 添加到主 Activity 下的 android:configChange 属性.

Add screenSize to android:configChange attribute under main Activity.

针对大于 3.2 的 SDK 版本构建.(单击 Android 上的属性项目,然后点击 Android,看截图).

Build against SDK Version which greater than 3.2. (Click properties on your Android project and then click on Android, see screenshot).

再次尝试安装并运行您的 Android 应用程序.

Try to install and run your Android application again.