Friday, February 1, 2013

Not targeting the latest versions of Android?

Lint warning about target latest version of android:

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.

This is because the target version you used in manifest



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



API 14: Android 4.0 (IceCreamSandwich); 
API 15: Android 4.0.3 (IceCreamSandwich);  
API 16: Android 4.1 (Jelly Bean); 
API 17: Android 4.2 (Jelly Bean); 

.
.
.

Use the latest  android:targetSdkVersion="$$" to avoid this LINT mark.

2 comments:

  1. Finally, I found this solved... 2 hour i'm frustrating with this problem haha... thank you so much

    ReplyDelete
  2. at end what you have this ?? sorry for my bad english

    ReplyDelete