react-native-threads icon indicating copy to clipboard operation
react-native-threads copied to clipboard

React Native 0.62.1 Task :react-native-threads:compileDebugJavaWithJavac

Open davidkern13 opened this issue 5 years ago • 2 comments

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?

davidkern13 avatar Apr 04 '20 13:04 davidkern13

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

vitiaaap29 avatar May 18 '20 01:05 vitiaaap29

It's https://github.com/joltup/react-native-threads/issues/104 the fix

vitiaaap29 avatar May 18 '20 01:05 vitiaaap29