• Login
en
afsqam ar hy az eu be bn bs bg ca ceb ny zh-CN zh-TWco hr cs da nl en eo et tl fi fr fy gl ka de el gu ht ha haw iw hi hmn hu is ig id ga it ja jw kn kk km ko ku ky lo la lv lt lb mk mg ms ml mt mi mr mn my ne no ps fa pl pt pa ro ru sm gd sr st sn sd si sk sl so es su sw sv tg ta te th tr uk ur uz vi cy xh yi yo zu
Victor Mochere
No Result
View All Result
  • Business
  • Finance
  • Education
  • Travel
  • Technology
  • Living
  • Entertainment
  • Governance
  • Sports
en
afsqam ar hy az eu be bn bs bg ca ceb ny zh-CN zh-TWco hr cs da nl en eo et tl fi fr fy gl ka de el gu ht ha haw iw hi hmn hu is ig id ga it ja jw kn kk km ko ku ky lo la lv lt lb mk mg ms ml mt mi mr mn my ne no ps fa pl pt pa ro ru sm gd sr st sn sd si sk sl so es su sw sv tg ta te th tr uk ur uz vi cy xh yi yo zu
Victor Mochere
No Result
View All Result
en
afsqam ar hy az eu be bn bs bg ca ceb ny zh-CN zh-TWco hr cs da nl en eo et tl fi fr fy gl ka de el gu ht ha haw iw hi hmn hu is ig id ga it ja jw kn kk km ko ku ky lo la lv lt lb mk mg ms ml mt mi mr mn my ne no ps fa pl pt pa ro ru sm gd sr st sn sd si sk sl so es su sw sv tg ta te th tr uk ur uz vi cy xh yi yo zu
Victor Mochere
No Result
View All Result
Home Passé

How to change Android app API level

Victor Mochere by Victor Mochere
in Passé, Technology
Reading Time: 4 mins read
A A
0
How to change Android app API level

API level is an integer value that uniquely identifies the framework API revision offered by a version of the Android platform. The Android platform provides a framework API that applications can use to interact with the underlying Android system. The framework API consists of:

  • A core set of packages and classes.
  • A set of XML elements and attributes for declaring a manifest file.
  • A set of XML elements and attributes for declaring and accessing resources.
  • A set of Intents.
  • A set of permissions that applications can request, as well as permission enforcements included in the system.

Uses of API level in Android

The API level identifier serves a key role in ensuring the best possible experience for users and application developers:

  • It lets the Android platform describe the maximum framework API revision that it supports.
  • It lets applications describe the framework API revision that they require.
  • It lets the system negotiate the installation of applications on the user’s device, such that version-incompatible applications are not installed.

Each Android platform version stores its API level identifier internally, in the Android system itself.

What is SdkVersion?

Applications can use a manifest element provided by the framework API – to describe the minimum and maximum API levels under which they are able to run, as well as the preferred API level that they are designed to support. The element offers three key attributes:

RelatedPosts

How to build a hospital management software system

How hospital management systems improve efficiency in healthcare delivery

How to remove watermarks from ChatGPT text

Things to know about Starlink satellite internet

  • minSdkVersion: Specifies the minimum API level on which the application is able to run. The default value is “1”.
  • targetSdkVersion: Specifies the API level on which the application is designed to run. In some cases, this allows the application to use manifest elements or behaviors defined in the target API level, rather than being restricted to using only those defined for the minimum API level.
  • maxSdkVersion: Specifies the maximum API level on which the application is able to run.

When the user attempts to install an application, or when revalidating an application after a system update, the Android system first checks the attributes in the application’s manifest and compares the values against its own internal API level. The system allows the installation to begin only if these conditions are met:

  • If android:minSdkVersion attribute is declared, its value must be less than or equal to the system’s API level integer. If not declared, the system assumes that the application requires API level 1.
  • If android:maxSdkVersion attribute is declared, its value must be equal to or greater than the system’s API level integer. If not declared, the system assumes that the application has no maximum API level.

How to change Android app SdkVersion

You can use Android Studio to change your Android app API level (SDK Version) with these two methods.

a. In build.gradle file

  1. Select “Project” in the Project View.
  2. Under app folder, select “build.gradle” file.
  3. You can now edit the minSdkVersion and targetSdkVersion displayed in the right panel.
  4. Once done, click on “Sync” on the top right corner of the “build-gradle” file.

