赞
踩
jmethodID initId = env2->GetMethodID(Clazz, "<init>", "(III[I)V");报错
JNI DETECTED ERROR IN APPLICATION: JNI GetMethodID called with pending exception java.lang.NoSuchMethodError: no non-static method "Lcom
看它前面的,红色部分路径是否正确。这个地方好坑啊。
jmethodID onEvent_MediaCoverPictureRecvId = env2->GetMethodID(
clazz,
"onEvent_xxxx",
"(Lcom/xxxxx/xxx/xxxx/xxxx/xxxxx;)V");
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。