Open AndroidDeveloperMCT opened 4 years ago
go to gradle.build file(Main) and use
dependencies {
classpath 'com.android.tools.build:gradle:4.1.2'
}
then go to gradle-wrapper.properties change distributionUrl to
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8-all.zip
ok now go to build.gradle(inside app folder)
and change targetSdkVersion to 30
and change compileSdkVersion 30
@lumos675 I've already tried something similar above in December, but not working as Android 11 expecting scoped storage and we cannot opt-out using 'android:requestLegacyExternalStorage="true"' anyway thanks for the answer.
Can anyone please let me know, how to make it work with Android 11?
Thanks