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:
@@ -1317,22 +1317,6 @@ You can only use `YukiHookDataChannel` when [Use as Xposed Module Configs](../co
|
|||||||
|
|
||||||
::: danger IllegalStateException
|
::: danger IllegalStateException
|
||||||
|
|
||||||
YukiHookDataChannel only support used on an Activity, but this current context is "**CLASSNAME**"
|
|
||||||
|
|
||||||
:::
|
|
||||||
|
|
||||||
**Abnormal**
|
|
||||||
|
|
||||||
`YukiHookDataChannel` is used in a non-`Activity` context of a Module App.
|
|
||||||
|
|
||||||
**Solution**
|
|
||||||
|
|
||||||
You can only use `YukiHookDataChannel` in `Activity` or `Fragment`.
|
|
||||||
|
|
||||||
###### exception
|
|
||||||
|
|
||||||
::: danger IllegalStateException
|
|
||||||
|
|
||||||
Xposed modulePackageName load failed, please reset and rebuild it
|
Xposed modulePackageName load failed, please reset and rebuild it
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
@@ -1256,22 +1256,6 @@ class MyApplication : Application() {
|
|||||||
|
|
||||||
::: danger IllegalStateException
|
::: danger IllegalStateException
|
||||||
|
|
||||||
YukiHookDataChannel only support used on an Activity, but this current context is "**CLASSNAME**"
|
|
||||||
|
|
||||||
:::
|
|
||||||
|
|
||||||
**异常原因**
|
|
||||||
|
|
||||||
在模块的非 `Activity` 环境中使用了 `YukiHookDataChannel`。
|
|
||||||
|
|
||||||
**解决方案**
|
|
||||||
|
|
||||||
你只能在 `Activity` 或 `Fragment` 中使用 `YukiHookDataChannel`。
|
|
||||||
|
|
||||||
###### exception
|
|
||||||
|
|
||||||
::: danger IllegalStateException
|
|
||||||
|
|
||||||
Xposed modulePackageName load failed, please reset and rebuild it
|
Xposed modulePackageName load failed, please reset and rebuild it
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
Reference in New Issue
Block a user