b. In project structure dialog

  1. From the top menu, select File > Project Structure.
  2. In the Project Structure dialog, select “app” in the Modules list.
  3. Select “Flavors” tab in the right panel.
  4. Select your desired minSdkVersion and targetSdkVersion.
  5. Click “OK” to save the selection.
  6. From the top menu, click Build > Rebuild Project, to rebuild the Android project.
  7. The build.gradle file will be changed automatically.
Tags: Apps
Previous Post

How to bypass news sites paywalls

Next Post

Top 10 most business-friendly countries in the world 2025

Victor Mochere

Victor Mochere

Blogger, internet personality, and netpreneur creating and marketing digital content.

Related Posts

How language skills increase your net worth
Education

How language skills increase your net worth

How to stay productive when working from home
Business

How to stay productive when working from home

Top 10 fastest growing cities in the world
Living

Top 10 fastest growing cities in the world 2025

Top 20 most indebted countries in the world
Governance

Top 20 most indebted countries in the world 2025

Top 10 cheapest countries in Africa to live in
Living

Top 10 cheapest countries in Africa to live in 2025

Top 20 countries with the fastest internet in the world
Passé

Top 20 countries with the fastest internet in the world 2025

Next Post
Top 10 most business-friendly countries in the world

Top 10 most business-friendly countries in the world 2025

Reasons why CBD may not be a cure to coronavirus

Reasons why CBD may not be a cure to coronavirus

How to create a bootable USB flash drive on Microsoft Windows

How to create a bootable USB flash drive on Microsoft Windows

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

I agree to the Terms & Conditions and Privacy Policy.

Trending articles

  • Top 10 fastest football players in the world

    Top 10 fastest football players in the world 2025

    1 shares
    Share 0 Tweet 0
  • Top 10 highest paying ad networks for publishers 2025

    1 shares
    Share 0 Tweet 0
  • How hospital management systems improve efficiency in healthcare delivery

    0 shares
    Share 0 Tweet 0
  • Guide to ad networks for advertisers and publishers

    1 shares
    Share 0 Tweet 0
  • How to build a hospital management software system

    0 shares
    Share 0 Tweet 0

Latest articles

How to build a hospital management software system
Technology

How to build a hospital management software system

by Victor Mochere
0

In an era where clinical precision, operational efficiency, and patient satisfaction dictate the success of healthcare institutions, Hospital Management Software...

Read moreDetails
How hospital management systems improve efficiency in healthcare delivery

How hospital management systems improve efficiency in healthcare delivery

Top 20 best defended countries in the world

Top 20 best defended countries in the world

How powerful is the Catholic Church?

How powerful is the Catholic Church?

How powerful is the United States?

How powerful is the United States?

Recommended articles

Top 20 richest architects in the world
Finance

Top 20 richest architects in the world 2025

by Victor Mochere
0

Architecture is a fascinating profession, encompassing many different disciplines; art, engineering, and environmental science. The architect's fame is built on...

Read moreDetails

How to silence a beeping prepaid electricity meter

Best quotes on productivity

Elements of an effective inbound marketing strategy

Kenya Commercial Bank (KCB) branch codes 2025

Victor Mochere

Victor Mochere is one of the biggest informational blogs on the web. We publish well curated up-to-date facts and important updates from around the world.

Sections

  • Business
  • Education
  • Entertainment
  • Finance
  • Flacked
  • Governance
  • Living
  • Passé
  • Sports
  • Technology
  • Travel

Follow us

  • Advertise
  • Disclaimer
  • Cookies
  • Privacy Policy
  • Copyright
  • DMCA
  • Guest blogger
  • Blog tip
  • Contact us

© 2025 Victor Mochere. All rights reserved.

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
[gtranslate]
No Result
View All Result
  • Login
  • Sections
    • Business
    • Finance
    • Education
    • Travel
    • Technology
    • Living
    • Entertainment
    • Governance
    • Sports
  • About us
  • Victor Mochere Biography
  • Sitemap
  • Social Media Policy
  • Corrections
  • Comment Policy

© 2025 Victor Mochere. All rights reserved.

This website uses cookies. By continuing to use this website you are giving consent to cookies being used. Visit our Cookie Policy.