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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T06:43:58+00:00 2026-06-17T06:43:58+00:00

I changed the build target from 7 to 16, with the only reason that

  • 0

I changed the build target from 7 to 16, with the only reason that I want to compile with the newest SDK. I still want to target versions starting at 7.

My project compiles and ran without problems on 2 devices. But I’m not sure if this is safe. I don’t want to realease and that it crashes on some devices, because some things I’m not aware of.

Does it anyways make sense to upgrade the build target, without any specific reason?

Edit: Just to make it clear – I’m not doing it to target newer versions or support new features (I’m already using the compatibility library). It’s just, because, maybe with newer build targets the internals have been improved – like performance, etc.?

  • 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-17T06:43:59+00:00Added an answer on June 17, 2026 at 6:43 am

    If you do not use any functionality of the new SDK version(s) it does not make sense to update this requirement ‘just for upgrading it’.
    When running your application on a device, it will use that version, so it already makes use of the newest internals.

    The android library is backwards compatible (meaning it is compatible with older version). The support library provides forward compatibility (meaning it adds functionality to match the newest android library version), the support library is provided with the application (in the APK), so it is available when required. The application first tries to use the android library (so it always uses the newest internals for that device) and if functionality is not present, it tries the support library.


    If you require some new functionality then you should upgrade to that SDK version. And (eventually) add code to check the running version and provide an alternative for devices with a lower SDK version.

    To find out the SDK version at run-time, for providing alternatives, use android.os.Build.VERSION.

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

Sidebar

Related Questions

I have an existing project that I want to build in the IntelliJ Community
I want to change the build system path for building my VC++ project in
We are using Maven to compile our project on a build server. We update
I want to adjust the output from my TeamCity build configuration of my class
This is a very frustrating issue. The DemoApp project from the iOS SDK from
Is it possible to tell make to only build a target if it's sources
I want to deploy my src/main/webapp folder from Maven project as an application in
In project file I import my own target file <Import Project=Build\CopyDependencies.target /> and later
I have an applications that I've built to target SDK 3.0. In this application
I have an app that I want to be able to build two different

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.