Quantcast
Channel: Cocos中文社区 - 最新主题
Viewing all articles
Browse latest Browse all 88737

AnySDKFramework-H5:appkey invalid

$
0
0

@nja_123 写道:

我按文档的方法,结果在调用loadAllPlugins时报错:AnySDKFramework-H5:appkey invalid,应该是init时必须传入appkey,但在anysdk的打包工具里只有安卓和苹果平台,没有H5平台,不知要怎么才能添加游戏
anysdk.agentManager.init(null);
anysdk.agentManager.loadAllPlugins(function (code, msg) {
alert("code: " + code + ",msg: " + msg);
if (code == 0) {
//加载成功,即可调用其他接口
}
}, this);

帖子: 1

参与者: 1

阅读整个主题


Viewing all articles
Browse latest Browse all 88737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>