Skip to content

调试器收到 USB 调试/开发者选项未开启错误码后弹引导窗 #682 - #683

Merged
xiaomin1397 merged 1 commit into
hapjs-platform:mainfrom
xiaomin1397:main
Oct 29, 2026
Merged

xiaomin1397 merged 1 commit into
hapjs-platform:mainfrom
xiaomin1397:main

Conversation

@xiaomin1397

Copy link
Copy Markdown
Contributor

快应用联盟调试器根据调试服务返回的错误码,根据未开启情况进行对应的弹窗进行提醒,引导开发者开启USB调试开关;

快应用引擎中的调试服务实现逻辑参考:安装启动快应用,校验设备是否有开启设备【开发者模式】以及 【USB调试】开关,开启则允许调试安装启动,未开启则不允许调试安装启动,并返回相应的错误码给快应用调试器。

需要快应用引擎中的调试服务实现检测【USB调试】开关状态逻辑,快应用引擎平台可以根据自身情况选择实现,如果没有实现则不会返回相应的错误码,那么调试器中这部分功能在运行时不会生效,没有影响。

@xiaomin1397
xiaomin1397 merged commit 805d9a3 into hapjs-platform:main Oct 29, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants