diff --git a/docs-source/src/en/config/api-exception.md b/docs-source/src/en/config/api-exception.md index 24ebea97..343503cb 100644 --- a/docs-source/src/en/config/api-exception.md +++ b/docs-source/src/en/config/api-exception.md @@ -1225,6 +1225,33 @@ The supported types of `YukiHookModulePrefs` are only `String`, `Set`, ` The supported types of `YukiHookDataChannel` are the types restricted by `Intent.putExtra`, please pass in the supported types. +::: danger IllegalStateException + +loadApp/loadZygote/loadSystem/withProcess method need a "**NAME**" param + +::: + +**Abnormal** + +The variable array variable parameter that needs to be filled is missing in `loadApp`, `loadZygote`, `loadSystem`, `withProcess`. + +> The following example + +```kotlin +// +loadApp() +// +loadZygote() +// +loadSystem() +// +withProcess() +``` + +**Solution** + +Please see the usage in `PackageParam` to use this function correctly. + ###### exception ::: danger IllegalStateException diff --git a/docs-source/src/zh-cn/config/api-exception.md b/docs-source/src/zh-cn/config/api-exception.md index 07cdecfd..bbc767b0 100644 --- a/docs-source/src/zh-cn/config/api-exception.md +++ b/docs-source/src/zh-cn/config/api-exception.md @@ -1191,6 +1191,35 @@ Key-Value type **TYPE** is not allowed ::: danger IllegalStateException +loadApp/loadZygote/loadSystem/withProcess method need a "**NAME**" param + +::: + +**异常原因** + +在 `loadApp`、`loadZygote`、`loadSystem`、`withProcess` 中缺少了需要填写的可变数组变量参数。 + +> 示例如下 + +```kotlin +// <情景 1> +loadApp() +// <情景 2> +loadZygote() +// <情景 3> +loadSystem() +// <情景 4> +withProcess() +``` + +**解决方案** + +请查看 `PackageParam` 中的用法正确地使用此功能。 + +###### exception + +::: danger IllegalStateException + YukiHookDataChannel cannot used in zygote :::