Closed robertjuh closed 6 years ago
i tried starting the projects with react-native run-android
And most of the times i ended up with the following error (depending on the way i tried installing it, but this one is most common)
1 error
:react-native-webgl:compileReleaseJavaWithJavac FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':react-native-webgl:compileReleaseJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
I got it sort of working now but i get:
C:\Users\robert\ViroARSampleApp-master-rn-webgl-test\node_modules\react-native\Libraries\Core\ExceptionsManager.js:65 TypeError: Cannot read property 'getExtension' of undefined
This error is located at:
in WebGLViewComponent (at App.js:172)
in RCTView (at View.js:113)
in View (at App.js:170)
in ViroSample (at renderApplication.js:35)
in RCTView (at View.js:113)
in View (at AppContainer.js:102)
in RCTView (at View.js:113)
in View (at AppContainer.js:126)
in AppContainer (at renderApplication.js:34)
Seems like "gl" is undefined. Any ideas why that is?
I'm closing this issue as it's not clear exactly what the problem is
I have been trying to test out the THREEjs example provided in the "react-native-webgl-master\example\" directory, but cant get it to work.
Any guide available somewhere? Reproducing the guide on https://github.com/react-community/react-native-webgl doesnt lead to the desired result.