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
Installing dev client on android works fine but crashes when enabling remote debugging #15436
Comments
okay so I believe I am not supposed to enable remote debugging. I am seeing console logs in flipper but Hermes debugger is not working and getting this error: |
I am getting the same issue. |
Thank you for filing this issue! |
Thanks @ramiel1999. https://github.com/ramiel1999/eas-trial-error doesn't include expo-dev-client, but I was able to reproduce on my own. |
So is this an android bug only? Is it working with ios? I am asking because i was following one of expo’s blogs: Is there anyway to debug a managed expo workflow with flipper on android currently? it is just that most packages use rn-reanimated and it is really getting tough not to see my redux state and do general debugging |
@ramiel1999 yes, this is an Android only issue. If you are trying to use Flipper (which will be required anyway if you are attempting to reanimated v2) then you do not need to enable remote debugging and you can just follow the guide in that post. (This is a useful workaround for anyone else encountering this issue) |
@ramiel1999, you're using the managed workflow and SDK 43, so your built app will contain the For now, I will close that. If the same problem occurs with SDK 44 and the newest |
Hello likmccall, I tried it with sdk 44 and the same issue. I believe it is a windows vs macos issue. I tried debugging with flipper on my friend's mac and it worked; however when I try it on my windows it doesnt work. Please try creating a development build and try to debug it on a windows machine. Do you get the same error mensioned this issue? Is there a workaround for it with expo? |
Ok, I don't have a windows machine right now. So I can't debug this on my own, but I have the following question for you. You said that the Hermes debugger doesn't work, but I don't see a js engine specification in your |
Yeah I am sorry I changed that later, but did not update the repo. My bad. However the error is after changing the engine. If the engine was still jsc, i would get something like: “No Hermes app was detected”, but that is not the issue because i changed the engine to hermes. |
Will try, but this may take a while ;) |
any news? |
I wasn't able to reproduce that behavior. Everything was working on my end. Could you try to run the |
You were able to debug an eas development build with flipper on a windows machine? I will try again this weekend with sdk 44 and if it doesn not work i will paste the output of the expo start with --tunnel flag |
is it possible to share the github repo of the demo app you created? |
This issue is stale because it has been open for 60 days with no activity. If there is no activity in the next 7 days, the issue will be closed. |
I believe that the crash is caused by the vendored reanimated. We will bump the reanimated version hopefully before the next release. That should fix that crash. |
Issue persists in SDK 45 with Flipper 0.144.0. Android here too. |
This issue is stale because it has been open for 60 days with no activity. If there is no activity in the next 7 days, the issue will be closed. |
This issue is stale because it has been open for 60 days with no activity. If there is no activity in the next 7 days, the issue will be closed. |
This issue was closed because it has been inactive for 7 days since being marked as stale. Please open a new issue if you believe you are encountering a related problem. |
Summary
I am trying to use a custom development build to be able to debug with flipper; however, when opening the downloaded apk on my android device and enableing remote debugging the apps crashes directly
Managed or bare workflow? If you have made manual changes inside of the
ios/
orandroid/
directories in your project, the answer is bare!managed
What platform(s) does this occur on?
Android
Package versions
Environment
Expo CLI 4.12.12 environment info:
System:
OS: Windows 10 10.0.18362
Binaries:
Node: 14.16.0 - C:\Program Files\nodejs\node.EXE
npm: 6.14.11 - C:\Program Files\nodejs\npm.CMD
IDEs:
Android Studio: Version 2020.3.0.0 AI-203.7717.56.2031.7678000
npmPackages:
expo: ~43.0.2 => 43.0.3
react: 17.0.1 => 17.0.1
react-dom: 17.0.1 => 17.0.1
react-native: 0.64.3 => 0.64.3
react-native-web: 0.17.1 => 0.17.1
Expo Workflow: managed
Reproducible demo
https://github.com/ramiel1999/eas-trial-error
Stacktrace (if a crash is involved)
No response
The text was updated successfully, but these errors were encountered: