Questions tagged [android-min-sdk]

This tag represents the Android Minimum SDK used in an android application, and it is regularly defined in the application manifest.

91 questions
0
votes
1 answer

Problems converting my app from phone to tablet

I have a fully functional phone app and I am converting it to a dedicated tablet app. I was hoping to support 3.0 and upwards but when I set the minsdk to 11 (Android 3.0) all of my network code breaks, (everything. It's something to do with strict…
NotACleverMan
  • 12,107
  • 12
  • 47
  • 67
0
votes
1 answer

AudioFocusRequest.Builder() requires API level 26 but I want to use it on API level 22, is there any way to use it on API levels less than API 26?

I am developing a Media Player app and the min API level that I want it to support is API 22. I want to use Audio Focus for the media playback, but the AudioFocusRequest.Builder() doesn't work on API levels lower than API 26 and the method…
0
votes
1 answer

Android Studio Android Phone "Android Version" 9.0 with SDK API v22?

I'm a new Android developer using Android Studio. I've purchased a phone to test my app. My app runs SDK API 27 and higher (i.e., OS Oreo 8+). My specific question is why does my Android version 9.0 phone have SDK API of 22 rather than SDK API…
Jacksonsox
  • 1,114
  • 15
  • 25
0
votes
0 answers

Xamarin.Forms: WebView support on Android 5.1

I've developed a Xamarin.Forms.Shell app where I use a WebView to manage appointments. By default, I let the Android minimum Version to 5.0, as I still have an old device on Android 5.1 that I use for tests. I can deploy the app on my device through…
0
votes
1 answer

app:mergeDebugResources FAILED duplicate resources error in android when i put the min sdk version to 19

when the min sdk was 21 the application run fine now when i minimized it to 19 the error duplicate resources (app:mergeDebugResources FAILED) appears for all drawable files here is some of the gradle file android { defaultConfig { …
marina
  • 1
  • 1
0
votes
2 answers

Android Manifest: Can't force minSDK anymore. "should not be declared in the android manifest file"

Got a little build issue. Got a lib that requires minSDK:23 while I still want to support 21. The solution of Doesn't sync anymore and shows The minSdk…
Maneki Neko
  • 1,177
  • 1
  • 14
  • 24
0
votes
1 answer

Application now visible on Android market for all devices

I have uploaded a app to the Android market. I have given the minSdk version as 8 in the manifest so that the application is available for devices running 2.2 and above But I am facing a very strange behavior where the app is not visible on all the…
user669231
  • 1,371
  • 3
  • 18
  • 27
0
votes
1 answer

Gradle fails to sync after upgrading to Cordova Android 8.0

I just upgraded from cordova 7.1.4 to cordova 8.0.0. The build is successful on WebStorm, but the apk delivered can not be installed and when I open it in Android Studio gradle fails to sync with the following errors: “ The minSdk version should not…
Gabrielle
  • 4,933
  • 13
  • 62
  • 122
0
votes
2 answers

min-Sdk does not work besides the device with the latest API(29)

I built a project with compileSdkVersion 29 and buildToolsVersion "29.0.0" . When I set minSdkVersion 21 and tried to run the project with Nexus S(API 21) and Nexus 5X (API 26). It did not work at all. Only when I run the project with the latest…
Kotaro
  • 147
  • 2
  • 12
0
votes
1 answer

Manifest merger failed : uses-sdk:minSdkVersion 15 cannot be smaller than version 16 declared in library

When I try to build the apk, I get this error : Manifest merger failed : uses-sdk:minSdkVersion 15 cannot be smaller than version 16 declared in library [com.google.firebase:firebase-messaging:19.0.1]…
0
votes
1 answer

How to change the "min Sdk version"?

I'm changing the minSdk version but when I build/generate apk(s) I get this error: failed linking references. I have tried Invalidating Caches and restarting apply plugin: 'com.android.application' android { compileSdkVersion 27 …
0
votes
2 answers

how to show list contact phone in android studio with sdk 27

i have code java android studio to show list contact in hp and it's permission done, but it's not working (blank value) in sdk >27 anyone help me? this is my code contactModelArrayList = new ArrayList<>(); Cursor phones =…
0
votes
0 answers

in android studio is there any whay to know what is the highest api used in the project

I've just re-opened an old android project and I wanted to know whats is the min API used because i'm afraid it wont work on old devices such as my phone. I hope studio includes some function to do so without checking manually every line of code I…
0
votes
0 answers

Android JAVA 8 MinSDK

Let's say I'm not using any JAVA 8 specific features, but in Project Structure I have Source & Target Compatibility set to 1.8 - will this alone cause any problems on lower API targets (lower then API level 24) ? Was trying to find an answer at the…
AlexVPerl
  • 7,652
  • 8
  • 51
  • 83
0
votes
2 answers

What are pros and cons of setting TargetSDK = 22 but Compile SDK =26?

I have gone through several articles and documentation and SO question to understand difference between minSDK vs targetSDK vs compileSDK already. E.g. this on Medium : Picking your compileSdkVersion, minSdkVersion, and targetSdkVersion Which…