能力值:
( LV2,RANK:10 )
|
-
-
2 楼
7aeK9s2c8@1M7q4)9K6b7g2)9J5c8W2)9J5c8X3u0D9L8$3N6Q4x3X3g2U0M7$3c8F1i4K6u0W2L8X3g2@1i4K6u0r3K9X3W2S2L8X3N6%4k6h3V1H3z5e0p5H3y4o6p5H3x3o6l9K6i4K6u0r3j5i4u0@1K9h3y4D9k6g2)9J5c8X3c8W2N6r3q4A6L8s2y4Q4x3V1j5#2x3e0f1#2y4K6p5K6y4b7`.`.
|
能力值:
( LV3,RANK:20 )
|
-
-
3 楼
5.0以后api改了 就不能用了
|
能力值:
( LV8,RANK:130 )
|
-
-
4 楼
我这个帖子里面有5.0以上的解决办法
http://bbs.pediy.com/showthread.php?t=215078
|
能力值:
( LV3,RANK:20 )
|
-
-
5 楼
谢谢,周末好好研究下
|
能力值:
( LV3,RANK:20 )
|
-
-
6 楼
寒号鸟二代
我这个帖子里面有5.0以上的解决办法
http://bbs.pediy.com/showthread.php?t=215078
void myLoadDex_art(JNIEnv* env,char* szPath)
{
jstring inPath=(*env)->NewStringUTF(env,szPath);
if(sdk_int>22)
{
art_MarCookie=(*env)->CallStaticObjectMethod(env, myDexFile, myOpenDexFile, inPath,0,0);
LOGI("----MarCookie:%p",art_MarCookie);
}
else
{
art_Cookie=(*env)->CallStaticLongMethod(env, myDexFile, myOpenDexFile, inPath,0,0);
LOGI("----artCookie:%llx",art_Cookie);
}
void* dlart=dlopen("libart.so",1);
pArtFun pArtDexFileFindClassDef=(pArtFun)dlsym(dlart,"_ZNK3art7DexFile12FindClassDefEt");
LOGI("pArtDexFileFindClassDef:%p",pArtDexFileFindClassDef);
} 这一点都不自定义啊, inPath 已经暴露了位置了
|
|
|