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
Newsletter
Victor Mochere
No Result
View All Result
  • Wealth
    How to claim unclaimed financial assets from UFAA

    How to claim unclaimed financial assets from UFAA

    Top 10 richest green billionaires in the world

    Top 10 richest green billionaires in the world 2021

    Top 10 richest crypto billionaires in the world

    Top 10 richest crypto billionaires in the world 2021

    Top 10 richest musicians in Africa

    Top 10 richest musicians in Africa 2021

    Top 10 richest musicians in East Africa

    Top 10 richest musicians in East Africa 2021

    Akothee Net Worth

    Akothee Net Worth 2021

    Top 10 richest musicians in Kenya

    Top 10 richest musicians in Kenya 2021

    Top 10 richest musicians in Nigeria

    Top 10 richest musicians in Nigeria 2021

    Top 10 richest musicians in South Africa

    Top 10 richest musicians in South Africa 2021

    Top 10 richest musicians in Tanzania

    Top 10 richest musicians in Tanzania 2021

  • Business
    Guide to selling tours and travel packages on Instagram

    Guide to selling tours and travel packages on Instagram

    Efficient ways of long-term cost cutting

    Efficient ways of long-term cost cutting

    Common startup expenses to consider

    Common startup expenses to consider

    Key principles you need for business success

    Key principles you need for business success

    How to develop an effective influencer video marketing strategy

    How to develop an effective influencer video marketing strategy

    How to protect the legal interests of founders in a startup

    How to protect the legal interests of founders in a startup

    How to safeguard your role as a company founder

    How to safeguard your role as a company founder

    Top 10 highest paid CEOs in Kenya

    Top 10 highest paid CEOs in Kenya 2021

    Best quotes from Warren Buffett

    Best quotes from Warren Buffett

    Top 10 largest ship-owning countries in the world

    Top 10 largest ship-owning countries in the world 2021

  • Education
    Best quotes from Johann Wolfgang von Goethe

    Best quotes from Johann Wolfgang von Goethe

    Top 20 countries with the smartest students in the world

    Top 20 countries with the smartest students in the world 2021

    Top 20 smartest people of all time

    Top 20 smartest people of all time

    Best quotes from Oscar Wilde

    Best quotes from Oscar Wilde

    Best quotes from Friedrich Nietzsche

    Best quotes from Friedrich Nietzsche

    Effective strategies for academic writing

    Effective strategies for academic writing

    Best quotes from Adam Smith

    Best quotes from Adam Smith

    Top 10 best universities in the United States

    Top 10 best universities in the United States 2021

    Top 10 best universities in the United Kingdom

    Top 10 best universities in the United Kingdom 2021

    Top 20 hardest colleges to get into in the US

    Top 20 hardest colleges to get into in the US 2021

  • Travel
    Things to consider when booking a hotel room

    Things to consider when booking a hotel room

    Top 10 best car brands in Kenya

    Top 10 best car brands in Kenya 2021

    Top 10 best national parks in Kenya

    Top 10 best national parks in Kenya 2021

    How to prevent a catalytic converter from clogging

    How to prevent a catalytic converter from clogging

    Top 10 exotic dishes and restaurants in Dubai

    Top 10 exotic dishes and restaurants in Dubai 2021

    Things to consider when buying a car

    Things to consider when buying a car

    Things to consider when buying a travel camera

    Things to consider when buying a travel camera

    Top 10 car accessories that make your car fully loaded

    Top 10 car accessories that make your car fully loaded

    Nicaraguan passport Visa Free countries

    Nicaraguan passport Visa Free countries 2021

    Bolivian passport Visa Free countries

    Bolivian passport Visa Free countries 2021

  • Technology
    Requirements for owning and operating a drone in Kenya

    Requirements for owning and operating a drone in Kenya

    3 digital technologies: How people learn

    3 digital technologies: How people learn

    Computer keyboard shortcuts you need to know

    Computer keyboard shortcuts you need to know

    What you need to know about Digital Service Tax in Kenya

    What you need to know about Digital Service Tax in Kenya

    Top 10 best website speed test tools

    Top 10 best website speed test tools 2021

    How to get verified on Triller

    How to get verified on Triller 2021

    Top 20 most liked tweets

    Top 20 most liked tweets 2021

    How to get your website included on Microsoft News

    How to get your website included on Microsoft News

    Top 10 best email apps

    Top 10 best email apps 2021

    How to tell if a laptop is new or used

    How to tell if a laptop is new or used

  • Living
    Foods you should never refrigerate

    Foods you should never refrigerate

    How to stop masturbating

    How to stop masturbating

    Top 20 smartest countries in the world

    Top 20 smartest countries in the world 2021

    Top 10 most dangerous hackers of all time

    Top 10 most dangerous hackers of all time

    Things to consider when buying a refrigerator

    Things to consider when buying a refrigerator

    Top 10 best refrigerator brands in Kenya

    Top 10 best refrigerator brands in Kenya 2021

    Qualities and traits of a successful project manager

    Qualities and traits of a successful project manager

    A year older, a year bolder

    A year older, a year bolder

    Best happy birthday wishes to yourself

    Best happy birthday wishes to yourself

    Best happy birthday quotes

    Best happy birthday quotes

  • Entertainment
    Best quotes from Adele

    Best quotes from Adele

    Best apps and games on App Store

    Best apps and games on App Store 2021

    Best apps and games on Google Play Store

    Best apps and games on Google Play Store 2021

    Top 20 best-selling singles of all time

    Top 20 best-selling singles of all time 2021

    Top 20 best-selling albums of all time

    Top 20 best-selling albums of all time 2021

    Top 20 best-selling music artists of all time by singles

    Top 20 best-selling music artists of all time by singles 2021

    Top 20 best-selling music artists of all time by albums

    Top 20 best-selling music artists of all time by albums 2021

    Top 20 best-selling music artists of all time

    Top 20 best-selling music artists of all time 2021

    Top 10 highest paid dead celebrities in the world

    Top 10 highest paid dead celebrities in the world 2021

    Top 10 most watched TV stations in Kenya

    Top 10 most watched TV stations in Kenya 2021

  • Governance
    Best quotes from Kamala Harris

    Best quotes from Kamala Harris

    Best quotes from Joe Biden

    Best quotes from Joe Biden

    Top 10 worst US presidents in history

    Top 10 worst US presidents in history 2021

    Top 10 best US presidents in history

    Top 10 best US presidents in history 2021

    Best quotes from Ronald Reagan

    Best quotes from Ronald Reagan

    Top 20 US presidents with the most electoral college votes

    Top 20 US presidents with the most electoral college votes 2021

    US presidential elections in which the winner lost the popular vote

    US presidential elections in which the winner lost the popular vote

    Top 20 US presidential candidates with the most popular votes

    Top 20 US presidential candidates with the most popular votes 2021

    Best quotes from Eleanor Roosevelt

    Best quotes from Eleanor Roosevelt

  • Sports
    Top 10 players with the most goals for a single club in football history

    Top 10 players with the most goals for a single club in football history 2021

    Top 10 highest paid NBA players

    Top 10 highest paid NBA players 2021

    Best quotes from Lewis Hamilton

    Best quotes from Lewis Hamilton

    Top 10 greatest NBA players of all time

    Top 10 greatest NBA players of all time 2021

    Top 10 best NBA teams of all time

    Top 10 best NBA teams of all time 2021

    Best quotes from Diego Maradona

    Best quotes from Diego Maradona

    Top 10 countries with the most Olympic medals in Africa

    Top 10 countries with the most Olympic medals in Africa 2021

    Top 20 countries with the most Olympic medals

    Top 20 countries with the most Olympic medals 2021

    Top 10 most expensive football players in the world

    Top 10 most expensive football players in the world 2021

    Top 20 highest rated players in FIFA

    Top 20 highest rated players in FIFA 21

  • Life Hacks
    How to increase your IQ

    How to increase your IQ

    How to use Twitter Spaces

    How to use Twitter Spaces

    How to use Twitter Fleets

    How to use Twitter Fleets

    How to view a cached version of a website

    How to view a cached version of a website

    How to transfer WhatsApp chats to Telegram

    How to transfer WhatsApp chats to Telegram

    How to transfer WhatsApp chats to Signal

    How to transfer WhatsApp chats to Signal

    How to grow your YouTube channel quickly

    How to grow your YouTube channel quickly

    How to make money on YouTube

    How to make money on YouTube

    How to install WordPress on cPanel

    How to install WordPress on cPanel

    How to enable hotlink protection

    How to enable hotlink protection

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

