Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用Cocos Creator V2.0.9模擬器測試問題 #15

Open
ccd920 opened this issue Nov 27, 2019 · 2 comments
Open

使用Cocos Creator V2.0.9模擬器測試問題 #15

ccd920 opened this issue Nov 27, 2019 · 2 comments

Comments

@ccd920
Copy link

ccd920 commented Nov 27, 2019

使用Cocos Creator V2.0.9模擬器進行測試,
js-agora.js裡面的驗證會跑:
if ((typeof agoraCreator) === "undefined") && ((typeof AgoraRTC) === "undefined"){...}
但內部方法都是空的,
是否應該跑:
if ((typeof agoraCreator) !== "undefined") {...}呢?
那要取得agoraCreator、agoraCreatorInst資料有需要多下載哪些檔案嗎?

DEMO目錄:
Voice-Call-for-Mobile-Gaming/Basic-Voice-Call-for-Gaming/Hello-CocosCreator-Voice-Agora/

目標是以Cocos Creator Build成APK使用。
image

@zhangtao1104
Copy link
Collaborator

您可以使用 Cocos Creator 打开该 Demo, 然后打开 Cocos Creator 服务窗口上的 Agora 服务,会帮您自动集成 Agora 服务。 然后填入 appId , 然后再 导出 Android 项目。

@ccd920
Copy link
Author

ccd920 commented Nov 29, 2019

已成功導出,謝謝您。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants