Update api-exception documentation

This commit is contained in:
2023-04-08 03:19:35 +08:00
parent 8120206f4d
commit a0714eb996
2 changed files with 0 additions and 32 deletions

View File

@@ -1317,22 +1317,6 @@ You can only use `YukiHookDataChannel` when [Use as Xposed Module Configs](../co
::: 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
:::

View File

@@ -1256,22 +1256,6 @@ class MyApplication : Application() {
::: 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
:::