我已經從git安裝了新的應用程序,但我有這個紅色屏幕錯誤可以幫助我一些人。react-native紅色屏幕錯誤
ReferenceError: Can't find variable: process (http://10.0.3.2:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:2506)
E/unknown:React(2312):
E/unknown:React(2312): Try the following to fix the issue: E/unknown:React(2312): • Ensure that the packager server is running E/unknown:React(2312): • Ensure that your device/emulator is connected to your machine and has USB debugging enabled - run 'adb devices' to see a list of connected devices
E/unknown:React(2312): • Ensure Airplane Mode is disabled E/unknown:React(2312): • If you're on a physical device connected to the same machine, run 'adb reverse tcp:8081 tcp:8081' to forward requests from your device
E/unknown:React(2312): • If your device is on the same Wi-Fi network, set 'Debug server host & port for device' in 'Dev settings' to your machine's IP address and the port of the local dev server - e.g. 10.0.1.1:8081
此輸出是adb logcat。
我創建了GitHub的問題,任何一個可以參考isssue
您好我已經嘗試過那些步驟還與基本模擬器。它有同樣的問題 – santhosh