我的应用程序从商店可见的acer平板电脑是android 3.2.1但它不可见的samsung tab p3100是4.1。我该怎么办?
<uses-sdk
android:minSdkVersion="7"
android:targetSdkVersion="11" />
<supports-screens
android:anyDensity="true"
android:largeScreens="true"
android:normalScreens="true"
android:resizeable="true"
android:smallScreens="true"
android:xlargeScreens="true" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.INTERNET" />
<!-- This permission will allow us request the connection changes. -->
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<!-- This is required to start our service from BootCompletedIntentReceiver. -->
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.CAMERA" />
答案 0 :(得分:0)
因为android:targetSdkVersion="11"
。它应该是android:targetSdkVersion =“16”。
权限android.permission.CAMERA
表示要求功能android.hardware.camera
和 android.hardware.camera.autofocus
。三星Galaxy Tab 2( p3100 )没有自动对焦功能。可能是原因。
Permissions that Imply Feature Requirements.
所以你可以尝试将以下行添加到清单
中<uses-feature android:name="android.hardware.camera" android:required="false" />