Skip to content
This repository was archived by the owner on Sep 25, 2022. It is now read-only.

Commit a54ccb2

Browse files
authored
Update README_zh.md
1 parent f08cc66 commit a54ccb2

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README_zh.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,18 +92,20 @@ Java_me_xxx_dexkit_DexKitHelper_batchFindClassUsedString(JNIEnv *env,
9292
// 获取更多辅助方法请参阅源码:https://github.com/LuckyPray/DexKit/blob/master/include/DexKitJniHelper.h
9393
return LocationClasses(env, token, map, advanced_match);
9494
}
95+
96+
// 省略...
9597
```
9698
9799
DexKitHelper.kt
98100
```kotlin
99101
class DexKitHelper(
100-
classLoader: ClassLoader
102+
apkPath: String
101103
) {
102104
103105
private var token: Long = 0
104106
105107
init {
106-
token = initDexKit(classLoader)
108+
token = initDexKit(apkPath)
107109
}
108110
109111
private external fun initDexKit(apkPath: String): Long
@@ -119,7 +121,7 @@ class DexKitHelper(
119121
advancedMatch: Boolean = false,
120122
): Map<String, Array<String>>
121123
122-
// 省略... omit...
124+
// 省略...
123125
}
124126
```
125127

0 commit comments

Comments
 (0)