Repository navigation
调试器收到 USB 调试/开发者选项未开启错误码后弹引导窗 #682 - #683
Merged
Merged
Conversation
Signed-off-by: xiaomin <xiaomin@vivo.com>
jianghai33
approved these changes
Oct 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
快应用联盟调试器根据调试服务返回的错误码,根据未开启情况进行对应的弹窗进行提醒,引导开发者开启USB调试开关;
快应用引擎中的调试服务实现逻辑参考:安装启动快应用,校验设备是否有开启设备【开发者模式】以及 【USB调试】开关,开启则允许调试安装启动,未开启则不允许调试安装启动,并返回相应的错误码给快应用调试器。
需要快应用引擎中的调试服务实现检测【USB调试】开关状态逻辑,快应用引擎平台可以根据自身情况选择实现,如果没有实现则不会返回相应的错误码,那么调试器中这部分功能在运行时不会生效,没有影响。