Reputation: 21
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.teoit.securenotes"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="10"
android:targetSdkVersion="15"
android:maxSdkVersion="15" />
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name="com.teoit.securenotes.Smsm"
android:label="@string/app_name" >
<intent-filter>
<action android:name="com.teoit.securenotes.SMSM" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="com.teoit.securenotes.MainActivity"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
</application>
</manifest>
The Problem Here ..
<uses-sdk
android:minSdkVersion="10"
android:targetSdkVersion="15"
android:maxSdkVersion="15" />
Tip problem
Not targeting the latest versions of Android; compatibility modes apply. Consider testing and updating this version. Consult the android.os.Build.VERSION_CODES javadoc for details.
What is The Solution ?? :(
Upvotes: 2
Views: 13332
Reputation: 152777
It's an Android Lint warning that tells that you should consider updating targetSdkVersion
to the latest API level (19 as of now). It's because your target SDK level is lower than your build SDK (defined in project.properties on Eclipse/ADT-based tooling).
When you run an app with a given target SDK version on a device actually running a higher API level, the platform enables certain backward-compatibility features. Instead you should ensure that your app works correctly without these features. The comptatibility modes are listed in the javadoc.
Upvotes: 4