Update api-exception documentation

This commit is contained in:
2023-01-13 03:17:53 +08:00
parent b92397506b
commit 961547e94c
2 changed files with 0 additions and 52 deletions

View File

@@ -1811,33 +1811,6 @@ Please confirm the target method of your Hook, the number of method parameters o
::: danger IllegalStateException
PackageParam got null ClassLoader
:::
**Abnormal**
The `appClassLoader` variable was called in `PackageParam` but the instance object could not be obtained.
> The following example
```kotlin
encase {
// This variable is called
appClassLoader...
}
```
**Solution**
This situation hardly exists, unless there is a problem with the Host App where the Module App is loaded or the target Hook Framework itself.
If this problem does occur, please provide feedback with detailed logs.
###### exception
::: danger IllegalStateException
Current Hook Framework not support moduleAppResources
:::

View File

@@ -1735,31 +1735,6 @@ injectMember {
::: danger IllegalStateException
PackageParam got null ClassLoader
:::
**异常原因**
`PackageParam` 中调用了 `appClassLoader` 变量但是无法获取到实例对象。
> 示例如下
```kotlin
encase {
// 调用了此变量
appClassLoader...
}
```
**解决方案**
这种情况几乎不存在,除非模块被装载的宿主或目标 Hook Framework 自身存在问题,若真的发生了此问题,请携带详细日志进行反馈。
###### exception
::: danger IllegalStateException
Current Hook Framework not support moduleAppResources
:::