maoabc / nmmp

dex-vm used to protect the android classes.dex file

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

aar加固后在DEBUG模式下频繁输出这样的信息

frankgogoland opened this issue · comments

2022-06-12 14:59:32.503 26294-26409/www.lucent.com W/www.lucent.com: Attempt to remove non-JNI local reference, dumping thread
2022-06-12 14:59:32.503 26294-26409/www.lucent.com W/www.lucent.com: Attempt to remove non-JNI local reference, dumping thread
2022-06-12 14:59:32.503 26294-26409/www.lucent.com W/www.lucent.com: Attempt to remove non-JNI local reference, dumping thread
2022-06-12 14:59:32.503 26294-26409/www.lucent.com W/www.lucent.com: Attempt to remove non-JNI local reference, dumping thread
2022-06-12 14:59:32.503 26294-26409/www.lucent.com W/www.lucent.com: Attempt to remove non-JNI local reference, dumping thread
2022-06-12 14:59:32.503 26294-26409/www.lucent.com W/www.lucent.com: Attempt to remove non-JNI local reference, dumping thread
2022-06-12 14:59:32.503 26294-26409/www.lucent.com W/www.lucent.com: Attempt to remove non-JNI local reference, dumping thread
2022-06-12 14:59:32.503 26294-26409/www.lucent.com W/www.lucent.com: Attempt to remove non-JNI local reference, dumping thread
2022-06-12 14:59:32.504 26294-26409/www.lucent.com W/www.lucent.com: Attempt to remove non-JNI local reference, dumping thread
2022-06-12 14:59:32.504 26294-26409/www.lucent.com W/www.lucent.com: Attempt to remove non-JNI local reference, dumping thread

麻烦作者有空看看 env->DeleteLocalRef(javaObject) 删除了非jni层对象?

commented

这没头没尾的,vm的debug模式只能在处理少量方法时开启,不然光日志都能把应用搞崩溃

commented

vm debug模式每条指令都会输出,只能开发时或者加固少量类跟方法开启,不然大量日志都能把应用搞崩溃。如果单独测试某些代码兼容,使用nmmvm,仿照里面那些例子,单独进行单元测试。

aar已经打包成release版本了,主版本是DEBUG版本。也就是说加固后如果把aar发给客户,在DEBUG模式下就一直大量输出信息

commented