CameraRecorder-android icon indicating copy to clipboard operation
CameraRecorder-android copied to clipboard

Not working with Android 11 (R)

Open AndroidDeveloperMCT opened this issue 5 years ago • 2 comments

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

Thanks

AndroidDeveloperMCT avatar Nov 03 '20 07:11 AndroidDeveloperMCT

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 avatar Feb 08 '21 20:02 lumos675

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

AndroidDeveloperMCT avatar Feb 09 '21 08:02 AndroidDeveloperMCT