MasayukiSuda / CameraRecorder-android

Video Recording with Camera2 and apply video filter.
MIT License
254 stars 73 forks source link

Not working with Android 11 (R) #30

Open AndroidDeveloperMCT opened 4 years ago

AndroidDeveloperMCT commented 4 years ago

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

Thanks

lumos675 commented 3 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

AndroidDeveloperMCT commented 3 years ago

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