![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
JNI
文章平均质量分 57
鸡蛋卷啊卷
这个作者很懒,什么都没留下…
展开
-
JNI 防混淆 Android proguard
先写最终解决办法 -keep class com.test.DocDetect { *; } com.test.DocDetct 换成你的JNI类 异常 java.lang.UnsatisfiedLinkError: JNI_ERR returned from JNI_OnLoad APK的release包崩溃,debug包正常 JNI内反射加载类找不到导致 反编译APK(或者看mapping文件),发现 DetectResult类,被rename 成 a.b.c,包名都变了 方法 添加JNI原创 2020-07-26 17:37:23 · 1372 阅读 · 0 评论 -
C++中的字符串的对比:char* std:string char[]
char* constant char* char* #include <iostream> using namespace std; int main() { // pointer str points to const string literal "Hello". // No need to declare size. char*...原创 2018-11-26 21:15:25 · 2820 阅读 · 0 评论 -
JNI local reference table overflow
Context JNI创建的reference太多,导致崩溃。具体查找 jString, jclass, jobject 简要分析 什么是Local reference Every argument passed to a native method, and almost every object returned by a JNI function is a “local reference”...原创 2019-08-28 12:27:12 · 973 阅读 · 0 评论