|
/

抖音小游戏接入js

Mm*
发布于 2 个月前
2572来自福建省
移动统计 U-App
功能使用

我正在使用unity开发抖音小游戏
下载了友盟抖音的sdk umtrack-tt-game,
我放到了抖音外部js的路径,Assets/StreamingAssets/__cp_js_files/uma.min.js
但是小游戏运行加载uma.min.js的时候报错了
index.92f6fa.js:31 eval http://127.0.0.1:7045/app-dist/webgl/unzip/StreamingAssets/__cp_js_files/uma.min.js failed: ReferenceError: module is not defined, code: "use strict";var t="[UMENG] -- ",e=function(){var e=null,n=!1;function i(....

2个回答
 
1 个月前
来自浙江省

你好,可以参考字节小游戏接入文档是否符合需求:https://developer.umeng.com/docs/147615/detail/181348。

 
2 个月前
来自福建省

我应该怎样接入友盟SDK,求大佬指教

Loading ...
登录社区,分享你的经验