-
Notifications
You must be signed in to change notification settings - Fork 63
Cannot run in an emulator #352
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
Comments
This might be better asked on the forum. I have never seen this error before. Do you have a physical device to try in case it is emulator specific? Also, just in case it matters, what version of Android Studio are you using and what version of the NDK are you targeting? |
thanks @bghgary for helping. Android Studio Bumblebee - 2021.1.1 Patch 2 How are those |
Could somebody share versions of above programs that do work? |
Here are my Android Studio and NDK versions, and I didn't run into any issues last time I rebuilt: If I recall, the output .so is supposed to be included in the packaging by virtue of the project being pulled in as part of the RN auto linking. I don't think there is any Babylon React Native specific configuration for that if I recall. |
I wonder if something changed in the tooling and native libs are no longer automatically packaged in the app bundle or something? I saw some questions on Stack Overflow that sounded maybe similar, with some references to a gradle property called |
I installed Android Studio 4.1.3 and re-installed Babylon React Native from latest source. This is what I am getting right now on
Is this not meant to work on windows - it looks like the path separators are for linux/mac. Also When I run
It is opening the app very briefly. I can see the button for XR and then it crashes. Maybe this is progress since the errors are different?! |
Most of us run Android Studio on Windows. I don't know why you are seeing all of these issues. I'm using |
thanks it seems to work on a real device and not emulator. i managed to borrow a device, but I do not have an android device. does this mean that I cannot develop with an emulator - is anybody able to work with an emulator? |
@janpietersh can you try these steps for troubleshooting Android emulator issues? https://github.com/BabylonJS/BabylonNative/blob/master/Documentation/AndroidEmulator.md Specifically, check the OpenGL ES3 section first. We have a Babylon React Native related issue for getting this documented in a way that people can easily find it from the BRN docs, but we haven't addressed it yet. |
thanks @ryantrem - did not find that emulator link before! 😄 in addition I believe the path separators was because i was using a cmd instead of powershell. |
Describe the bug
Unable to open application on Android after following the install instructions for windows. I have been trying for a week now - have started over twice already.
To Reproduce
Steps to reproduce the behavior:
Screenshots
Other
The text was updated successfully, but these errors were encountered: