react-native-scoped-storage
react-native-scoped-storage copied to clipboard
Unable to run in Android.
Hi,
I updated my react-native project to minSdkVersion = 26 compileSdkVersion = 33 and targetSdkVersion = 33. I am getting the below error in Android. error: lambda expressions are not supported in -source 7 AsyncTask.execute(() -> { ^ (use -source 8 or higher to enable lambda expressions)
/node_modules/react-native-scoped-storage/android/src/main/java/com/ammarahmed/scopedstorage/RNScopedStorageModule.java:817
react-native-cli: 2.0.1 react-native: 0.68.7
Hi, You can try to change "Source Compatibility" and "Target Compatibility" of module in Android Studio.
Project Structure -> Modules
Hi,
I am having a JavaVersion.VERSION_1_8 for Source Compatibility and Target Compatibility of the module in Android Studio.
The same error for me with JAVA compat 1.8