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

java.lang.NoClassDefFoundError #19

Open
jobayerjim9 opened this issue Jun 29, 2021 · 1 comment
Open

java.lang.NoClassDefFoundError #19

jobayerjim9 opened this issue Jun 29, 2021 · 1 comment

Comments

@jobayerjim9
Copy link

java.lang.NoClassDefFoundError: Failed resolution of: Lkotlin/text/Regex;
what is the cause for this error?

Code is below
mNearDiscovery = new NearDiscovery.Builder()
.setContext(this)
.setDiscoverableTimeoutMillis(60000)
.setDiscoveryTimeoutMillis(60000)
.setDiscoverablePingIntervalMillis(1000)
.setDiscoveryListener(getNearDiscoveryListener(), Looper.getMainLooper())

            .build();
    mNearDiscovery.makeDiscoverable("Abcd","");
@Fgdou
Copy link

Fgdou commented May 5, 2023

Add this dependency to you gradle file :

implementation 'io.reactivex.rxjava2:rxjava:2.1.8'

This worked for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants