android application is not installed in android 12 and 13 after changing the targetsdkversion 30 to 33 - android

My IDE: Android studio
My application is currently in
minSdkVersion 16
targetSdkVersion 30
compileSdkVersion 30
so, that i am upgrading version 30 to 33
targetSdkVersion 30 -----> 33
compileSdkVersion 30 -----> 33
After changing targetsdkversion in android studio 30 to 33 it not installing in android 12, 13 but its still working in below android version 12 devices
Error showing in android 12 and 13 is
This is the error message showing while clicking install
i tryed in this way:
*upgrading the version in gradle and sync the project
*clean project
*rebuild project
*i tryed in both wire debugging and apk build

Related

android app installs but i can't open on android 4.4.2

i have built an app in android studio.
Here is the story so far:
1) the app runs on all my android devices with 5.0 or higher. 2) the app runs in the emulator with Android 5.0 or higher AND android 4.4 as the OS
The issue is that it will not open and run on devices, that is an Android KitKat (Android 4.4.2). I can install the app and see it in the installed apps list, but I cannot OPEN the app, nor will it run on the device
I used the android studio to create the app. Here is the app Gradle.build file:
android {
compileSdkVersion 29
buildToolsVersion "29.0.2"
defaultConfig {
applicationId "com.app"
minSdkVersion 15
targetSdkVersion 29
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
You need set your project's target SDK version lower. In your project, you should set the target SDK version lower than 29.

Why android studio always install sdk plataform 26

I'm started developping to android with android studio and im targeting api 19 so i've configured all workstation to run around it
but even if i configure a project to api 19 always on every new project android studio forces me to download android sdk 26
the default generated gradle is like
compileSdkVersion 26
defaultConfig {
applicationId "com.tomatedigital.myapplication"
minSdkVersion 19
targetSdkVersion 26
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
My computer runs on ssd and i have low free space, but even if i had tons of GB free why am i forced to download something i dont want to use? is there a way to disable it?

minSdkVersion 15 com.google.android.gms:play-services:9.8.0

i'm using com.google.android.gms:play-services:9.8.0 inmy build gradle
and minSdkVersion 15 my app work's fine but in 5.0.2 android version
app refused to start

Play store not allowing to publish beta version with target sdk 23

i am trying to upload release as BETA version but every time it show this
error
it is forbidden to downgrade devices which previously used M
permissions (target SDK 23 and above) to APKs which use old style
permissions (target SDK 22 and below). This occurs in the change from
version 28 (target SDK 23) to version 25 (target SDK 21).
the gradle im using currently is
compileSdkVersion 23
buildToolsVersion '23.0.3'
defaultConfig {
minSdkVersion 15
targetSdkVersion 'N'
versionCode 29
versionName '1.12.5'
multiDexEnabled = true
}
please see the attach image. I also add M permissions in my app and i am still can't publish beta version Why?
Please help me to resolve this issue.
Thanks

forbidden to downgrade devices which previously used M permissions

Problem to publish app as Beta version i can upload and save as draft. Play store show me this error after release Save as draft.
It is forbidden to downgrade devices which previously used M permissions (target SDK 23 and above) to APKs which use old style permissions (target SDK 22 and below). This occurs in the change from version 28 (target SDK 23) to version 25 (target SDK 21).
But i didn't change my gradle at all. I just update my android studio with latest one. please help to fix this issue.
compileSdkVersion 23
buildToolsVersion '23.0.3'
defaultConfig {
minSdkVersion 15
targetSdkVersion 23
versionCode 29
versionName '1.12.5'
multiDexEnabled = true
}

Categories

Resources