How to change Android app API level

Victor Mochere by Victor Mochere
in Life Hacks
Reading Time: 3min 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

Contents

  • Uses of API level in Android
  • What is SdkVersion?
  • How to change Android app SdkVersion

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:

  • 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 a 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 a 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 2021

Victor Mochere

Victor Mochere

Victor Mochere is an award winning blogger, social media influencer, literati savant, altruistic, and a netpreneur creating and marketing digital content.

Related Posts

How to increase your IQ
Life Hacks

How to increase your IQ

by Victor Mochere
How to use Twitter Spaces
Life Hacks

How to use Twitter Spaces

by Victor Mochere
How to use Twitter Fleets
Life Hacks

How to use Twitter Fleets

by Victor Mochere
How to view a cached version of a website
Life Hacks

How to view a cached version of a website

by Victor Mochere
How to transfer WhatsApp chats to Telegram
Life Hacks

How to transfer WhatsApp chats to Telegram

by Victor Mochere
How to transfer WhatsApp chats to Signal
Life Hacks

How to transfer WhatsApp chats to Signal

by Victor Mochere
Next Post
Top 10 most business friendly countries in the world

Top 10 most business friendly countries in the world 2021

Leave a Reply Cancel reply

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

I agree to the Comment Policy.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Trending posts

  • Top 20 richest singers in the world

    Top 20 richest singers in the world 2021

    0 shares
    Share 0 Tweet 0
  • Top 20 richest actors in the world 2021

    0 shares
    Share 0 Tweet 0
  • Top 10 best gay dating apps 2021

    1 shares
    Share 0 Tweet 0
  • Best sites to watch or download movies for free

    4 shares
    Share 4 Tweet 0
  • How to upload long videos on Twitter

    1 shares
    Share 0 Tweet 0

