2013-09-26 40 views
1

我已經使用appcompat庫更新了我的應用,現在很多設備與我的應用不兼容。我沒有改變清單中的任何內容。appcompat更新後在Play商店中破壞了Android應用兼容性

這裏我有什麼在清單:

<uses-sdk 
     android:minSdkVersion="7" 
     android:targetSdkVersion="10"/> 
<uses-permission android:name="android.permission.INTERNET"/> 
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/> 
<uses-permission android:name="android.permission.CALL_PHONE"/> 
<uses-permission android:name="android.permission.CAMERA"/> 
<uses-permission android:name="android.permission.READ_CONTACTS"/> 
<uses-permission android:name="android.permission.WRITE_CONTACTS"/> 
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> 
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> 
<uses-permission android:name="android.permission.SEND_SMS"/> 

<uses-feature android:name="android.hardware.camera"/> 
<uses-feature android:name="android.hardware.camera.autofocus"/> 

以下是開發商控制檯對我說:

Previously active APKs supported more devices than those in the draft configuration.  
Some devices will not receive upgrades. 
Devices currently running version 15 are no longer supported by the current configuration. Such devices will not receive upgrades. 
API levels in range 10+ and 
Screen layouts containing any of [small, normal, large, xlarge] and 
Features containing all of [android.hardware.CAMERA, android.hardware.LOCATION, android.hardware.TELEPHONY, android.hardware.TOUCHSCREEN, android.hardware.location.GPS, android.hardware.screen.PORTRAIT] but excluding any of [android.hardware.camera.AUTOFOCUS] 

Devices currently running version 14 are no longer supported by the current configuration. Such devices will not receive upgrades. 
API levels in range 10+ and 
Screen layouts containing any of [small, normal, large, xlarge] and 
Features containing all of [android.hardware.TOUCHSCREEN, android.hardware.screen.PORTRAIT] but excluding any of [android.hardware.CAMERA, android.hardware.LOCATION, android.hardware.TELEPHONY, android.hardware.location.GPS] 

有人能解釋一下控制檯談論並建議扯上返回兼容性?

+1

您應該使用最新版本(18)作爲'targetSDKVersion'。 – Luksprog

+0

完成。相同的結果。我還添加了\t <支持屏 機器人:smallScreens = 「真」 機器人:normalScreens = 「真」 機器人:largeScreens = 「真」 機器人:xlargeScreens = 「假」 機器人:anyDensity =「真「/> 應用仍然不兼容。 – trickster77777

回答

1

所以,從谷歌的支持反饋:

在這種情況下,你的應用程序不兼容由於與 以下權限/功能衝突:android.hardware.camera.autofocus。對於 更多信息...

我真的很感激他們的幫助,這是速度不夠快

但是!這條線是最近2年的時間。在我使用appcompat更新項目之後,google決定限制它。該應用程序絕對不關心自動對焦。而且我不知道是誰在我之前寫了這行。

我已閱讀所有類似的問題,並嘗試幾乎所有,但在我的情況下,我認爲只有支持可以幫助我。

相關問題