Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working with Android 11 (R) #30

Open
AndroidDeveloperMCT opened this issue Nov 3, 2020 · 2 comments
Open

Not working with Android 11 (R) #30

AndroidDeveloperMCT opened this issue Nov 3, 2020 · 2 comments

Comments

@AndroidDeveloperMCT
Copy link

Can anyone please let me know, how to make it work with Android 11?

Thanks

@lumos675
Copy link

lumos675 commented Feb 8, 2021

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

@AndroidDeveloperMCT
Copy link
Author

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants