Java exception in 'NativeModules' java.lang.NoClassDefFoundError: android/bluetooth/le/ScanRecord
See original GitHub issueVersion
Tell us which versions you are using:
- react-native-ble-manager v6.5.6
- react-native v0.56
- iOS/Android Android4.4.2
Expected behaviour
Open app will crash
Actual behaviour
Java exception in ‘NativeModules’ java.lang.NoClassDefFoundError: android/bluetooth/le/ScanRecord
Steps to reproduce
- Open app
Stack trace and console log
Hint: it would help a lot if you enable the debugger (“Pause on exceptions” in the “Source” panel of Chrome dev tools) and spot the place where the error is thrown
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Solve Exception in thread "main" java.lang ... - Stack Overflow
your stack trace states that class javax.mail.MessagingException cannot be found. make sure you have the Java libraries on classpath that ...
Read more >Exception in thread "main" java.lang.NoClassDefFoundError
NoClassDefFoundError is a common error in Java that occurs if a ClassLoader cannot find a particular class in the classpath while trying to...
Read more >ClassNotFoundException Vs. NoClassDefFoundError In Java
ClassNotFoundException and NoClassDefFoundError seem the same. But they share a few differences that all Java developers must know.
Read more >How to Solve java.lang.ClassNotFoundException in Java?
ClassNotFoundException is a checked exception and occurs when the Java Virtual Machine (JVM) tries to load a particular class and the ...
Read more >Common Java Exceptions - J-Integra
java.lang.NoClassDefFoundError: com/linar/jintact/Helper. Your CLASSPATH environment variable does not include the J-Integra runtime (jintegra.
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 FreeTop 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
Top GitHub Comments
Catch the same problem.I find that
android.bluetooth.le.ScanRecord
is added in API level 21.Hi @shengliZh , can you try the latest release?