java 日志报错

stephen2017
  • 2
新手上路,请多包涵
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
一月 30, 2021 9:13:10 下午 com.github.unidbg.linux.ARM32SyscallHandler openat
信息: openat dirfd=-100, pathname=/proc/self/exe, oflags=0x20000, mode=0
一月 30, 2021 9:13:10 下午 com.github.unidbg.linux.ARM32SyscallHandler openat
信息: openat dirfd=-100, pathname=/proc/22772/status, oflags=0x20000, mode=0
一月 30, 2021 9:13:10 下午 com.github.unidbg.linux.ARM32SyscallHandler stat64
信息: stat64 pathname=/data/data/org.autojs.autojs, LR=RX@0x4003c41b[libcms.so]0x3c41b
一月 30, 2021 9:13:10 下午 com.github.unidbg.linux.ARM32SyscallHandler stat64
信息: stat64 pathname=/data/data/yk.juejin, LR=RX@0x4003c46d[libcms.so]0x3c46d
一月 30, 2021 9:13:10 下午 com.github.unidbg.linux.ARM32SyscallHandler stat64
信息: stat64 pathname=/data/data/com.cyjh.mobileanjian, LR=RX@0x4003c4c3[libcms.so]0x3c4c3
一月 30, 2021 9:13:10 下午 com.github.unidbg.linux.ARM32SyscallHandler stat64
信息: stat64 pathname=/data/data/com.cyjh.mobileanjianen, LR=RX@0x4003c513[libcms.so]0x3c513
一月 30, 2021 9:13:10 下午 com.github.unidbg.linux.ARM32SyscallHandler stat64
信息: stat64 pathname=/data/data/com.touchsprite.android, LR=RX@0x4003c563[libcms.so]0x3c563
一月 30, 2021 9:13:10 下午 com.github.unidbg.linux.ARM32SyscallHandler stat64
信息: stat64 pathname=/data/data/com.touchspriteent.android, LR=RX@0x4003c5b1[libcms.so]0x3c5b1
一月 30, 2021 9:13:10 下午 com.github.unidbg.linux.ARM32SyscallHandler stat64
信息: stat64 pathname=/data/data/net.aisence.Touchelper, LR=RX@0x4003c601[libcms.so]0x3c601
一月 30, 2021 9:13:10 下午 com.github.unidbg.linux.ARM32SyscallHandler stat64
信息: stat64 pathname=/data/data/com.touch.fairy, LR=RX@0x4003c64f[libcms.so]0x3c64f
一月 30, 2021 9:13:10 下午 com.github.unidbg.linux.ARM32SyscallHandler stat64
信息: stat64 pathname=/data/data/com.zdanjian.zdanjian, LR=RX@0x4003c69f[libcms.so]0x3c69f
一月 30, 2021 9:13:10 下午 com.github.unidbg.linux.ARM32SyscallHandler stat64
信息: stat64 pathname=/data/data/simplehat.clicker, LR=RX@0x4003c6ed[libcms.so]0x3c6ed
一月 30, 2021 9:13:10 下午 com.github.unidbg.linux.ARM32SyscallHandler stat64
信息: stat64 pathname=/dev/input/event0, LR=RX@0x4003cbd3[libcms.so]0x3cbd3
一月 30, 2021 9:13:10 下午 com.github.unidbg.linux.ARM32SyscallHandler openat
信息: openat dirfd=-100, pathname=/proc/self/cmdline, oflags=0x20000, mode=0
JNIEnv->FindClass(com/ss/sys/ces/a) was called from RX@0x40003af3[libcms.so]0x3af3
JNIEnv->RegisterNatives(com/ss/sys/ces/a, unidbg@0xbffff5d0, 4) was called from RX@0x40003ef5[libcms.so]0x3ef5
RegisterNative(com/ss/sys/ces/a, meta(ILandroid/content/Context;Ljava/lang/Object;)Ljava/lang/Object;, RX@0x40064a71[libcms.so]0x64a71)
RegisterNative(com/ss/sys/ces/a, leviathan(II[B)[B, RX@0x40057fa5[libcms.so]0x57fa5)
RegisterNative(com/ss/sys/ces/a, decode(I[B)[B, RX@0x40027091[libcms.so]0x27091)
RegisterNative(com/ss/sys/ces/a, encode([B)[B, RX@0x40026fcd[libcms.so]0x26fcd)
Find native function Java_com_ss_sys_ces_a_leviathan(II[B)[B => RX@0x40057fa5[libcms.so]0x57fa5
JNIEnv->FindClass(java/lang/Thread) was called from RX@0x40013837[libcms.so]0x13837
Find native function Java_com_ss_sys_ces_a_leviathan(II[B)[B => RX@0x40057fa5[libcms.so]0x57fa5
JNIEnv->GetArrayLength([B@4c98385c => 53) was called from RX@0x4000bfc5[libcms.so]0xbfc5
一月 30, 2021 9:13:10 下午 com.github.unidbg.linux.ARM32SyscallHandler hook
警告: handleInterrupt intno=2, NR=-1073744608, svcNumber=0x12c, PC=unidbg@0xfffe0354, syscall=null
java.lang.IllegalStateException: Please vm.setJni(jni)
    at com.github.unidbg.linux.android.dvm.Hashable.checkJni(Hashable.java:8)
    at com.github.unidbg.linux.android.dvm.DvmClass.getStaticMethodID(DvmClass.java:103)
    at com.github.unidbg.linux.android.dvm.DalvikVM$45.handle(DalvikVM.java:986)
    at com.github.unidbg.linux.ARM32SyscallHandler.hook(ARM32SyscallHandler.java:95)
    at com.github.unidbg.arm.backend.UnicornBackend$6.hook(UnicornBackend.java:291)
    at unicorn.Unicorn$NewHook.onInterrupt(Unicorn.java:128)
    at unicorn.Unicorn.emu_start(Native Method)
    at com.github.unidbg.arm.backend.UnicornBackend.emu_start(UnicornBackend.java:316)
    at com.github.unidbg.AbstractEmulator.emulate(AbstractEmulator.java:395)
    at com.github.unidbg.AbstractEmulator.eFunc(AbstractEmulator.java:472)
    at com.github.unidbg.arm.AbstractARMEmulator.eFunc(AbstractARMEmulator.java:215)
    at com.github.unidbg.Module.emulateFunction(Module.java:154)
    at com.github.unidbg.linux.android.dvm.DvmObject.callJniMethod(DvmObject.java:128)
    at com.github.unidbg.linux.android.dvm.DvmClass.callStaticJniMethod(DvmClass.java:259)
    at douyinxg.result(douyinxg.java:92)
    at douyinxg.main(douyinxg.java:65)

一月 30, 2021 9:13:10 下午 com.github.unidbg.AbstractEmulator emulate
警告: emulate RX@0x40057fa5[libcms.so]0x57fa5 exception sp=unidbg@0xbffff060, msg=Please vm.setJni(jni), offset=17ms

网上搜了一下报错,我maven
里面加了这个

<dependency>
    <groupId>org.slf4j</groupId>
    <artifactId>slf4j-api</artifactId>
    <version>1.7.25</version>
</dependency>

依然报错上面那个

回复
阅读 1.1k
2 个回答
<dependency>
    <groupId>org.slf4j</groupId>
    <artifactId>slf4j-api</artifactId>
    <version>${slf4j.version}</version>
</dependency>
<dependency>
    <groupId>org.slf4j</groupId>
    <artifactId>slf4j-simple</artifactId>
    <version>${slf4j.version}</version>
</dependency>
813221068
  • 5
新手上路,请多包涵

项目里面引用了SLF4J,但是没有包含实现类,添加实现类依赖如logback

<dependency>
    <groupId>ch.qos.logback</groupId>
    <artifactId>logback-classic</artifactId>
    <version>${logback.version}</version>
</dependency>

需要注意版本对应,如果SLF4J版本是2.0.0,那对应logback版本为1.3.x,

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
你知道吗?

宣传栏