paozhuanyinyu / umeng

init

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

安卓上不了数据

Eric-Liqiafeng opened this issue · comments

commented
commented

这个plugin里example的android也上不了数据,自定义事件onEvent也上不了

commented

好像是需要将app从后台 resume才能上数据?

不知道你解决了吗,我这边也是,我发现需要调用那个用户登录的接口才可以,但是只能发一次,再次发需要调用注销。
就是要两个轮着掉。
但是对于没有登录的来说,很尴尬

好像是需要将app从后台 resume才能上数据?

不知道是不是跟android 10 获取不到deviceId有关系

需要在MainActivity里面调用MobclickAgent.onResume(this)和MobclickAgent.onPause(this)这个方法

不管用的,加了也只是输出信息,没有send log
I/UMConfigure(30093): common version is 9.1.0
I/UMConfigure(30093): common type is 0
E/UMConfigure(30093): context is null !!!
E/UMConfigure(30093): has inited !!!

commented

不管用的,加了也只是输出信息,没有send log
I/UMConfigure(30093): common version is 9.1.0
I/UMConfigure(30093): common type is 0
E/UMConfigure(30093): context is null !!!
E/UMConfigure(30093): has inited !!!

退出app重新进入再次初始化时会自动上报

友盟这个坑货,官方插件太烂了。我写了个插件 umeng_statistics,统计准确,完美解决。