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

unable to run sample Application

Open arvindkkore opened this issue 8 years ago • 5 comments

I followed the process given with tutorial ,but gettting following error

\node_modules\react-native-workers\android\src\main\java\co\apptailor\Worker\WorkerModule.java:180: error: cannot find symbol return JSBundleLoader.createFileLoader(getReactApplicationContext(), "assets://workers/" + jsFileSlug + ".bundle");

arvindkkore avatar Sep 08 '16 11:09 arvindkkore

Same here

yuvalsegev avatar Sep 14 '16 14:09 yuvalsegev

Same here

sundou avatar Dec 07 '16 03:12 sundou

any solutions? getting the same error. opened android studio and saw the main application was giving a package error. fixed that as per the installation docs but getting more package errors for the ReactContextBuilder java file

screen shot 2017-01-10 at 9 36 29 pm

amanthegreatone avatar Jan 10 '17 15:01 amanthegreatone

@amanthegreatone I fixed the package errors following this -> https://github.com/devfd/react-native-workers/pull/24/commits/dce4185918f269dc9d3b877f94c23c6185ff0af2

@arvindkkore I m stuck at the same place

ousat avatar Mar 13 '17 12:03 ousat

I fixed it , @arvindkkore have worker.js where you have your index.android.js , restart the react-native start and it runs fine , follow the changes I posted above

dont forget to kill the react-native server and start again everytime you change worker.js file

ousat avatar Mar 13 '17 12:03 ousat