-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UnhandledPromiseRejectionWarning: Error: spawn EACCES #21
Comments
Did you add the plugins listed in the docs?
|
I woudl thing running
|
Yep, looks good! Can you open the project in android studio and run it manually? I feel like I ran into this a while back and it was a problem with gradle. |
It prompted me to upgrade to Gradle 3.1.0 so doing that now. |
Hmm Android Studio did not work either :(
|
IOS
|
When i craeted new project, and just copy the www over i manage to get it compilied. but now I get |
I didn't need to use crosswalk on Android, but I did change ln.42 from Howver, I'm getting CORS errors on iOS loading the map tiles ( issue #20 ) |
On IOS the app wont even run just dies after executing it.
And there is no console.log file either :( |
Turns out it's new Xcode 9.3 issue you can make it run using
! |
Cool! And are you able to view the map on iOS? I just get an empty map container with controls, but no tiles... |
IOS It seem the Android can not detect WebGL and complains about it, but the WebView def has WebGL support ( goging to http://html5test.com/s/823f29378ed7958e.html show it's ON) |
Ha, this whole time I was testing iOS on an actual device... when I boot to the emulator (or a newer device) I get the correct results! (UGH... I wasted a whole week on this!!) So I'm testing android on a 7.0 device. What OS version is your android emulator set to? |
I am testing Pixel_2_API_26 |
I just tested Pixel_2_API_26 and get your same results... the same code works on my device. is webgl disabled on emulators? I don't have any other android devices to test on right now. |
Its not disable use DevTool to go to http://html5test.com/s/823f29378ed7958e.html in the same Cordova WebView and you will see its ON. |
I can confirm it works on real device Pixel 1 👍 |
I just added a comment to the README file stating that the android emulator doesn't display webgl content. Also replaced the arrow function in https://github.com/oscarfonts/mapbox-gl-cordova-offline/blob/master/www/index.html#L42 About the iOS issue. I have little iOS experience and no real device. I understand it has to do with some specific iOS or hardware version, but don't get exactly which ones. Could you state exactly in which environment the error arises and how did you overcome it? Thanks! |
I'll do some more testing after the weekend, but it looks like iOS 10 is the minimum version (hardware & emulator). |
Hello,
When I download your repo and run
all seem fine but having issue with :
Any idea?
Thanks
The text was updated successfully, but these errors were encountered: