Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8897221
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T00:17:00+00:00 2026-06-15T00:17:00+00:00

I have a warning when trying to test theme on latest Android SDK Package

  • 0

I have a warning when trying to test theme on latest Android SDK Package 4.2.

Here is my manifest file:

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

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

    <application
        android:allowBackup="true"
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/AppBaseTheme" >
        <activity
            android:name="com.example.themetest.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>
    </application>

</manifest>

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. AndroidManifest.xml /ThemeTest line 7 Android Lint Problem

I am using a custom theme called ‘AppBaseTheme’. My question is what exactly Consult the android.os.Build.VERSION_CODES javadoc.. How could I solve this problem?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T00:17:01+00:00Added an answer on June 15, 2026 at 12:17 am

    It says this because of targetSdkVersion="16". API 16 is Jellybean 4.1 and 4.1.1, while Jellybean 4.2 is API 17.

    Try using:

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

    Also, keep in mind that this is a Lint warning. These warning exist to help you better your code and make it easy to maintain, while being compatible with the latest Android changes. Ignoring this will not cause you any immediate problems.

    EDIT: With Android 4.3, the latest SDK version is now 18, so you should use:

    ...
            android:targetSdkVersion="18" />
    

    EDIT 2: With Android 4.4, the latest SDK version is now 19, so you should use:

    ...
            android:targetSdkVersion="19" />
    

    EDIT 3: With Android L, you must use the following values, as described here:

    compileSdkVersion="android-L"
    minSdkVersion="L"
    targetSdkVersion="L"
    

    EDIT 4: With Android L’s public release, you must use 21 instead:

    ...
            android:targetSdkVersion="21" />
    

    20 was used for 4.4W, or for Android Wear.

    EDIT 5: With Android M’s public release, you must use 23 instead:

    ...
            android:targetSdkVersion="23" />
    

    In the future please consult the official Android documentation to keep yourself up-to-date with the latest Android API Levels.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a invalid XML like this Warning: count() [function.count]: Node no longer exists
I am trying to create a file with PHP here is my code: $file_to_send
I am trying to send data from an Android app to a PHP file
Again and again I have the case that during development, the Android SDK suddenly
I have a warning MyAnnotation does not implement the MKAnnotation protocol everytime I use
I have this warning every time I run my CGI-script (output is rendered by
I have a warning in my code that I can't figure out how to
I have the following warning in my code (XCode 4.3 / iOS 4/5) -
Warning: I have very little JavsScript experience. In my past programming experience, I usually
I have a bit of sample code that is throwing this warning: main.c: In

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.