1

私は Android 2.1 (API-7) を搭載したデバイスを持っています。Bluetooth、WiFi をサポートしていますが、GSM と 3G はありません。

ゲームがあります。Google Play で、このゲームは私のデバイスではサポートされていないと表示されました。

しかし、Admob バナーのアクセス許可を追加する前は、ゲームは Google Play で表示されていました。ミステリー。

マニフェストで遊んだ。Bluetooth のアクセス許可を消去すると、ゲームが Google Play に表示されます。

マニフェストは以下のとおりです。

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="mypackage1..."
      android:versionCode="13"
      android:versionName="4.5">
<uses-sdk android:targetSdkVersion="13"  android:minSdkVersion="3"/>
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
<uses-permission android:name="android.permission.BLUETOOTH" />


<application android:label="@string/app_name" android:icon="@drawable/icon">
    <activity android:name=".MyActivity"
              android:label="@string/app_name" >
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>

    <activity android:name=".DeviceListActivity"
              android:label="@string/select_device"
              android:theme="@android:style/Theme.Dialog"
              android:configChanges="orientation|keyboardHidden" />
    <activity android:name=".MyActivity2"/>
    <activity android:name="com.google.ads.AdActivity"

  android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|
screenSize|smallestScreenSize"/>

    <service android:name=".BillingService" />
    <receiver android:name=".BillingReceiver">
        <intent-filter>
            <action android:name="com.android.vending.billing.IN_APP_NOTIFY" />
            <action android:name="com.android.vending.billing.RESPONSE_CODE" />
            <action android:name=
"com.android.vending.billing.PURCHASE_STATE_CHANGED"   />
        </intent-filter>
    </receiver>
</application>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="com.android.vending.BILLING" />
</manifest>

それで、私の最初のゲームの問題は何ですか?私の端末はタブレット「インチU7s」です。Google での私のゲーム APK の権限は次のとおりです。

    android.permission.BLUETOOTH_ADMIN, 
android.permission.BLUETOOTH, 
android.permission.ACCESS_NETWORK_STATE, 
android.permission.INTERNET, 
com.android.vending.BILLING, 
Functions: android.hardware.bluetooth, android.hardware.touchscreen
API: 4-17+
Screens: small-xlarge
OpenGL: all
Platforms: armeabi-v7a, armeabi

ありがとう。

4

1 に答える 1

1

多くの権限は、デフォルトでハードウェア要件を暗示しています。たとえば、カメラの許可を求める場合、アプリはデフォルトでカメラを必要とします。その機能を不要として明確に設定する必要があります。

APK は API 4 以降を対象としているため、Bluetooth は問題になりません。アプリ内課金が関係しているのかもしれません。

「aapt dump badging myapp.apk」を実行してみて、どの uses-feature 行がリストされているかを確認してください。

于 2012-11-13T14:40:57.560 に答える