• 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

Reasons to choose a petrol over diesel car
Passé

Reasons to choose a petrol over diesel car

Probiotic foods that boost gut health
Living

Probiotic foods that boost gut health

UEFA European Championship (Euro) winners
Passé

UEFA European Championship (Euro) winners 2025

The ridiculousness of graduation
Education

The ridiculousness of graduation

Gal Gadot Net Worth
Finance

Gal Gadot Net Worth 2025

Top 20 countries with the most cheapest mobile data in the world
Passé

Top 20 countries with the most cheapest mobile data 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

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

  • My reflections on turning 30

    My reflections on turning 30

    1 shares
    Share 0 Tweet 0
  • Top 20 fastest declining countries in the world 2025

    1 shares
    Share 0 Tweet 0
  • Top 20 countries with the largest foreign exchange reserves 2025

    1 shares
    Share 0 Tweet 0
  • It’s my birthday, but who cares

    1 shares
    Share 0 Tweet 0
  • GOtv packages and prices 2025

    0 shares
    Share 0 Tweet 0

Latest articles

The 20 largest floral tributes of all time
Living

The 20 largest floral tributes of all time

by Victor Mochere
0

Floral tributes have long served as a universal language of mourning, reverence, and collective memory. Yet, on rare occasions, grief...

Read moreDetails
How to build a hospital management software system

How to build a hospital management software system

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?

Recommended articles

Diamond Trust Bank (DTB) Kenya branch codes
Business

Diamond Trust Bank (DTB) Kenya branch codes 2025

by Victor Mochere
2

Diamond Trust Bank (DTB) Kenya is a financial services provider licensed as a commercial bank by the Central Bank of...

Read moreDetails

How much wealth you need to join the richest 1% globally 2025

Top 10 strongest metals in the world

How powerful is the Catholic Church?

What alcohol does to the human body

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.