question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Java exception in 'NativeModules' java.lang.NoClassDefFoundError: android/bluetooth/le/ScanRecord

See original GitHub issue

Version

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

  1. 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:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
JackClowncommented, Apr 24, 2019

Catch the same problem.I find that android.bluetooth.le.ScanRecord is added in API level 21.

0reactions
marcosinigagliacommented, Jun 25, 2019

Hi @shengliZh , can you try the latest release?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found