我的应用程序没有列出平板电脑 [英] My application is not listed for tablets
问题描述
我已经上传到PLAY.GOOGLE.COM新的应用程序:
I have uploaded to play.google.com a new application:
https://play.google.com/store/应用程序/详细信息?ID = development.nk.anguide
问题是,我不能安装在平板电脑这个应用程序。
在优化技巧有以下消息:
您的APK必须符合下列条件:
任何所需的硬件功能通常在平板电脑上使用。
The problem is that i can not install this application in a tablet. At optimization tips there is the following message: "Your APK needs to meet the following criteria: Any required hardware features are normally available on tablets."
这是我的清单文件:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="development.nk.anguide"
android:versionCode="2"
android:versionName="1.01" >
<supports-screens android:resizeable="true"
android:smallScreens="true"
android:normalScreens="true"
android:largeScreens="true"
android:xlargeScreens="true"
android:anyDensity="true" />
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="17" />
<permission
android:name="development.nk.anguide.permission.MAPS_RECEIVE"
android:protectionLevel="signature" />
<uses-feature
android:glEsVersion="0x00020000"
android:required="false" />
<uses-permission android:name="development.nk.anguide.permission.MAPS_RECEIVE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<!-- ΝΟΜΙΖΩ ΔΕΝ ΧΡΕΙΑΖΟΝΤΑΙ ΤΑ 2 ΠΑΡΑΚΑΤΩ... -->
<uses-permission android:name="android.permission.CALL_PHONE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<application
android:allowBackup="true"
android:icon="@drawable/icon_144_144"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name="development.nk.anguide.xxxxxxxx"
android:label="@string/app_name"
android:screenOrientation="portrait" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".DetailForm"></activity>
<activity android:name=".MapActivity"></activity>
<activity android:name=".MapAllActivity"></activity>
<activity android:name=".EditPreferences"></activity>
<activity android:name=".Categories"></activity>
<activity android:name=".SubCategory"></activity>
<activity android:name=".CategoriesExpandableList"></activity>
<meta-data
android:name="com.google.android.maps.v2.API_KEY"
android:value=".......my API key .............." />
</application>
在很奇怪的觉得,我可以通过USB数据线在我的平板电脑上安装我的应用程序,并从日食normaly运行...
The quite odd think is that i can install my app in my tablet through usb cable and run it normaly from eclipse...
所以,我应该怎么改才能从平板电脑下载?
So what should i change to be able for downloading from tablets?
感谢您提前阅读我的问题。
Thank you in advance for reading my problem..
推荐答案
我认为这个问题是在这里:
I think the problem is here:
<!-- ΝΟΜΙΖΩ ΔΕΝ ΧΡΕΙΑΖΟΝΤΑΙ ΤΑ 2 ΠΑΡΑΚΑΤΩ... -->
<uses-permission android:name="android.permission.CALL_PHONE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
试试这个:
<uses-feature android:name="android.hardware.telephony" android:required="false" />
这个问题已经被问,请参见这个帖子获取更多信息。此外,如果你的目标的平板电脑和手机,你不需要写在你的code,恕我直言:
This question was already asked, see this post for more info. Also if you are targeting tablet and phones, you don't need to write this on your code, IMHO:
<supports-screens android:resizeable="true"
android:smallScreens="true"
android:normalScreens="true"
android:largeScreens="true"
android:xlargeScreens="true"
android:anyDensity="true" />
我不想我的应用程序使用。
I don't use this on my applications.
这篇关于我的应用程序没有列出平板电脑的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!