代码拉取完成,页面将自动刷新
本项目是基于开源项目Lens进行ohos化的移植和开发的,可以通过项目标签以及github地址(https://github.com/iqiyi/Lens )追踪到原项目版本
方法1.
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar', '*.har'])
……
}
方法2.
repositories {
maven {
url 'http://106.15.92.248:8081/repository/Releases/'
}
}
dependencies {
implementation 'com.qiyi.ohos:lenssdk:1.0.1'
implementation 'com.qiyi.ohos:lenssdknoop:1.0.1'
}
可参考Demo 中LensApplicationDelegate 实现配置。
Lens.init(this, false);
LensUtil.buildConfig()
.defaultOpen(false)
// .enableDeviceInfo(true)
// .enableKeyLog(KeyLogConfig.builder().addFilter("Main").setMaxLine(1000))
// .enableFPS(true)
// .enableLaunchTime(true)
// .setHookFrameWorkImpl(new HookFramework())
.enableActivityAnalyzer(true)
.enableNetworkAnalyze(false)
.enableCrashInfo(true)
.addCustomBlockEntrance(customBlockEntrance, new BlockFactory())
.addCustomJumpEntrance(customJumpEntrance, new JumpAction())
.initAsPluginMode(Lens.isSDKMode())
.enableViewInfo(true)
.show(Lens.wrapContext(mApplication), UIUtils.getScreenWidth(mApplication) / 5 * 3);
入口在Lens 浮窗DB
, AB-T
, SP
. 目前支持查看本hap DB、AB-t和SP 信息。 支持修改SP 数据。
Apache-2.0 License
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。