[Android] NativeModules Runtime Error
See original GitHub issue03-14 13:39:49.251 6001-6036/? E/AndroidRuntime: FATAL EXCEPTION: mqt_native_modules
Process: com.fbtmobile, PID: 6001
com.facebook.react.common.JavascriptException: Requiring unknown module "NativeModules"., stack:
o@2:742
n@2:426
i@2:348
t@2:210
exports@759:402
<unknown>@446:6937
n@2:557
i@2:348
t@2:210
<unknown>@445:30
n@2:557
i@2:348
t@2:210
<unknown>@365:208
n@2:557
i@2:348
t@2:210
<unknown>@12:38
n@2:557
i@2:278
t@2:210
global code@1087:9
at com.facebook.react.modules.core.ExceptionsManagerModule.showOrThrowError(ExceptionsManagerModule.java:97)
at com.facebook.react.modules.core.ExceptionsManagerModule.reportFatalException(ExceptionsManagerModule.java:81)
at java.lang.reflect.Method.invoke(Native Method)
at com.facebook.react.bridge.BaseJavaModule$JavaMethod.invoke(BaseJavaModule.java:319)
at com.facebook.react.cxxbridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:158)
at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method)
at android.os.Handler.handleCallback(Handler.java:815)
at android.os.Handler.dispatchMessage(Handler.java:104)
at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:31)
at android.os.Looper.loop(Looper.java:207)
at com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(MessageQueueThreadImpl.java:196)
at java.lang.Thread.run(Thread.java:818)
It’s happening when I try to release an .apk file following the docs: https://facebook.github.io/react-native/docs/signed-apk-android.html
react-native version: 0.41.2
Issue Analytics
- State:
- Created 7 years ago
- Reactions:3
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Exception in 'NativeModules': java.lang.RuntimeException ...
RuntimeException: Got unknown argument class: Object ... I am trying to call a native ReactMethod from react native but it is throwing the...
Read more >Android Native Modules
Android studio is an IDE built for Android development and using it will help you resolve minor issues like code syntax errors quickly....
Read more >Android Guide to TurboModules in React Native for Early ...
Finally, at app startup, all native modules needed to be loaded into memory. ... EDIT: Users of React-Native 0.69.0 will see false errors...
Read more >Implementing Bridging For Android Native Modules
In the above code, success and error callbacks are assigned to the class level callbacks , so that they can be accessed from...
Read more >Enforcing Product Partition Interfaces | Android Open Source ...
Native modules in the product partition to link: ... then look for build and runtime errors and resolve them. To check the device...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Same issue with
0.42.0
@brunocascio / @marcoacierno - i’m having this exact issue w/ 0.42.0. - however i’m not seeing a
reactotron
dependency. Any more explanation why production builds fail with this exception?