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

  • Home
  • SEARCH
  • 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 8730367
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T09:00:27+00:00 2026-06-13T09:00:27+00:00

I am creating a project in android using eclipse. Now my problem is when

  • 0

I am creating a project in android using eclipse.

Now my problem is when i create a android application project, I set Build Sdk version to 4.1 (API 16). But when i saw in manifest file the android:targetSdkVersion="15" . Can anyone explain me why this is happening ? see the below screenshots.

enter image description here

enter image description here

Thanks in advance

  • 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-13T09:00:28+00:00Added an answer on June 13, 2026 at 9:00 am

    Updated Answer:

    Here it goes,

    Solution is,

    goto:

    Your
    Directory\android-sdk-windows\tools\templates\projects\NewAndroidApplication\root

    Open :

    AndroidManifest.xml.ftl File

    Change :

    default :

    <uses-sdk android:minSdkVersion="${minApi}"
     android:targetSdkVersion="${targetApi}" />
    

    Modified :

    <uses-sdk android:minSdkVersion="${minApi}"
     android:targetSdkVersion="${buildApi}" />
    

    So the Problem goes here:

    In the ftl file the attribute name ${targetApi} has been set, but we are selecting the buildApi value in the project creation window.

    ${targetApi} or ${buildApi} default value is the higher version , that means in your SDK tool it is API 15. So it is always 15 in the Manifest.

    If you tried to create a new project with target API less than 10 or more than 15 anything , in the manifest it will be denoted as 15 only always.

    Try this:

    Create a project with API target 8 and see , manifest target will be 15 only. (Before modify the ftl file).
    But project.properties has been updated properly.

    So if you change ${targetApi} to ${buildApi} in the Manifest.xml.ftl, the problem solved.

    It is a possible error in SDK tools revision 20, Even i updated the SDK tools itsn’t resolved in the recent revision also.

    Hope this one might be helpful for somebody, those who facing the same.

    Older Answer:

    It is showing for me too. But in my case, I selected API 14 and it is showing android:targetSdkVersion="15" in the manifest.

    I guess some reason should be there… 4.0 or 4.2 , it is assigning 4.1 in the manifest… Or may be a bug with Eclipse IDE. Why cant you update the newer version of Eclipse IDE and try it out. This might be a IDE Problem only.

    Can you see that Right click- Properties – Android , Checked one is same what you selected in the beginning.

    And also project.properties has the same version what you selected in the beginning.

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

Sidebar

Related Questions

When I create a new Android Sample Project from eclipse with api level 14,
We are creating same project in android and iphone. Now problem is that we
I cannot create a new Android project using eclipse as the options available for
I use eclipse sometimes to build my android project(Using ADT 19). If i have
I am creating one sample project in android. i am using sample rss feed.
I am using Ant > 1.8 + Proguard 4.6 to build my Android project
I'm using the Android NDK r7 with eclipse Indigo on Ubuntu. I set up
How can I create an Android library project in NetBeans IDE? The build target
I am creating a fresh Mono for android application using http://xamarin.com/monoforandroid I selected Mono
Using 3.6.2. When I choose to create a new Android Project, I enter a

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.