Monday, 24 April 2017

Could not get BatchedBridge, make sure your bundle is packaged correctly

i am having problem with react-native in Android (Could not get BatchedBridge, make sure your bundle is packaged correctly ) enter image description here

i tried everything : update npm , react-native ,react and all dependencies in package.json to last versions , i removed node_modules and reinstall it again , clear cache ... atc

error log

 04-25 01:34:53.002 22228-22341/com.test.store E/unknown:React: Exception in native call from JS
                                                               com.facebook.react.devsupport.JSException: Could not get BatchedBridge, make sure your bundle is packaged correctly
                                                                   at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method)
                                                                   at android.os.Handler.handleCallback(Handler.java:751)
                                                                   at android.os.Handler.dispatchMessage(Handler.java:95)
                                                                   at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:31)
                                                                   at android.os.Looper.loop(Looper.java:154)
                                                                   at com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(MessageQueueThreadImpl.java:196)
                                                                   at java.lang.Thread.run(Thread.java:761)
                                                                Caused by: com.facebook.jni.CppException: Could not get BatchedBridge, make sure your bundle is packaged correctly
                                                                   at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method) 
                                                                   at android.os.Handler.handleCallback(Handler.java:751) 
                                                                   at android.os.Handler.dispatchMessage(Handler.java:95) 
                                                                   at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:31) 
                                                                   at android.os.Looper.loop(Looper.java:154) 
                                                                   at com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(MessageQueueThreadImpl.java:196) 
                                                                   at java.lang.Thread.run(Thread.java:761) 



via OsamahM

No comments:

Post a Comment