打成release包的时候,依赖添加为cn.hikyson.godeye:godeye-monitor:1.7.4,包运行后能打开监控界面,却无法获取监控数据?
ElesG opened this issue · 4 comments
ElesG commented
打成release包的时候,依赖添加为cn.hikyson.godeye:godeye-monitor:1.7.4,包运行后能打开监控界面,却无法获取监控数据?
打成debug包才可以读取到数据,请问是release包有什么限制吗?
Kyson commented
不正常的,你的gradle依赖怎么写的
ElesG commented
写成这样:
dependencies{
implementation 'cn.hikyson.godeye:godeye-core:1.7.4'
debugImplementation 'cn.hikyson.godeye:godeye-monitor:1.7.4'
releaseImplementation 'cn.hikyson.godeye:godeye-monitor:1.7.4'
implementation 'cn.hikyson.godeye:godeye-toolbox:1.7.4'
}
Kyson commented
依赖没啥问题,有报什么错吗