直接在creator里开启分析服务,网页版正常,发布安卓发现没有统计信息,使用android studio调试发现:
Classloader failed to find class of com/cocos/analytics/CAAgent
2022-01-02 09:55:07.905 23652-23741/org.cocos2dx.javascript D/jswrapper: JS:
2022-01-02 09:55:07.905 23652-23741/org.cocos2dx.javascript D/JavaScriptJavaBridge: Classloader failed to find class of com/cocos/analytics/CAAccount
cocosAnalytics.init 返回 undefined
cocosAnalytics.isInited 也是返回 undefined