gpt4 book ai didi

react-native - Flipper:Flipper Hermes 调试器不显示

转载 作者:行者123 更新时间:2023-12-04 04:07:54 26 4
gpt4 key购买 nike

鳍状肢 Hermes debugger不显示

请问怎么让他正常显示?

react-native:0.62.2(从0.61更新到0.62.2)

https://fbflipper.com/

https://reactnative.dev/docs/hermes

错误信息:

Metro is connected but no Hermes apps were found.

Open a React Native screen with Hermes enabled to connect. Note: you may need to reload the app in order to reconnect the device to Metro.

enter image description here

enter image description here

最佳答案

在 android/app/build.gradle 文件中遵循这个

project.ext.react = [
entryFile: "index.js",
enableHermes: true
]
这在 proguard-rules.pro 文件中
-keep class com.facebook.hermes.unicode.** { *; }
-keep class com.facebook.jni.** { *; }

$ cd android && ./gradlew clean
为我工作

关于react-native - Flipper:Flipper Hermes 调试器不显示,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62219074/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com