93 questions
-1
votes
1
answer
51
views
uses-sdk:minSdkVersion 16 cannot be smaller than version 19 declared in library
i am new to flutter i was facing some issues i solved it one by one but i am stuck in this one problem
when i try to rebuild the project after syncing gradle and cleaning the project
i am getting
uses-...
0
votes
1
answer
1k
views
Expo SDK 52 points to minSdkVersion 24
So latest Expo SDK version 52, bumped minSdkVersion to 24. But Google sends out warnings that API level needs to be 33+ or higher.
Is Expo planning to align with Google requirements?
Im developing a ...
4
votes
1
answer
1k
views
Does AppCompat now require minSdKVersion >= 21?
My app has a minSdkVersion of 19 and uses AppCompat. This has worked fine through AppCompat version 1.6.1, but with 1.7.0, the app does not build (in Android Studio):
Manifest merger failed : uses-sdk:...
0
votes
1
answer
821
views
How to increase Minsdkversion on Android Studio Flutter project [duplicate]
When I try to add any new activity to an existing new flutter project in Android Studio, it says project not ready, minSdk >= 16.
I created a new flutter project, fully new with flutter create name....
1
vote
1
answer
186
views
Invalid address 0x71db7cb5e0 passed to free: value not allocated
getting below error after calling free() function for filepaths (free(filePaths[i]);) just after running Android application with minSDK=22 or above. Everything is OK on minSDK=21
Invalid address ...
0
votes
1
answer
59
views
How do I set minSdk to 20?
I ran into an error here
FAILURE: Build failed with an exception.
* Where:
Build file 'C:\Users\Ayool\Downloads\src\instagram_flutter\googlemapsapi\gmaps_api\hope_google_maps_api\mapsgoogleapi\...
-1
votes
1
answer
1k
views
What is the minimum SDK version support for Material Design 3 (M3) in Compose?
What is the minimum SDK version support for Material Design 3 (M3) in Compose?
0
votes
0
answers
44
views
How to find all the errors
I have an Android app and I'm trying to make it working on an older device.
I decreased the minSdk in the build.gradle file and it compiles fine but when I run it, it crashes because of Call requires ...
0
votes
2
answers
1k
views
Flutter App crashes after adding MutliDex
I created a small app which worked fine on the android emulator so far (Pixel XL - API 33).
I wanted to try out google ads and added the google_mobile_ads: ^1.2.0 to the pubspec.yaml file. This caused ...
5
votes
0
answers
340
views
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 ...
0
votes
1
answer
145
views
How to check minsdkversion of generated appbundle?
i have build appbundle with minsdkversion 21. i give the file to devops for deployment, but he wants to make sure that the appbundle has minsdkversion set to 21. how do i check that? i heard ...
0
votes
1
answer
791
views
Error occurred after adding dependencies for Google maps in flutter
Showed this error when I debug the project
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processDebugMainManifest'.
> Manifest merger failed : uses-...
0
votes
1
answer
29
views
changing MinSdk after launcing in Store for flutter App and error in install
I have launched a app this 2 month ago with signing and this properties:
defaultConfig {
minSdkVersion 18
targetSdkVersion 31
versionCode flutterVersionCode.toInteger()
versionName ...
2
votes
0
answers
3k
views
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 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....
36
votes
6
answers
10k
views
Where is the value of "flutter.minSdkVersion" in Flutter project initialized?
I have created a new Flutter project, and this is how the minSdkVersion looks like in the app/build.gradle file:
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer....
0
votes
1
answer
2k
views
How or Where Cordova platform add android get the minSdkVersion value?
Good day,
I have a cordova mobile project, and I using "cordova platform add android" command to add my android platform.
In my config.xml, I set the minSdkVersion to 26 as follow:
<edit-...
0
votes
1
answer
2k
views
Can I force use armeabi-v7a vs arm64-v8a according to Android API LEVEL?
I am building native library using NDK21d for 2 archs: armeabi-v7a and arm64-v8a.
I am embedding both libraries .so (32 and 64) inside the APK, which has minsdkversion set to 21.
But I am facing an ...
0
votes
1
answer
2k
views
Unity3D - Error: The minSdk version can not be specified in the AndroidManifest.xml file. You have to remove it
Build Error appears in Pop Up.
Gradle Error: MinSDK in Manifest
The minSdk version can not be specified in the AndroidManifest.xml file. You have to remove it.
(See the Console for details)
Build ...
4
votes
2
answers
9k
views
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 ...
11
votes
2
answers
6k
views
Changing minSdkVersion from 16 to 26 increased release APK size from 17 to 39 MB
I have a relatively small and simple application that has always generated a ~17 MB release APK file. Some time ago I noticed that the APK size increased to a whopping (for this app) 39 MB. I tracked ...
2
votes
2
answers
4k
views
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....
0
votes
1
answer
1k
views
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 ...
1
vote
0
answers
415
views
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 ...
6
votes
1
answer
928
views
minSdkVersion 26 or later and just with mipmap-anydpi containing ic_launcher icons
I wonder, when my new project is minSdkVersion 26 (or later), that I can safely delete these mipmap-*dpi folders and their content ic_launcher icons, and then simply with mipmap-anydpi (renamed from ...
1
vote
0
answers
286
views
How can I support min sdk 14 if my required lvl was 26?
I need to develop an app which can support android version from 4.0 till latest. But as it was my first app I started to develop it using android jetpack components and so on. My question is can use ...
0
votes
1
answer
562
views
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 ...
8
votes
1
answer
884
views
Why does Android Studio lint not recognize my minSdkVersion
Android Studio (version 4.1.1) is displaying warnings in my xml layout files for views that use onClick (warning id: UsingOnClickInXml, older versions of the platform do not properly support resolving ...
0
votes
0
answers
293
views
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 ...
2
votes
3
answers
12k
views
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 ...
1
vote
0
answers
614
views
Application crash after changing minSdkversion to 26 on view binding
I am trying to create the .aab file from Android studio and app bundle needs minimum SDK version 26, so I changed the version in all the module Gradle files, and the .aab file got created, but after ...
0
votes
1
answer
251
views
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 ...
19
votes
7
answers
35k
views
How to determine which minSDKVersion to set for my Android App
How can I determine the minimum API Level or Maximum API Level used in my project? And is there any way to determine which part of code in my project uses which API Level?
Is there anyway in android ...
1
vote
2
answers
120
views
Does Google Play Store automatically updates apps automatically?
If my App has minSDKVersion = 16 and TargetSDKVersion = 28, then will Google somehow upgrade my App to work with devices which use sdk version greater than 28?
And if the same is true for all future ...
28
votes
1
answer
10k
views
APK size increased 35mb when bumping min SDK from 21 to 24
Recently we bumped our min supported SDK from API 21 to 24.
Apparently this change caused our APK size to increase from 65mb to 103mb.
From the APK analysis in Android studio, we can see it's all of ...
0
votes
3
answers
3k
views
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
<uses-sdk
android:minSdkVersion="21"
tools:overrideLibrary="a.rogue....
1
vote
0
answers
36
views
Many dex files on one machine
I have three machines that I used to build my android project. On all machines, I have the same code, same grade, and same gradle.properties. On all machines is windows.
I have min SDK 23.
On one ...
6
votes
2
answers
9k
views
Android Studio build fail with minSDK=29
I have Android Studio build problem.
Build fails only when changing the minSdk=29 with follwing error.
( It's OK with minSdk=28 )
android {
compileSdkVersion 29
defaultConfig {
...
0
votes
1
answer
579
views
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 ...
0
votes
2
answers
366
views
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....
-3
votes
2
answers
1k
views
What are the disadvantages of using a lower minimum API level?
In my project we should support RTL feature and I will use custom map (created with unity). And project should support bluetooth feature. I want to use min 19 version or min 16 version in my project. ...
0
votes
1
answer
3k
views
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]...
-1
votes
1
answer
1k
views
What happens if minSdkVersion is below sourceCompatibility?
I upgraded butterknife to 10.1.0 which throws this error:
Execution failed for task ':app:mergeDexDebug'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
> ...
3
votes
2
answers
2k
views
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()
}
}
...
0
votes
1
answer
2k
views
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'...
0
votes
2
answers
2k
views
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 ...
0
votes
0
answers
144
views
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 ...
9
votes
1
answer
2k
views
flutter AndroidManifest warning - current min is 1
AndroidManifest.xml file gives warnings -
Attribute hardwareAccelerated is only used in API level 11 and higher(current min is 1)
Attribute windowSoftInputMode is only used in API level 3 and higher(...
6
votes
2
answers
9k
views
What is the minimum SDK version should I choose? (as in Nov 2018)
As I am aware, default min SDK set in android studio is 15. I have read that I should increase it as there aren't many (or maybe none) who is still using that android version. Plus, I am planning to ...
-1
votes
2
answers
1k
views
Minimum google play service version for min Sdk Version 17
My application minimum sdk version is 17 and i have map, that old google play services do not support it. I want to know from which versions of google play service do not support this sdk version?
0
votes
0
answers
340
views
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 ...