You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 4, 2021. It is now read-only.
HI ,
I am new to react-native i integrated react-native-workers as you mentioned in this repo i tried with manual as well as automatic. i am getting the below errors. i am unable to find any solution to resolve it. Please help me out to solve this problem.
import com.facebook.react.modules.core.JSTimersExecution;
^
symbol: class JSTimersExecution
location: package com.facebook.react.modules.core
C:\Users\Scketch\Desktop\scketch-chat\node_modules\react-native-workers\android\ src\main\java\co\apptailor\Worker\core\ReactContextBuilder.java:9: error: JSCJav aScriptExecutor is not public in com.facebook.react.bridge; cannot be accessed f rom outside package
import com.facebook.react.bridge.JSCJavaScriptExecutor;
^
C:\Users\Scketch\Desktop\scketch-chat\node_modules\react-native-workers\android\ src\main\java\co\apptailor\Worker\core\ReactContextBuilder.java:19: error: canno t find symbol
import com.facebook.react.devsupport.DevSupportManager;
^
symbol: class DevSupportManager
location: package com.facebook.react.devsupport
C:\Users\Scketch\Desktop\scketch-chat\node_modules\react-native-workers\android\ src\main\java\co\apptailor\Worker\core\ReactContextBuilder.java:29: error: canno t find symbol
private DevSupportManager devSupportManager;
^
symbol: class DevSupportManager
location: class ReactContextBuilder
C:\Users\Scketch\Desktop\scketch-chat\node_modules\react-native-workers\android\ src\main\java\co\apptailor\Worker\core\ReactContextBuilder.java:42: error: canno t find symbol
public ReactContextBuilder setDevSupportManager(DevSupportManager devSupport Manager) {
^
symbol: class DevSupportManager
location: class ReactContextBuilder
C:\Users\Scketch\Desktop\scketch-chat\node_modules\react-native-workers\android\ src\main\java\co\apptailor\Worker\core\ReactContextBuilder.java:128: error: cann ot find symbol
private void addJSModules(JavaScriptModuleRegistry.Builder jsModulesBuilder) {
^
symbol: class Builder
location: class JavaScriptModuleRegistry
C:\Users\Scketch\Desktop\scketch-chat\node_modules\react-native-workers\android\ src\main\java\co\apptailor\Worker\core\ReactContextBuilder.java:137: error: cann ot find symbol
private void addNativeModules(ReactApplicationContext reactContext, NativeMo duleRegistry.Builder nativeRegistryBuilder) {
^
symbol: class Builder
location: class NativeModuleRegistry
C:\Users\Scketch\Desktop\scketch-chat\node_modules\react-native-workers\android\ src\main\java\co\apptailor\Worker\WorkerModule.java:16: error: cannot find symbo l
import com.facebook.react.devsupport.DevSupportManager;
^
symbol: class DevSupportManager
location: package com.facebook.react.devsupport
C:\Users\Scketch\Desktop\scketch-chat\node_modules\react-native-workers\android\ src\main\java\co\apptailor\Worker\WorkerModule.java:188: error: cannot find symb ol
private DevSupportManager getDevSupportManager() {
^
symbol: class DevSupportManager
location: class WorkerModule
C:\Users\Scketch\Desktop\scketch-chat\node_modules\react-native-workers\android\ src\main\java\co\apptailor\Worker\core\BaseReactPackage.java:46: error: cannot f ind symbol
new SourceCodeModule(reactInstanceManager.getSourceUrl()),
^
symbol: method getSourceUrl()
location: variable reactInstanceManager of type ReactInstanceManager
C:\Users\Scketch\Desktop\scketch-chat\node_modules\react-native-workers\android\ src\main\java\co\apptailor\Worker\core\BaseReactPackage.java:61: error: method d oes not override or implement a method from a supertype @OverRide
^
C:\Users\Scketch\Desktop\scketch-chat\node_modules\react-native-workers\android\ src\main\java\co\apptailor\Worker\core\BaseReactPackage.java:65: error: cannot f ind symbol
JSTimersExecution.class,
^
symbol: class JSTimersExecution
location: class BaseReactPackage
C:\Users\Scketch\Desktop\scketch-chat\node_modules\react-native-workers\android\ src\main\java\co\apptailor\Worker\core\ReactContextBuilder.java:53: error: packa ge JSCJavaScriptExecutor does not exist
JavaScriptExecutor jsExecutor = new JSCJavaScriptExecutor.Factory().crea te(new WritableNativeMap());
^
C:\Users\Scketch\Desktop\scketch-chat\node_modules\react-native-workers\android\ src\main\java\co\apptailor\Worker\core\ReactContextBuilder.java:62: error: canno t find symbol
NativeModuleRegistry.Builder nativeRegistryBuilder = new NativeModuleReg istry.Builder();
^
symbol: class Builder
location: class NativeModuleRegistry
C:\Users\Scketch\Desktop\scketch-chat\node_modules\react-native-workers\android\ src\main\java\co\apptailor\Worker\core\ReactContextBuilder.java:62: error: canno t find symbol
NativeModuleRegistry.Builder nativeRegistryBuilder = new NativeModuleReg istry.Builder();
^
symbol: class Builder
location: class NativeModuleRegistry
C:\Users\Scketch\Desktop\scketch-chat\node_modules\react-native-workers\android\ src\main\java\co\apptailor\Worker\core\ReactContextBuilder.java:66: error: canno t find symbol
JavaScriptModuleRegistry.Builder jsModulesBuilder = new JavaScriptModule Registry.Builder();
^
symbol: class Builder
location: class JavaScriptModuleRegistry
C:\Users\Scketch\Desktop\scketch-chat\node_modules\react-native-workers\android\ src\main\java\co\apptailor\Worker\core\ReactContextBuilder.java:66: error: canno t find symbol
JavaScriptModuleRegistry.Builder jsModulesBuilder = new JavaScriptModule Registry.Builder();
^
symbol: class Builder
location: class JavaScriptModuleRegistry
C:\Users\Scketch\Desktop\scketch-chat\node_modules\react-native-workers\android\ src\main\java\co\apptailor\Worker\core\ReactContextBuilder.java:131: error: cann ot find symbol
for (Class<? extends JavaScriptModule> jsModuleClass : reactPackage. createJSModules()) {
^
symbol: method createJSModules()
location: variable reactPackage of type ReactPackage
C:\Users\Scketch\Desktop\scketch-chat\node_modules\react-native-workers\android\ src\main\java\co\apptailor\Worker\WorkerModule.java:180: error: no suitable meth od found for createFileLoader(ReactApplicationContext,String)
return JSBundleLoader.createFileLoader(getReactApplicationContext(), "as sets://workers/" + jsFileSlug + ".bundle");
^
method JSBundleLoader.createFileLoader(String) is not applicable
(actual and formal argument lists differ in length)
method JSBundleLoader.createFileLoader(String,String,boolean) is not applica ble
(actual and formal argument lists differ in length)
C:\Users\Scketch\Desktop\scketch-chat\node_modules\react-native-workers\android\ src\main\java\co\apptailor\Worker\WorkerPackage.java:21: error: method does not override or implement a method from a supertype @OverRide
^
20 errors
:react-native-workers:compileReleaseJavaWithJavac FAILED
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':react-native-workers:compileReleaseJavaWithJavac'.
Compilation failed; see the compiler error output for details.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 1 mins 21.781 secs
Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment: https://facebook.github.io/react-native/docs/getting-started.html
The text was updated successfully, but these errors were encountered:
HI ,
I am new to react-native i integrated react-native-workers as you mentioned in this repo i tried with manual as well as automatic. i am getting the below errors. i am unable to find any solution to resolve it. Please help me out to solve this problem.
import com.facebook.react.modules.core.JSTimersExecution;
^
symbol: class JSTimersExecution
location: package com.facebook.react.modules.core
C:\Users\Scketch\Desktop\scketch-chat\node_modules\react-native-workers\android\ src\main\java\co\apptailor\Worker\core\ReactContextBuilder.java:9: error: JSCJav aScriptExecutor is not public in com.facebook.react.bridge; cannot be accessed f rom outside package
import com.facebook.react.bridge.JSCJavaScriptExecutor;
^
C:\Users\Scketch\Desktop\scketch-chat\node_modules\react-native-workers\android\ src\main\java\co\apptailor\Worker\core\ReactContextBuilder.java:19: error: canno t find symbol
import com.facebook.react.devsupport.DevSupportManager;
^
symbol: class DevSupportManager
location: package com.facebook.react.devsupport
C:\Users\Scketch\Desktop\scketch-chat\node_modules\react-native-workers\android\ src\main\java\co\apptailor\Worker\core\ReactContextBuilder.java:29: error: canno t find symbol
private DevSupportManager devSupportManager;
^
symbol: class DevSupportManager
location: class ReactContextBuilder
C:\Users\Scketch\Desktop\scketch-chat\node_modules\react-native-workers\android\ src\main\java\co\apptailor\Worker\core\ReactContextBuilder.java:42: error: canno t find symbol
public ReactContextBuilder setDevSupportManager(DevSupportManager devSupport Manager) {
^
symbol: class DevSupportManager
location: class ReactContextBuilder
C:\Users\Scketch\Desktop\scketch-chat\node_modules\react-native-workers\android\ src\main\java\co\apptailor\Worker\core\ReactContextBuilder.java:128: error: cann ot find symbol
private void addJSModules(JavaScriptModuleRegistry.Builder jsModulesBuilder) {
^
symbol: class Builder
location: class JavaScriptModuleRegistry
C:\Users\Scketch\Desktop\scketch-chat\node_modules\react-native-workers\android\ src\main\java\co\apptailor\Worker\core\ReactContextBuilder.java:137: error: cann ot find symbol
private void addNativeModules(ReactApplicationContext reactContext, NativeMo duleRegistry.Builder nativeRegistryBuilder) {
^
symbol: class Builder
location: class NativeModuleRegistry
C:\Users\Scketch\Desktop\scketch-chat\node_modules\react-native-workers\android\ src\main\java\co\apptailor\Worker\WorkerModule.java:16: error: cannot find symbo l
import com.facebook.react.devsupport.DevSupportManager;
^
symbol: class DevSupportManager
location: package com.facebook.react.devsupport
C:\Users\Scketch\Desktop\scketch-chat\node_modules\react-native-workers\android\ src\main\java\co\apptailor\Worker\WorkerModule.java:188: error: cannot find symb ol
private DevSupportManager getDevSupportManager() {
^
symbol: class DevSupportManager
location: class WorkerModule
C:\Users\Scketch\Desktop\scketch-chat\node_modules\react-native-workers\android\ src\main\java\co\apptailor\Worker\core\BaseReactPackage.java:46: error: cannot f ind symbol
new SourceCodeModule(reactInstanceManager.getSourceUrl()),
^
symbol: method getSourceUrl()
location: variable reactInstanceManager of type ReactInstanceManager
C:\Users\Scketch\Desktop\scketch-chat\node_modules\react-native-workers\android\ src\main\java\co\apptailor\Worker\core\BaseReactPackage.java:61: error: method d oes not override or implement a method from a supertype
@OverRide
^
C:\Users\Scketch\Desktop\scketch-chat\node_modules\react-native-workers\android\ src\main\java\co\apptailor\Worker\core\BaseReactPackage.java:65: error: cannot f ind symbol
JSTimersExecution.class,
^
symbol: class JSTimersExecution
location: class BaseReactPackage
C:\Users\Scketch\Desktop\scketch-chat\node_modules\react-native-workers\android\ src\main\java\co\apptailor\Worker\core\ReactContextBuilder.java:53: error: packa ge JSCJavaScriptExecutor does not exist
JavaScriptExecutor jsExecutor = new JSCJavaScriptExecutor.Factory().crea te(new WritableNativeMap());
^
C:\Users\Scketch\Desktop\scketch-chat\node_modules\react-native-workers\android\ src\main\java\co\apptailor\Worker\core\ReactContextBuilder.java:62: error: canno t find symbol
NativeModuleRegistry.Builder nativeRegistryBuilder = new NativeModuleReg istry.Builder();
^
symbol: class Builder
location: class NativeModuleRegistry
C:\Users\Scketch\Desktop\scketch-chat\node_modules\react-native-workers\android\ src\main\java\co\apptailor\Worker\core\ReactContextBuilder.java:62: error: canno t find symbol
NativeModuleRegistry.Builder nativeRegistryBuilder = new NativeModuleReg istry.Builder();
^
symbol: class Builder
location: class NativeModuleRegistry
C:\Users\Scketch\Desktop\scketch-chat\node_modules\react-native-workers\android\ src\main\java\co\apptailor\Worker\core\ReactContextBuilder.java:66: error: canno t find symbol
JavaScriptModuleRegistry.Builder jsModulesBuilder = new JavaScriptModule Registry.Builder();
^
symbol: class Builder
location: class JavaScriptModuleRegistry
C:\Users\Scketch\Desktop\scketch-chat\node_modules\react-native-workers\android\ src\main\java\co\apptailor\Worker\core\ReactContextBuilder.java:66: error: canno t find symbol
JavaScriptModuleRegistry.Builder jsModulesBuilder = new JavaScriptModule Registry.Builder();
^
symbol: class Builder
location: class JavaScriptModuleRegistry
C:\Users\Scketch\Desktop\scketch-chat\node_modules\react-native-workers\android\ src\main\java\co\apptailor\Worker\core\ReactContextBuilder.java:131: error: cann ot find symbol
for (Class<? extends JavaScriptModule> jsModuleClass : reactPackage. createJSModules()) {
^
symbol: method createJSModules()
location: variable reactPackage of type ReactPackage
C:\Users\Scketch\Desktop\scketch-chat\node_modules\react-native-workers\android\ src\main\java\co\apptailor\Worker\WorkerModule.java:180: error: no suitable meth od found for createFileLoader(ReactApplicationContext,String)
return JSBundleLoader.createFileLoader(getReactApplicationContext(), "as sets://workers/" + jsFileSlug + ".bundle");
^
method JSBundleLoader.createFileLoader(String) is not applicable
(actual and formal argument lists differ in length)
method JSBundleLoader.createFileLoader(String,String,boolean) is not applica ble
(actual and formal argument lists differ in length)
C:\Users\Scketch\Desktop\scketch-chat\node_modules\react-native-workers\android\ src\main\java\co\apptailor\Worker\WorkerPackage.java:21: error: method does not override or implement a method from a supertype
@OverRide
^
20 errors
:react-native-workers:compileReleaseJavaWithJavac FAILED
FAILURE: Build failed with an exception.
Execution failed for task ':react-native-workers:compileReleaseJavaWithJavac'.
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 1 mins 21.781 secs
Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/getting-started.html
The text was updated successfully, but these errors were encountered: