react-native-threads
react-native-threads copied to clipboard
React Native 0.62.1 Task :react-native-threads:compileDebugJavaWithJavac
Hello, after installation and configuration, when I am run the app I get the next Error!
> Task :react-native-threads:compileDebugJavaWithJavac
> Task :react-native-threads:compileDebugJavaWithJavac FAILED
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
How to resolve it?
I have the same issue. I use "react-native": "0.61.5".
/android/src/main/java/com/reactlibrary/ThreadBaseReactPackage.java:10: error: cannot find symbol import com.facebook.react.modules.core.TimingModule; ^ symbol: class TimingModule location: package com.facebook.react.modules.core /Users/viktar/projects/poce-rn/node_modules/react-native-threads/android/src/main/java/com/reactlibrary/ThreadBaseReactPackage.java:40: error: cannot find symbol new TimingModule(catalystApplicationContext, reactInstanceManager.getDevSupportManager()), ^ symbol: class TimingModule location: class ThreadBaseReactPackage /Users/viktar/projects/poce-rn/node_modules/react-native-threads/android/src/main/java/com/reactlibrary/ThreadBaseReactPackage.java:52: error: constructor DevSettingsModule in class DevSettingsModule cannot be applied to given types; new DevSettingsModule(catalystApplicationContext, reactInstanceManager.getDevSupportManager()) ^ required: DevSupportManager found: ReactApplicationContext,DevSupportManager reason: actual and formal argument lists differ in length 3 errors
It's https://github.com/joltup/react-native-threads/issues/104 the fix