3

我开发了一个应用程序,它在 2 天前在 android 市场上发布,但它仍然没有显示 android 2.2 设备标记和 android 4.0.4 设备市场我不知道为什么这会发生在我身上,我以前的应用程序都出现在所有手机上,只有这个应用程序未显示在 android 2.2、4.0.4 设备市场中

我的 manifest.xml 文件:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.android.project"
    android:versionCode="3"
    android:versionName="1.0" >

       <uses-sdk android:minSdkVersion="7"  android:targetSdkVersion="16"/>


    <supports-screens
            android:largeScreens="true" 
            android:normalScreens="true" 
            android:smallScreens="true" 
            android:anyDensity="true" />


    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"></uses-permission>
    <uses-permission android:name="android.permission.UPDATE_DEVICE_STATS"></uses-permission>
    <uses-permission android:name="android.permission.CHANGE_WIFI_STATE"></uses-permission>
    <uses-permission android:name="android.permission.WAKE_LOCK"></uses-permission>

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

   <uses-permission android:name="android.permission.GET_TASKS" />
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.WRITE_INTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.WRITE_SETTINGS" />
    <uses-permission android:name="android.permission.GET_ACCOUNTS" />
    <uses-permission android:name="android.permission.READ_PHONE_STATE" />    
    <uses-permission android:name="android.permission.WAKE_LOCK" />

   <uses-permission android:name="android.permission.KILL_BACKGROUND_PROCESSES" />
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
    <uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS" />    
    <uses-permission android:name="android.permission.INTERNET" />   
    <uses-permission android:name="android.permission.READ_PHONE_STATE" />
    <uses-permission android:name="android.permission.VIBRATE" />
    <uses-permission android:name="android.permission.WAKE_LOCK" />   
    <uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT" />
    <uses-permission android:name="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS"/>    
    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />

    <application
        android:icon="@drawable/dog"
        android:label="@string/app_name" >

        <activity
            android:name=".firstactivty"
            android:label="@string/app_name"
             android:screenOrientation="portrait"
            android:configChanges="orientation|keyboardHidden" 
            android:theme="@android:style/Theme.Black.NoTitleBar">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
             <intent-filter>
                <action android:name="android.intent.action.CHOOSER" />
                <category android:name="android.intent.category.DEFAULT" />
                <data android:mimeType="image/*" />
            </intent-filter>
            <intent-filter>
                <action android:name="android.intent.action.SEND" />
                <category android:name="android.intent.category.DEFAULT" />
                <data android:mimeType="image/*" />
            </intent-filter>
            <intent-filter>
                <action android:name="android.intent.action.VIEW" />
                <category android:name="android.intent.category.DEFAULT" />
                <data android:mimeType="image/*" />
            </intent-filter>
        </activity>


         <activity
            android:name=".second activity"
            android:label="@string/app_name" 
            android:screenOrientation="portrait"
            android:configChanges="orientation|keyboardHidden" 
            android:theme="@android:style/Theme.Black.NoTitleBar"></activity>

    </application>

4

1 回答 1

2

你应该改变你的 targetSdkVersion,16 是 4.1,因为你的 minSdkVersion 是 7,你应该可以减少它,但可能不会显示 Holo 主题。更多信息在这里:http: //developer.android.com/guide/topics/manifest/uses-sdk-element.html

于 2012-10-17T06:24:43.503 回答