【问题标题】:Not targeting the latest versions of Android 2.2 [duplicate]不针对最新版本的 Android 2.2 [重复]
【发布时间】:2013-01-12 02:17:16
【问题描述】:

可能重复:
Not targeting the latest versions of Android

尝试在最新的 Android SDK 包 4.2 上测试主题时出现警告。 这是我的清单文件:

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

<application
    android:allowBackup="true"
    android:icon="@drawable/ic_launcher"
    android:label="@string/app_name"
    android:theme="@style/AppTheme" >
    <activity
        android:name="com.thepikopaper.sdd.MainActivity"
        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=".PlayButton"
        android:label="@string/app_name" >  
            <action android:name="com.thepikopaper.sdd.PLAYBUTTON" />
            <category android:name="android.intent.category.DEFAULT" />
    </activity>

【问题讨论】:

    标签: android


    【解决方案1】:

    如果可以的话,您应该在可以找到的最新 android 版本(以及所有旧版本)上测试您的应用。并使用此版本作为 targetSdkVersion。 You can read here about it.

    如果一切正常,也可以忽略此消息。

    【讨论】:

      【解决方案2】:

      它可能是说您不使用最后一个 API(API 级别 17)。

      【讨论】:

        猜你喜欢
        • 2012-11-06
        • 2015-03-08
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2015-04-06
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多