我在 PlayStore 上有一个 cordova 应用程序,但在优化提示中显示该应用程序不是为平板电脑设计的。我环顾四周并更改了 <supports-screens>
标记,但它仍然无法正常工作,我仍在获得优化提示。
这是 list 文件:
<?xml version="1.0" encoding="utf-8"?>
<manifest android:versionCode="11"
android:versionName="$BundleVersion$"
package="$AppIdentifier$"
android:windowSoftInputMode="adjustPan"
android:hardwareAccelerated="$AndroidHardwareAcceleration$"
xmlns:android="http://schemas.android.com/apk/res/android" >
<supports-screens
android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:xlargeScreens="true"
android:resizeable="true"
android:anyDensity="true"
/>
<application android:label="@string/app_name"
android:icon="@drawable/icon"
android:hardwareAccelerated="$AndroidHardwareAcceleration$">
<activity android:label="@string/app_name"
android:name=".TelerikCallbackActivity"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale"
android:launchMode="standard"
android:theme="@android:style/Theme.Black.NoTitleBar" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
<uses-sdk android:targetSdkVersion="14" />
</manifest>
这是配置文件:
<cordova>
<content src="index.html" />
<preference name="useBrowserHistory" value="true" />
<preference name="exit-on-suspend" value="false" />
<preference name="fullscreen" value="true" />
<preference name="permissions" value="none"/>
<plugins>
<plugin name="App" value="org.apache.cordova.App"/>
<plugin name="Device" value="org.apache.cordova.Device"/>
</plugins>
</cordova>
我需要做什么才能使该应用适用于平板电脑?
最佳答案
您需要的不是“基于代码的答案”。
Google Play 将审核您上传的信息,以判断应用是否也适用于平板电脑。
这应该包括以下内容。
(1) 带有平板启动画面的应用
(2) 带有平板电脑图标的应用
(3) 平板电脑屏幕配置。 (你已经根据你的问题设置了)
(4) 平板电脑信息。 (截图、宣传图等)
关于android - 使 Android 应用显示为专为平板电脑设计,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27346941/