2012-01-12 102 views
1

我收到「此應用程序與您的所有設備不兼容」。當我嘗試安裝剛剛在市場上發佈的應用程序時發生錯誤。我用Google搜索,但沒有找到一個解決問題的辦法..此應用程序與您的所有設備不兼容

aapt dump badging ~/myapk.apk 

(我改變了工作區和APK和應用程序的名稱。其餘的是爲..)

package: name='com.example.test' versionCode='6' versionName='0.1.0.5' 
sdkVersion:'8' 
uses-permission:'com.example.test.permission.C2D_MESSAGE' 
uses-permission:'com.google.android.c2dm.permission.RECEIVE' 
uses-permission:'android.permission.WAKE_LOCK' 
uses-permission:'android.permission.READ_SMS' 
uses-permission:'android.permission.READ_PHONE_STATE' 
uses-permission:'android.permission.INTERNET' 
uses-permission:'android.permission.READ_CONTACTS' 
uses-permission:'android.permission.RECEIVE_SMS' 
uses-permission:'android.permission.SEND_SMS' 
uses-permission:'android.permission.WRITE_SMS' 
uses-permission:'android.permission.GET_ACCOUNTS' 
uses-permission:'android.permission.USE_CREDENTIALS' 
uses-permission:'android.permission.AUTHENTICATE_ACCOUNTS' 
application-label:'MyApp' 
application-label-de:'MyApp' 
application-label-fr:'MyApp' 
application-label-tr:'MyApp' 
application-icon-120:'res/drawable-ldpi/icon.png' 
application-icon-160:'res/drawable-mdpi/icon.png' 
application-icon-240:'res/drawable-hdpi/icon.png' 
application: label='MyApp' icon='res/drawable-mdpi/icon.png' 
launchable-activity: name='com.example.test.WebSMSActivity' label='MyApp' icon='' 
uses-feature:'android.hardware.telephony' 
uses-feature:'android.hardware.touchscreen' 
main 
other-activities 
other-receivers 
other-services 
supports-screens: 'small' 'normal' 'large' 
supports-any-density: 'true' 
locales: '--_--' 'de' 'fr' 'tr' 
densities: '120' '160' '240' 

這裏是我的清單,文件:

<permission 
    android:name="com.example.test.permission.C2D_MESSAGE" 
    android:protectionLevel="signature" /> 

<uses-sdk android:minSdkVersion="8" /> 
<supports-screens 
    android:smallScreens="true" 
    android:normalScreens="true" 
    android:largeScreens="true" 
    android:anyDensity="true" 
    android:resizeable="true"/> 
<uses-permission android:name="com.example.test.permission.C2D_MESSAGE" /> 
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" /> 
<uses-permission android:name="android.permission.WAKE_LOCK" /> 
<uses-permission android:name="android.permission.READ_SMS" /> 
<uses-permission android:name="android.permission.READ_PHONE_STATE" /> 
<uses-permission android:name="android.permission.INTERNET" /> 
<uses-permission android:name="android.permission.READ_CONTACTS" /> 
<uses-permission android:name="android.permission.RECEIVE_SMS" /> 
<uses-permission android:name="android.permission.SEND_SMS" /> 
<uses-permission android:name="android.permission.WRITE_SMS" /> 
<uses-permission android:name="android.permission.GET_ACCOUNTS" /> 
<uses-permission android:name="android.permission.USE_CREDENTIALS" /> 
<uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" /> 

<application 
    android:icon="@drawable/icon" 
    android:label="@string/app_name" 
    android:name="com.example.test.WebSMSApplication" 
    android:theme="@style/Theme.GDActionBarWebSMS" > 
    <activity 
     android:label="@string/app_name" 
     android:name="WebSMSActivity" > 
     <intent-filter > 
      <action android:name="android.intent.action.MAIN" /> 

      <category android:name="android.intent.category.LAUNCHER" /> 
     </intent-filter> 
    </activity> 
    <activity android:name="PrefsActivity" > 
     <intent-filter > 
      <action android:name="android.intent.action.VIEW" /> 
      <action android:name="android.intent.action.EDIT" /> 

      <category android:name="android.intent.category.DEFAULT" /> 
     </intent-filter> 
    </activity> 
    <activity android:name="InfoTabActivity" /> 
    <activity android:name="WebContentActivity" /> 
    <activity android:name="AboutActivity" /> 
    <activity android:name="com.example.test.ManualPagedViewActivity" /> 

    <receiver android:name=".SmsReceiver" > 
     <intent-filter > 
      <action android:name="android.provider.Telephony.SMS_RECEIVED" /> 
     </intent-filter> 
    </receiver> 

    <service android:name=".C2DMReceiver" /> 
    <service android:name="com.example.test.SMSSyncService" /> 

    <receiver 
     android:name="com.google.android.c2dm.C2DMBroadcastReceiver" 
     android:permission="com.google.android.c2dm.permission.SEND" > 
     <intent-filter > 
      <action android:name="com.google.android.c2dm.intent.RECEIVE" /> 

      <category android:name="com.example.test" /> 
     </intent-filter> 
     <intent-filter > 
      <action android:name="com.google.android.c2dm.intent.REGISTRATION" /> 

      <category android:name="com.example.test" /> 
     </intent-filter> 
    </receiver> 
</application> 

</manifest> 

是否有人看到,如果我有一個錯誤的地方?除此以外。有沒有辦法「調試」爲什麼我的特定設備無法安裝它? (我的意思是它是我開發該應用程序的相同設備!但我在將它從市場上安裝之前卸載了它。)

+0

我注意到你有'minSdkVersion =「8」'......你運行的是哪個版本的Android? – Dallas 2012-01-12 16:02:25

+1

如果設備上尚未存在權限com.example.test.permission.C2D_MESSAGE,它可能無法正常工作。只是一個猜測。 – Kekoa 2012-01-12 16:17:18

+0

[應用程序與發佈到市場後與所有設備不兼容]的可能重複(http://stackoverflow.com/questions/8549452/app-is-incompatible-with-all-devices-after-publishing-to-the-市場) – 2012-01-12 16:41:07

回答

0

如果您的應用程序是付費應用程序,您可能會在此處找到答案:

https://stackoverflow.com/questions/27646997/our-andoid-app-registered-on-play-store-says-this-app-is-incompatible-with-all/48249445#48249445 
相關問題