Skip to content
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

Couldn't get the native call queue: bridge configuration isn't available #7091

Closed
vikeri opened this issue Apr 20, 2016 · 3 comments
Closed
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@vikeri
Copy link
Contributor

vikeri commented Apr 20, 2016

Mac, RN@master (887c275), Android

Compiled the UIExampleProject with:

./gradlew :Examples:UIExplorer:android:app:installDebug assembleRelease in react-native/

Then sent this apk to my Android device and installed it.

Thought I was going to get the app for offline use since there are no special instructions here for that Running on Device - Android as there are here Running on Device - iOS.

Mostly I am here to pick up the trophy:

screenshot_20160419-180732

@fikisipi
Copy link

fikisipi commented Apr 20, 2016

This is actually a very common error, but the error message has recently been changed: (commit c24fae9 )

The previous error was a JS trace saying "__fbBatchedBridge" is not defined which is caused due to no packager running (or faulty packer running). You may find info here:

I would suggest:

  • reinstall the whole RN stack (rm node_modules && npm install)
  • if you are using watchman, uninstall it or reinstall it
  • make sure you are running the packer ./packager/packager.sh
  • make sure the correct IP/port is set in the app debug settings

This obviously assumes that you want the debug build, which does not have the bundle (and you must run the packager). If you want an app with bundle it's different.

@vikeri vikeri closed this as completed Apr 20, 2016
@vikeri
Copy link
Contributor Author

vikeri commented Apr 26, 2016

What worked was to rm -rf node_modules && npm install

@giantelk
Copy link

I deleted /node_modules/ ran npm install, had to fix error where react-native 0.26.2 was looking for react 15.0.2, but it installed react 15.1., so I removed the ^ from this line in package.json ``"react": "^15.0.2"`.

THEN... error still appears in emulator/app:

Couldn't get the native call queue: bridge configuration isn't available. this probably indicates there was an issue loading the JS bundle, e.g. it wasn't packaged into the app or was malformed. Check your logs ('adb logcat') for more information.

@facebook facebook locked as resolved and limited conversation to collaborators May 24, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

4 participants