i have updated my compileSdkversion from 27 to 29 and my app shows a blank screen i don't know why, when i reset it to sdk 27 it works fine and this is my build.gradle :
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt'
apply plugin: 'kotlin-android-extensions'
android {
compileSdkVersion 29
defaultConfig {
applicationId "com.mai.xapkinstaller"
minSdkVersion 17
targetSdkVersion 29
versionCode 98
versionName "4.9"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
//noinspection GradleCompatible
implementation 'com.android.support:appcompat-v7:27.1.1'
implementation 'com.nononsenseapps:filepicker:4.1.0'
testImplementation 'junit:junit:4.12'
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation "org.jetbrains.anko:anko-commons:$anko_version"
implementation 'com.android.support:cardview-v7:27.1.1'
implementation 'com.android.support:recyclerview-v7:27.0.0'
implementation 'com.facebook.android:audience-network-sdk:6.+'
}
repositories {
mavenCentral()
}
i need to know what i have done wrong please help me with this issue i'm stuck for more than 48hours
question from:
https://stackoverflow.com/questions/65875465/blank-screen-after-updating-the-compilesdkversion-from-27-to-29 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…