mirror of
https://github.com/HighCapable/YukiHookAPI.git
synced 2025-09-04 01:35:17 +08:00
Update api-exception documentation
This commit is contained in:
@@ -16,13 +16,13 @@ The exception description here will only synchronize the latest API version, and
|
||||
|
||||
::: danger loggerE
|
||||
|
||||
Could not found XposedBridge in current space! Aborted
|
||||
Could not found any available Hook APIs in current environment! Aborted
|
||||
|
||||
:::
|
||||
|
||||
**Abnormal**
|
||||
|
||||
Your Hook Framework is not working or `XposedBridge` has not been successfully loaded.
|
||||
Your Hook Framework is not working or did not successfully load the current Hook API.
|
||||
|
||||
**Solution**
|
||||
|
||||
@@ -150,13 +150,13 @@ After confirming that the problem is not caused by your own code, you can submit
|
||||
|
||||
::: danger loggerE
|
||||
|
||||
YukiHookAPI bind initZygote failed
|
||||
An exception occurred when YukiHookAPI loading Xposed Module
|
||||
|
||||
:::
|
||||
|
||||
**Abnormal**
|
||||
|
||||
`YukiHookAPI` encountered an unhandled exception when trying to load the Xposed native interface `initZygote` method.
|
||||
`YukiHookAPI` encountered an unhandled exception when trying to load a Xposed Module using the Xposed native interface.
|
||||
|
||||
**Solution**
|
||||
|
||||
@@ -1059,6 +1059,22 @@ This is not an API exception, please be careful check your own code for problems
|
||||
|
||||
###### exception
|
||||
|
||||
::: danger IllegalStateException
|
||||
|
||||
YukiHookAPI cannot support current Hook API or cannot find any available Hook APIs in current environment
|
||||
|
||||
:::
|
||||
|
||||
**Abnormal**
|
||||
|
||||
`YukiHookAPI` does not support the Hook API used by the current environment or there is no Hook API that can be called.
|
||||
|
||||
**Solution**
|
||||
|
||||
Please make sure you have loaded the `encase` method of `YukiHookAPI` in the correct place. For details, please refer to [Use as Xposed Module Configs](../config/xposed-using) and [Use as Hook API Configs](../config/api-using).
|
||||
|
||||
###### exception
|
||||
|
||||
::: danger RuntimeException
|
||||
|
||||
!!!DO NOT ALLOWED!!! You cannot hook or reflection to call the internal class of the YukiHookAPI itself, The called class is \[**CLASS**\]
|
||||
@@ -1841,7 +1857,9 @@ encase {
|
||||
|
||||
**Solution**
|
||||
|
||||
`moduleAppResources` requires the current Hook Framework to support the `initZygote` function, please check and try again.
|
||||
This situation hardly exists, unless there is a problem with the target Hook Framework itself.
|
||||
|
||||
If this problem does occur, please provide feedback with detailed logs.
|
||||
|
||||
###### exception
|
||||
|
||||
|
@@ -16,13 +16,13 @@ pageClass: hidden-anchor-page
|
||||
|
||||
::: danger loggerE
|
||||
|
||||
Could not found XposedBridge in current space! Aborted
|
||||
Could not found any available Hook APIs in current environment! Aborted
|
||||
|
||||
:::
|
||||
|
||||
**异常原因**
|
||||
|
||||
你的 Hook Framework 未在工作或并未成功装载 `XposedBridge`。
|
||||
你的 Hook Framework 未在工作或并未成功装载当前 Hook API。
|
||||
|
||||
**解决方案**
|
||||
|
||||
@@ -142,13 +142,13 @@ YukiHookAPI try to load HookEntryClass failed
|
||||
|
||||
::: danger loggerE
|
||||
|
||||
YukiHookAPI bind initZygote failed
|
||||
An exception occurred when YukiHookAPI loading Xposed Module
|
||||
|
||||
:::
|
||||
|
||||
**异常原因**
|
||||
|
||||
`YukiHookAPI` 在尝试装载 Xposed 原生接口 `initZygote` 方法时发生了不能处理的异常。
|
||||
`YukiHookAPI` 在尝试使用 Xposed 原生接口装载 Xposed 模块时发生了不能处理的异常。
|
||||
|
||||
**解决方案**
|
||||
|
||||
@@ -670,7 +670,7 @@ Resources Hook type is invalid \[**TAG**\]
|
||||
|
||||
**解决方案**
|
||||
|
||||
`YukiHookAPI` 会尝试在 `initZygote` 与 `handleInitPackageResources` 中装载 Resources Hook,若全部装载失败可能会发生此异常,当前 Hook Framework 需要支持并启用资源钩子(Resources Hook)功能,请检查后再试一次。
|
||||
`YukiHookAPI` 会尝试在 `initZygote` 与 `handleInitPackageResources` 中装载 Resources Hook,若全部装载失败可能会发生此异常,当前 Hook Framework 需要支持并启用资源钩子 (Resources Hook) 功能,请检查后再试一次。
|
||||
|
||||
###### exception
|
||||
|
||||
@@ -1000,6 +1000,22 @@ An exception occurred during AppLifecycle event
|
||||
|
||||
###### exception
|
||||
|
||||
::: danger IllegalStateException
|
||||
|
||||
YukiHookAPI cannot support current Hook API or cannot found any available Hook APIs in current environment
|
||||
|
||||
:::
|
||||
|
||||
**异常原因**
|
||||
|
||||
`YukiHookAPI` 不支持当前环境使用的 Hook API 或不存在 Hook API 可被调用。
|
||||
|
||||
**解决方案**
|
||||
|
||||
请确认你在正确的地方装载了 `YukiHookAPI` 的 `encase` 方法,详情请参考 [作为 Xposed 模块使用的相关配置](../config/xposed-using) 以及 [作为 Hook API 使用的相关配置](../config/api-using)。
|
||||
|
||||
###### exception
|
||||
|
||||
::: danger RuntimeException
|
||||
|
||||
!!!DO NOT ALLOWED!!! You cannot hook or reflection to call the internal class of the YukiHookAPI itself, The called class is \[**CLASS**\]
|
||||
@@ -1763,7 +1779,7 @@ encase {
|
||||
|
||||
**解决方案**
|
||||
|
||||
`moduleAppResources` 需要当前 Hook Framework 支持 `initZygote` 功能,请检查后再试一次。
|
||||
这种情况几乎不存在,除非目标 Hook Framework 自身存在问题,若真的发生了此问题,请携带详细日志进行反馈。
|
||||
|
||||
###### exception
|
||||
|
||||
|
Reference in New Issue
Block a user