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

[BUG] Libsu dependency needed #9

Closed
javichaques opened this issue Feb 1, 2023 · 1 comment
Closed

[BUG] Libsu dependency needed #9

javichaques opened this issue Feb 1, 2023 · 1 comment

Comments

@javichaques
Copy link

Bug description

I''m using Kevlar Rooting v1.1.0 and i'm getting this error when attestate targets

java.lang.NoClassDefFoundError: Failed resolution of: Lcom/topjohnwu/superuser/Shell;
at com.kevlar.rooting.shell.DumperKt$BinaryDump$2$shellId$3.invokeSuspend(Dumper.kt:120)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42)
at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)

To solve this error I had to implement this library (libsu)
I have seen in the code that this library is implemented but the Maven version does not have it as a dependency
https://mvnrepository.com/artifact/io.github.kevlar-kt/rooting/1.1.0

@cioccarellia
Copy link
Member

Sorry for the delay!
I could just reproduce this error. It's weird because the library has libsu as a dependency, and it runs fine by itself.
I could add to the docs a note, to add the dependency if you depend on the rooting module, but I feel it should work as it is now.

(Also, Maven doesn't show any of the actual dependencies as dependency on their website, so no clue what's wrong there)

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

No branches or pull requests

2 participants