关于这个错误有很多问题,但是我已经应用了所有这些错误,而且没有帮助。
我的清单仅使用一个隐含功能的权限。 android.permission.CALL_PHONE。但是对于这个功能,我添加了
<uses-feature android:name="android.hardware.telephony" android:required="false" />
这仍然不起作用。该应用仍然无法用于平板电脑。有人知道为什么吗?
这是我的清单:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="az.test.testapp"
android:versionCode="3"
android:versionName="1.3" >
<uses-sdk
android:minSdkVersion="9"
android:targetSdkVersion="19" />
<supports-screens
android:largeScreens="true"
android:xlargeScreens="true" />
<uses-feature android:name="android.hardware.telephony" android:required="false" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.CALL_PHONE"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
<permission
android:name="az.test.testapp.permission.C2D_MESSAGE"
android:protectionLevel="signature" />
<uses-permission android:name="az.test.testapp.permission.C2D_MESSAGE" />
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@android:style/Theme.NoTitleBar" >
<activity
android:name=".MainActivity"
android:label="@string/app_name" >
</activity>
<activity
android:name="az.test.testapp.SplashScreen"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<meta-data
android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version" />
<activity
android:name="az.test.utils.DialogActivity"
android:label="@string/title_activity_dialog"
android:theme="@android:style/Theme.Dialog" >
</activity>
<activity
android:name=".catalog.CatalogActivity"
android:label="@string/title_activity_catalog" >
</activity>
<activity
android:name=".news.NewsActivity"
android:label="@string/button3_text" >
</activity>
<activity
android:name=".news.NewsDetailActivity"
android:label="@string/button3_text" >
</activity>
<activity
android:name=".Info"
android:label="@string/title_activity_info" >
</activity>
<activity
android:name=".catalog.ProductDetailActivity"
android:label="@string/title_activity_product_detail" >
</activity>
<activity
android:name=".catalog.NewOrderActivity"
android:label="@string/title_activity_new_order" >
</activity>
<activity
android:name=".catalog.OrderHystory"
android:label="@string/title_activity_order_hystory" >
</activity>
<activity
android:name="az.test.testapp.catalog.PaymentActivity"
android:label="@string/title_activity_payment" >
</activity>
<activity
android:name="az.test.testapp.catalog.CatalogFullscreenActivity"
android:label="@string/title_activity_catalog_fullscreen" >
</activity>
<receiver
android:name=".notification.GcmBroadcastReceiver"
android:permission="com.google.android.c2dm.permission.SEND" >
<intent-filter>
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
<category android:name="az.test.testapp" />
</intent-filter>
</receiver>
<service android:name=".notification.GcmMessageHandler" />
</application>