mirror of
https://github.com/HighCapable/YukiHookAPI.git
synced 2025-09-04 09:45:19 +08:00
Update api-exception documentation
This commit is contained in:
@@ -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
|
||||
|
||||
:::
|
||||
|
@@ -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
|
||||
|
||||
:::
|
||||
|
Reference in New Issue
Block a user