This tag represents the Android Minimum SDK used in an android application, and it is regularly defined in the application manifest.
Questions tagged [android-min-sdk]
91 questions
4
votes
2 answers
Android Studio shows methods from newer API
I have noticed that my Android Studio project is suggesting methods and types that are not available for use in my minimum SDK. I am using Android Studio version 1.1.0.
I can see that my minimum SDK version is set correctly in the build.gradle…

rose
- 327
- 3
- 10
3
votes
0 answers
Android Studio Error "com.android.tools.r8.internal.r8: Dex file with version '39' cannot be used with min sdk level '26'."
I have a Android app that was working on my other computer, but when I'm trying to run it using my other computer (with Android Studio Arctic Fox | 2020.1.1) I get the following error:
"com.android.tools.r8.internal.r8: Dex file with version '39'…

Ola Ström
- 4,136
- 5
- 22
- 41
3
votes
0 answers
Using a dependency with a higher minSdkVersion than my project - tools:overrideLibrary doesn't work
I want to use a library that is API 19+ but my project is API 9+. I get the following error:
uses-sdk:minSdkVersion 9 cannot be smaller than version 19 declared in library [*library*] *path to manifest*\AndroidManifest.xml
Suggestion: use…

Questioner
- 2,451
- 4
- 29
- 50
3
votes
4 answers
Android: able to install app for unsupported Android version
We're dropping support for Android 2.3 (API level 9) devices because most of our users have a newer Android version on their phones. I've updated the minimum SDK version to api level 14.
android {
compileSdkVersion 23
buildToolsVersion…

Wirling
- 4,810
- 3
- 48
- 78
3
votes
3 answers
Selected Device Incompatible - Android Studio
I have fixed this problem before but I can't now and I need a permanent fix. Everything has been going fine in Android Studio when it comes to testing my app. I now run into the problem "The selected device is incompatible." when I go to run the…

Connor Vance
- 173
- 2
- 2
- 6
3
votes
2 answers
Can I set targetSdkVersion to less than minSdkVersion?
I need features from Android API-level 11 but if I set targetSdkVersion to 10 then I get the old-style menus that I want (with the menu button). Are these values "legal" to set, or does targetSdkVersion have to be higher or equal to…

JohnyTex
- 3,323
- 5
- 29
- 52
2
votes
2 answers
Recommended Minimum SDK for this 2021
I want to ask about Android Studio. What is the recommended Minimum SDK for this 2021, I'm currently using api target SDK 31? And how to determine the best Minimum SDK for current latest api? whether browsing on the internet or asking in forums?

Wawang Setiawan
- 21
- 1
- 2
2
votes
2 answers
minSdkVersion is newer than the device API Level error while installing app
I am installing Android app with target sdk version android S in Android phone with Api level 30. My default config settings for app is like
compileSdkVersion 'android-S'
buildToolsVersion "30.0.3"
defaultConfig {
applicationId…

Satyam Gondhale
- 1,415
- 1
- 16
- 43
2
votes
3 answers
uses-sdk:minSdkVersion 19 cannot be smaller than version 22 declared in library
Earlier we were using Android API level 28 with minSdkVersion as 19 in config.xml and the app was available in the play store. Recently we updated the android version ( By removing and adding latest android as google play console mandated to have…

user684805
- 163
- 2
- 8
2
votes
2 answers
How to choose different minSdkVersion for different android ABI?
I have Android app which builds armeabi-v7a and arm64-v8a. Here is the build.gradle:
apply plugin: 'com.android.library'
allprojects {
repositories {
jcenter()
google()
}
}
android {
compileSdkVersion 28
…

ssk
- 9,045
- 26
- 96
- 169
2
votes
3 answers
WebRTC need min sdk 24
I updated webrtc to revision 21320, but i have following problem and can't build app
Error:com.android.builder.dexing.DexArchiveBuilderException: com.android.tools.r8.errors.CompilationError: Static interface methods are only supported starting…

Saeed
- 412
- 5
- 16
2
votes
3 answers
Using android.os.Build.VERSION to use estimote library
I create android app, which is connected with estimote beacons. My project has to use estimote library and this library minimum sdk is set to 18, so minimum sdk of my whole project has to be 18. But I want my application works on minimum sdk 14. Is…

DivinaProportio
- 220
- 1
- 3
- 13
2
votes
2 answers
Use CreativeSDK below API level 14?
For some reason the original Aviary framework has stopped working and this has forced me to migrate our code to use the new CreativeSDK instead.
Unfortunately this new SDK has a minSdkVersion of 14 = Android 4.0, but a lot of our customers still…

David K
- 3,153
- 5
- 18
- 27
1
vote
0 answers
Getting Error invalid package ID 0x7e. Must be in the range 0x7f-0xff.. while generating bundle
I have implemented one dynamic feature module(It is instant-install conditional based download module) in our application in which dynamic feature module required to set the MIN_SDK version is 28 but our base module is compiled with MIN_SDK version…

shubham agarwal
- 65
- 1
- 6
1
vote
0 answers
Android released - doesn't support framework version
This is my first release on Google play, so please bear with me, it might be a very simple question.
I have released a version of my app a few weeks ago with no problem for my tester.
Now on a new version, he's getting a message that his phone is…

TheGix
- 108
- 1
- 8