Reputation: 1
error 1
"Could not get BatchedBridge, make sure your bundle is packaged properly"
error 2
after error 1 press Reload(R,R)
Upvotes: 0
Views: 140
Reputation: 133
Try running these inside project directory for the BundleBridge issue:
react-native start > /dev/null 2>&1 &
mkdir android/app/src/main/assets
curl "http://localhost:8081/index.android.bundle?platform=android" -o "android/app/src/main/assets/index.android.bundle"
For error 2, try
adb reverse tcp:8081 tcp:8081
After the react-native run-android command has completed, then retry R+R
Upvotes: 1