Download our app

Google-play
Shopping-bag
Amazon

Newsletter

Subscribe to our newsletter and get the latest posts delivered to your inbox.

*We hate spam as you do.

Editorial policy

Permission to use quotation from any article is granted subject to full credit of the source being given by referencing the direct link of the article on Victor Mochere. However, reproducing any content on this site without explicit permission is strictly prohibited.

Report a correction or typo

We are committed to upholding our editorial standards, including accuracy. Our policy is to review each issue on a case by case basis, immediately upon becoming aware of a potential error or need for clarification, and to resolve it as quickly as possible. If you notice an error or typo that needs correction, please don’t hesitate to contact us for immediate action.

ABOUT US

Victor Mochere brings you a daily dose of well curated up to date facts, news, opinions and important updates from Kenya, Africa and around the World.

FOLLOW US

Facebook-f
Twitter
Instagram
Pinterest
Linkedin
Youtube
Telegram
Rss

FIND US ON

Newspaper
Flipboard

TOPICS

  • Business
  • Education
  • Entertainment
  • Flacked
  • Governance
  • Life Hacks
  • Living
  • Sports
  • Technology
  • Travel
  • Wealth

DOWNLOAD OUR APP

Google-play
Shopping-bag
Amazon

NEWSLETTER

Subscribe to our newsletter and get the latest posts delivered to your inbox.

*We hate spam as you do.

  • Advertise
  • Disclaimer
  • Copyright
  • DMCA
  • Cookies
  • Privacy Policy
  • Write For Us
  • Contact

Copyright © 2021 Victor Mochere. All rights reserved.

No Result
View All Result
  • Topics
    • Wealth
    • Business
    • Education
    • Travel
    • Technology
    • Living
    • Entertainment
    • Governance
    • Sports
    • Life Hacks
  • About
    • Victor Mochere Bio
  • Archives
  • CPA Notes
  • Digital Marketing
  • Social Media Policy
  • Sitemap

Copyright © 2021 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 Privacy Policy and Cookie Policy.

Download our app

Google Play Store

Samsung Galaxy Store

Amazon Appstore