joltup / react-native-threads

Create new JS processes for CPU intensive work
MIT License
756 stars 142 forks source link

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

Open davidkern13 opened 4 years ago

davidkern13 commented 4 years ago

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?

vitiaaap29 commented 4 years ago

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 commented 4 years ago

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