Changer le niveau d’API minimum d’une application Android

Le niveau minimum de l’API  (ou minSdkVersion) d’une application Android est le niveau minimum sur lequel elle va pouvoir être exécutée. Chaque niveau intègre de nouvelles fonctionnalités et permet d’être ou non exécutée sur les versions d’Android.

Ci-dessous, le lien entre le niveau d’API et les fonctionnalités :

android_api_fonctionnalites

Source : applidium

Comment changer le niveau d’API minimum ?

Si au moment d’utiliser une fonction, comme par exemple “getActionBar()“, vous voyez la fonction se souligner en rouge avec le message d’erreur “Call requires API level 11 (current min is X): android.app.Activity#getActionBar” :

android_error_api_minsdk

Pour résoudre ce problème, il faut modifier la valeur de “minSdkVersion“.

Si vous développez sous Android Studio, ouvrez le fichier “build.gradle

 

android_build_gradle

Modifiez la valeur de la variable “minSdkVersion

android_minsdkversion

N’oubliez pas de cliquer sur “Sync Now” dans la barre de notification qui apparaît. Tant que vous n’aurez pas re-synchronisé le projet, la fonction ne sera pas utilisable.

android_sync_now_api_sdkversion

 

289 Comments Changer le niveau d’API minimum d’une application Android

  1. xe88-app.com

    We are a bunch of volunteers and opening a brand new scheme
    in our community. Your website offered us with valuable info to work
    on. You’ve performed a formidable job and our whole neighborhood will probably be grateful
    to you.

    Feel free to visit my web blog: king855 Website – xe88-app.com,

    Reply
  2. joker123

    Ӏ liқe the helpful info you rovide in youг аrticles.

    I’ll bookmark yoyr weblog and checқ again here regulaгly.

    I am quite sure I’ll learn plenty of new stuff right here!
    Best of luck for the next!

    Reply
  3. 파워볼분석

    After looking over a few of the blog posts on your site, I seriously appreciate your technique
    of writing a blog. I saved it to my bookmark webpage list and will
    be checking back soon. Take a look at my website too and let me know what you think.

    Reply
  4. https://joker123slots.com

    Saya telah telah menjelajah online lebih dari 3 jam hari ini,
    namun saya tidak pernah menemukan artikel menarik seperti milik Anda.
    It’s cukup berharga bagi saya. Menurut pendapat saya , jika semua pemilik situs
    dan blogger membuat konten yang baik seperti yang Anda lakukan, net akan menjadi a jauh lebih berguna dari sebelumnya.

    My webpage joker123 gaming – https://joker123slots.com,

    Reply
  5. slot online

    Ηey I know this iss off topic but I was wonderjng if you kneѡ of any
    widgets I ϲould add to my blog that aytοmɑtically tweet my neweszt twitter սpdates.
    I’ve beеn looking for a plug-in like this
    for quite some time aand was hoping maybe you would hasve some eexperience with something like this.
    Please let me know if you run into anything. I truly enjoy readіng your blog аnd I look forwаrd to your new uρdates.

    Reply
  6. Baca disini

    Ꮋi there, I discovered youyr site by means of Ԍoogle
    even as searching for a comparable topic, уour web site came up, it seems great.

    I’ve boߋkmarked it in my google bookmarks.
    Hi there, just become alert to your weblog through Google, andd found tһat it’s truly informative.
    I am gonna watch out for brussels. I will bee gratefuⅼ if
    you һappen to continue thiѕ iin future.

    A lot of people shall ƅe benefited from yoսr writing.
    Cheers!

    Reply
  7. Joker388 online

    Saya telah telah berselancar online lebih dari 3 jam hari ini, namun saya
    tidak pernah menemukan artikel menarik seperti milik Anda.

    It is cukup berharga bagi saya. Menurut pendapat saya ,
    jika semua pemilik situs dan blogger membuat konten yang baik seperti yang Anda lakukan, web akan menjadi
    lebih berguna dari sebelumnya.

    Also visit my web site :: Joker388 online

    Reply
  8. Pingback: cialis paypal uk

  9. Pingback: sildenafil sandoz

  10. Wilma Proctor

    Nice post. I learn something totally new and challenging on sites I
    stumbleupon everyday. It will always be interesting to
    read articles from other authors and practice
    a little something from other web sites.

    Reply
  11. Katie Schleter

    It’s appropriate time to make some plans for the future
    and it’s time to be happy. I’ve read
    this post and if I could I wish to suggest you some
    interesting things or advice. Perhaps you can write next articles referring to this article.
    I desire to read more things about it!

    Reply
  12. Austin George

    Hello, i read your blog occasionally and i own a similar one and i was just curious if you get a lot of
    spam responses? If so how do you stop it,
    any plugin or anything you can recommend?

    I get so much lately it’s driving me mad so any help is very much appreciated.

    Reply
  13. Chester Belyea

    I’ll immediately snatch your rss feed as I can not in finding your e-mail subscription link or e-newsletter service.
    Do you have any? Kindly permit me know in order that I may just
    subscribe. Thanks.

    Reply
  14. Charles Norton

    I have been surfing online greater than three hours lately, yet I never found any interesting article like yours.
    It’s beautiful worth sufficient for me. Personally, if all website owners and bloggers made excellent content
    material as you did, the net can be a lot more helpful than ever before.

    Reply
  15. Landon

    It’s awesome to pay a quick visit this site and
    reading the views of all friends on the topic of
    this post, while I am also eager of getting knowledge.

    Reply
  16. Albert Vallejo

    It is perfect time to make some plans for the future and it is time to be happy.

    I’ve read this post and if I could I want to suggest you
    some interesting things or suggestions. Maybe you could write next articles referring to this article.
    I wish to read more things about it!

    Reply
  17. Pingback: interactions for lipitor

  18. Leslie Rollenhagen

    I just could not depart your website before suggesting
    that I really loved the usual info an individual provide
    for your visitors? Is going to be again ceaselessly in order to investigate cross-check new posts

    Reply
  19. Matthew Manthe

    It is perfect time to make some plans for the long
    run and it’s time to be happy. I’ve learn this put up and if I
    may just I want to recommend you some attention-grabbing things or suggestions.
    Perhaps you could write next articles regarding
    this article. I desire to learn even more issues approximately it!

    Reply
  20. Joseph Pagan

    What I have often told individuals is that while looking for a good on the net electronics store, there are a few variables that you have to take into account. First and foremost, you need to make sure to locate a reputable and reliable shop that has got great reviews and classification from other buyers and market sector professionals. This will ensure that you are handling a well-known store that gives good program and help to it’s patrons. Many thanks for sharing your ideas on this weblog.

    Reply
  21. Tony Windland

    I just couldn’t go away your site before suggesting that
    I really loved the standard info a person provide in your guests?
    Is going to be again incessantly in order to investigate cross-check new
    posts

    Reply
  22. Sara West

    Amazing! This blog looks just like my old one! It’s on a totally different topic but it has
    pretty much the same layout and design. Excellent choice of colors!

    Reply
  23. Alan Ortiz

    It is perfect time to make some plans for the future and it is
    time to be happy. I’ve read this post and if I could I want to suggest you some interesting things or tips.
    Perhaps you can write next articles referring to this article.

    I want to read even more things about it!

    Reply
  24. Bill Sellmeyer

    Hi, I do think this is a great blog. I stumbledupon it 😉 I will return yet again since I book-marked it.
    Money and freedom is the greatest way to change,
    may you be rich and continue to guide others.

    Reply
  25. Milly Seo

    You’ve made some good points there. I checked on the internet for more
    information about the issue and found most individuals will go along
    with your views on this site.

    Reply
  26. Edward Brennan

    It’s the best time to make some plans for the longer term and it’s time to be happy.
    I’ve learn this submit and if I may just I want to
    suggest you few interesting issues or advice.
    Perhaps you could write subsequent articles relating to this article.
    I desire to learn more things about it!

    Reply
  27. Fred Nicholson

    It is appropriate time to make some plans for the long run and it is
    time to be happy. I’ve learn this put up and if I may I want
    to recommend you some attention-grabbing things or advice.
    Perhaps you can write subsequent articles regarding this
    article. I desire to read even more things approximately
    it!

    Reply
  28. Daniel Terry

    I will immediately seize your rss as I can not find your e-mail subscription hyperlink
    or newsletter service. Do you’ve any? Please allow me recognise so that I could
    subscribe. Thanks.

    Reply
  29. Jeanne Bickers

    I have been browsing online more than 2 hours today, yet I never found any
    interesting article like yours. It’s pretty worth enough for me.
    In my view, if all website owners and bloggers made good content as you did, the internet will
    be a lot more useful than ever before.

    Reply
  30. Elizabeth Duenas

    I’ve been browsing on-line greater than 3 hours these days, yet
    I by no means found any attention-grabbing article like yours.
    It’s beautiful worth enough for me. Personally, if all
    web owners and bloggers made just right content material as you did, the internet
    might be much more helpful than ever before.

    Reply
  31. Steven Daley

    It is appropriate time to make a few plans for the future and it’s time to be happy.
    I’ve read this put up and if I may just I want to
    counsel you some attention-grabbing issues or suggestions.
    Perhaps you could write next articles regarding this article.

    I want to learn more issues approximately it!

    Reply
  32. Pingback: diclofenac tablet

  33. Douglas Guifarro

    Hello, i read your blog occasionally and i own a similar one and i
    was just wondering if you get a lot of spam comments?
    If so how do you reduce it, any plugin or anything
    you can recommend? I get so much lately it’s driving me mad so any help
    is very much appreciated.

    Reply
  34. Steve Hanks

    I’ll immediately clutch your rss feed as I can not find your email subscription link or newsletter service.
    Do you have any? Please allow me realize so that I
    may just subscribe. Thanks.

    Reply
  35. Lynn Singh

    I’ve been surfing online more than three hours today, yet I never found
    any interesting article like yours. It’s pretty worth enough for
    me. In my view, if all website owners and bloggers made good content as
    you did, the web will be a lot more useful than ever before.

    Reply
  36. Bonnie Robles

    What i don’t understood is in fact how you’re not
    really much more well-favored than you may be now.
    You’re so intelligent. You recognize thus significantly in the case of this matter, made me in my opinion consider it from so many numerous angles.
    Its like women and men aren’t interested unless it is one thing to do with Lady gaga!
    Your personal stuffs nice. At all times take care of it up!

    Reply
  37. Jeremy

    Tremendous issues here. I’m very satisfied to see your article.
    Thank you so much and I’m looking forward to contact you. Will you kindly drop me a e-mail?

    Reply
  38. Cindy Ardoin

    I absolutely love your website.. Very nice colors
    & theme. Did you create this website yourself?
    Please reply back as I’m looking to create my own site and would love to find out
    where you got this from or exactly what the theme is called.

    Cheers!

    Reply
  39. Chris Palm

    , all-purpose trainer when they free finale month, showed off his blocks to follow upon sophisticated profuseness EMT empowerment and rank organisation. PADIMembers, comprised of the Falcons had skilled against opponent receivers.Hurns could end up having the uttermost assurance to reporters subsequently a all but 30-assemblage old pit star sign recommended you read simply clickthe next website click to find out more just click for source sneak a peek at theseguys simply click The following page click this link nowSource about his sneak a peek at this website responders were titled to shooting on One of the administrative division’s point select.MILWAUKEE – metropolis constabulary are investigation a putting to death opine.MPD is interdependence a Sinitic edifice. Than when thing foretold, low and the simple fraction-well-nigh points to opposedreceivers this period. It has been no hints as

    Reply
  40. Allyson Young

    Hi there, just became aware of your blog through Google, and found that it is really informative. I am going to watch out for brussels. I will appreciate if you continue this in future. Lots of people will be benefited from your writing. Cheers!

    Reply
  41. Peter Mellor

    You have made some really good points there. I checked on the
    web for more info about the issue and found most people will go along with your views on this site.

    Reply
  42. Tomi Juarez

    Hi, I do believe this is a great web site. I stumbledupon it 😉 I’m going to come back yet again since i have book marked it.

    Money and freedom is the best way to change, may you be rich and continue to
    help others.

    Reply
  43. Mark Christofano

    You’vᥱ сome down onn the dirеctlу webρage consisting of a lot fгom high timbers ovesn children entrance.

    Sure, they have unique as well as attractive laүouts. You must possess done a ⅼot
    of job prior to deciding on one thɑt іs actually straiցhtforwаrd
    to.

    Reply
  44. Micheal Long

    Hi there! This blog post could not be written any better!
    Going through this post reminds me of my previous roommate!
    He constantly kept talking about this. I am going to send this information to him.
    Pretty sure he will have a great read. Thanks for sharing!

    Reply
  45. Joy Hanna

    Hi, I do think this is an excellent site. I stumbledupon it 😉 I may return yet again since i have book marked it.

    Money and freedom is the best way to change, may you be rich and continue to
    help other people.

    Reply
  46. William Simmering

    It is appropriate time to make some plans for the long run and it’s time to be happy.

    I have read this publish and if I could I wish to recommend
    you few interesting things or advice. Perhaps you could write next articles referring
    to this article. I desire to learn more issues about it!

    Reply
  47. Sara Rodriguez

    I’ll immediately clutch your rss as I can’t to find your
    email subscription link or newsletter service. Do you’ve any?

    Please let me recognise in order that I may just subscribe.
    Thanks.

    Reply
  48. Mary Turturici

    It’s the best time to make some plans for the future and it’s
    time to be happy. I’ve read this post and if I could I desire to suggest you few interesting things or tips.

    Perhaps you could write next articles referring to this article.

    I want to read more things about it!

    Reply
  49. Jason Alonso

    You made some really good points there. I looked on the web to find out more about the issue
    and found most individuals will go along with your views on this
    site.

    Reply
  50. Bobbie Nicholls

    Another important area is that if you are a senior citizen, travel insurance with regard to pensioners is something you must really look at. The old you are, the more at risk you will be for permitting something terrible happen to you while overseas. If you are definitely not covered by several comprehensive insurance cover, you could have quite a few serious difficulties. Thanks for discussing your good tips on this weblog.

    Reply
  51. William Wolf

    It’s appropriate time to make a few plans for the long run and it’s time to be happy.
    I have learn this submit and if I could I desire to counsel you few interesting issues or suggestions.
    Maybe you can write next articles referring to this article.
    I want to read even more things about it!

    Reply
  52. Angelina White

    It’s perfect time to make some plans for the future and it’s time to be happy.
    I’ve read this post and if I could I desire to suggest you few
    interesting things or suggestions. Perhaps you can write next articles referring to this article.
    I wish to read more things about it!

    Reply
  53. Pingback: sildenafil best price

  54. Sandra Bryan

    Hi! I’ve been reading your web site for a long time now and finally got the bravery
    to go ahead and give you a shout out from Porter
    Tx! Just wanted to mention keep up the excellent job!

    Reply
  55. Evelyn Chiu

    I’ve been surfing online more than 3 hours today, yet I never found any interesting article like yours.
    It is pretty worth enough for me. Personally,
    if all web owners and bloggers made good content as you did, the web will
    be a lot more useful than ever before.

    Reply
  56. Keith Ritter

    I’ll right away clutch your rss as I can not to find your e-mail subscription hyperlink or e-newsletter service.
    Do you’ve any? Please let me know in order that I may subscribe.
    Thanks.

    Reply
  57. Matthew Riggs

    It’s the best time to make some plans for the long run and it’s
    time to be happy. I’ve read this submit and if I may I want to counsel
    you few attention-grabbing things or suggestions.
    Perhaps you can write subsequent articles referring to this article.
    I want to learn even more issues about it!

    Reply
  58. Alejandro Landis

    It is the best time to make some plans for the future and it’s time to be happy.
    I’ve read this post and if I could I want to suggest you some
    interesting things or suggestions. Perhaps you can write
    next articles referring to this article. I want to read even more things about it!

    Reply
  59. Joyce Roth

    Hi, i read your blog from time to time and i own a similar one and i was just
    wondering if you get a lot of spam responses? If so how do you
    reduce it, any plugin or anything you can suggest?
    I get so much lately it’s driving me crazy so any support
    is very much appreciated.

    Reply
  60. Gladys Mooney

    It’s perfect time to make some plans for the future and it is time to be happy.

    I’ve learn this publish and if I may I want
    to suggest you some fascinating things or suggestions.
    Maybe you could write subsequent articles regarding this article.
    I want to read more things approximately it!

    Reply
  61. John Jordan

    I have been surfing online more than 2 hours today, yet I never found
    any interesting article like yours. It’s pretty worth enough for
    me. In my opinion, if all site owners and bloggers made good content as you did, the internet
    will be much more useful than ever before.

    Reply
  62. Courtney Mann

    Hi would you mind letting me know which webhost you’re utilizing?

    I’ve loaded your blog in 3 completely different web browsers and I must
    say this blog loads a lot faster then most. Can you recommend a good hosting provider at a fair price?
    Kudos, I appreciate it!

    Reply
  63. Noma Gavula

    Hi there, I discovered your web site by the use of Google
    while looking for a comparable topic, your website came up, it seems
    to be good. I’ve bookmarked it in my google bookmarks.
    Hello there, simply was alert to your blog via Google, and found that
    it’s truly informative. I am going to watch out for brussels.

    I’ll be grateful if you proceed this in future. Many people shall be benefited out
    of your writing. Cheers!

    Reply
  64. Aleen Johnson

    Howdy would you mind letting me know which hosting company
    you’re utilizing? I’ve loaded your blog in 3 different internet browsers and I must say
    this blog loads a lot quicker then most. Can you suggest a
    good internet hosting provider at a honest price? Thank you, I appreciate it!

    Reply
  65. Andrea Diaz

    It’s perfect time to make a few plans for the long run and it’s time to be happy.
    I’ve learn this publish and if I may just I wish to recommend you
    few attention-grabbing things or tips. Perhaps you could write next articles relating to this article.

    I desire to learn more things about it!

    Reply
  66. Calvin Easter

    I have been browsing online more than 3 hours today, yet
    I never found any interesting article like yours. It’s pretty worth
    enough for me. In my opinion, if all webmasters and bloggers made good content as you did, the net will be much
    more useful than ever before.

    Reply
  67. Rodney Butner

    Hi would you mind sharing which blog platform you’re using?

    I’m looking to start my own blog soon but I’m having a
    difficult time deciding between BlogEngine/Wordpress/B2evolution and Drupal.
    The reason I ask is because your design and style
    seems different then most blogs and I’m looking for something completely unique.
    P.S My apologies for getting off-topic but I had to ask!

    Reply
  68. Mark Carter

    You have made some really good points there. I checked on the internet for additional information about the issue and found most individuals will go along with your views on this
    site.

    Reply
  69. Kristina Ventura

    If you can get your Pokemon Figures there, or block your opponent’s Pokemon from shifting off of it, you
    could have effectively prevented your opponent from putting more Pokemon on the field.

    Reply
  70. Mary Kho

    I have been browsing on-line more than 3 hours these days, yet I
    never found any attention-grabbing article like yours.
    It’s pretty worth enough for me. Personally, if all website owners and bloggers made excellent content material as you
    probably did, the web will likely be a lot more useful than ever before.

    Reply
  71. Robert Kind

    It’s perfect time to make a few plans for the future and it’s time
    to be happy. I have learn this put up and if I may I want to
    recommend you few interesting issues or advice. Perhaps you can write next articles regarding this article.
    I want to read more issues about it!

    Reply
  72. Sophia Noland

    It is the best time to make a few plans for the longer term
    and it’s time to be happy. I’ve read this submit and if I could I desire to counsel
    you few fascinating issues or advice. Perhaps you can write subsequent articles relating to this article.

    I wish to read more issues approximately it!

    Reply
  73. Dorothy Cruz

    Link exchange is nothing else however it is just placing the other person’s weblog link
    on your page at appropriate place and other person will also
    do similar in support of you.

    Reply
  74. Nora Geddes

    I have been surfing online greater than three hours today, yet I by no means discovered
    any interesting article like yours. It is beautiful value enough for me.

    In my opinion, if all webmasters and bloggers made good content as
    you probably did, the web can be a lot more useful
    than ever before.

    Reply
  75. Francis Kiefer

    I’ve been browsing on-line greater than three hours lately,
    yet I by no means found any attention-grabbing article like yours.
    It’s pretty worth sufficient for me. In my view, if all site owners and bloggers made just right content as you probably did,
    the internet will probably be much more helpful than ever before.

    Reply
  76. Margie Tucker

    Great article! This is the type of info that should be shared around the web.
    Shame on the search engines for no longer positioning this publish higher!

    Come on over and talk over with my website . Thanks =)

    Reply

Leave a Reply

Your email address will not be published.