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 9223555
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T04:06:15+00:00 2026-06-18T04:06:15+00:00

Everytime I get confused with this and I do search and I think I

  • 0

Everytime I get confused with this and I do search and I “think” I understood it but I appear not too.

Can someone explain to me whats the difference between the API you are building against and Min SDK you specify in your manifest and the target SDK you specify.

For example:
I have an application that its minSDK is 8 and targetSDK is 15 and I build against SDK 12. What’s the difference? What devices does it run on? What do I gain from these differences!
Someone please explain!
Thank you

  • 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-18T04:06:16+00:00Added an answer on June 18, 2026 at 4:06 am

    What’s the difference?

    The difference is the result of subtracting two numbers. But that’s not important here. 🙂

    What devices does it run on?

    That depends on your code as much as anything else. However, it will not run on API Level 7 and below, as those fall below your minSdkVersion. Android devices (and markets) will not allow your app on API Level 7 and lower devices.

    What do I gain from these differences!

    By setting a build target of 12, you are saying to the compiler and build tools: “I want to use APIs newer than those from API Level 8, up through API Level 12, but I promise to do so in such a way as to avoid those newer APIs on the older devices”. The build tools, Lint in particular, will yell at you when you try using newer APIs without appropriate protection (e.g., checking android.os.Build.SDK_INT).

    By setting android:targetSdkVersion to 15, you are saying to the compiler and build tools: “When I wrote this code, I was thinking about API Level 15”. Devices newer than your target may elect to do things differently, to try to better emulate life back on API Level 15.

    The best example of the latter is AsyncTask. Traditionally, tasks could run in parallel. However, if you have android:targetSdkVersion set to 13 or higher, and you are running on an API Level 13 or higher device, then tasks will execute serially by default. If you run on an a device that is API Level 13 or higher, but your android:targetSdkVersion is 12 or lower, the device will fall back to the old behavior, to maintain compatibility.

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

Sidebar

Related Questions

I am trying to load a very basic XML document but everytime I get
I have 2D array but if I change x coordinate, everytime I get wrong
I just got my keydown method to work. But i get system beep everytime
I tried decoding this base64 string so many times but every time i get
Trying to insert 315K Gif files into an Oracle 10g database. Everytime I get
Hey, I'd like to get a shell script to run everytime I unlock my
Every time I search in visual studio using CTRL+F - it seems to get
Several random customers get this exception every time I update my Android app. I've
I'm a bit confused with the input's of Ruby. Whenever I try to get
So I have a problem that I can not figure out. I am writing

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.