当前位置:网站首页>调用华为游戏多媒体服务的创建引擎接口返回错误码1002,错误信息:the params is error
调用华为游戏多媒体服务的创建引擎接口返回错误码1002,错误信息:the params is error
2022-07-07 05:38:00 【华为开发者论坛】
问题描述
参考华为游戏多媒体服务文档,实现游戏语音相关功能,在调用
GameMediaEngine.create(CreateEngineParams params, IGameMMEEventHandle eventHandler) 接口创建游戏引擎实例时,游戏引擎实例创建失败,返回错误码1002,错误信息:the params is error
问题分析与解决
分析错误信息的意思是参数错误,文档中没有找到1002这个错误码的解释。检查接口的入参,是符合接口文档要求的: 
实在找不出哪个参数传的不正确,之后偶然发现手机没有联网:

把手机网络连上以后,接口调用成功,问题解决。
各位开发者如果出现此错误码,可以检查下您的手机网络是不是正常的。如果运行环境都是正常的,还出现此错误,可以通过提单的方式联系华为技术支持帮助您定位解决。
边栏推荐
- Openvscode cloud ide joins rainbow integrated development system
- Go write a program that runs within a certain period of time
- A method for quickly viewing pod logs under frequent tests (grep awk xargs kuberctl)
- Grpc, oauth2, OpenSSL, two-way authentication, one-way authentication and other column directories
- Ebpf cilium practice (1) - team based network isolation
- [hard core science popularization] working principle of dynamic loop monitoring system
- Xcit learning notes
- Open3d ISS key points
- Domain specific language / DSL in kotlin
- 字符串操作
猜你喜欢

Componentspace2022, assertions, protocols, bindings, and configuration files

2 - 3 arbre de recherche

一种适用于应用频繁测试下快速查看Pod的日志的方法(grep awk xargs kuberctl)

Wang Zijian: is the NFT of Tencent magic core worth buying?

Download and install orcale database11.2.0.4

Data type - floating point (C language)

Golang compilation constraint / conditional compilation (/ / +build < tags>)

Splunk查询csv lookup table数据动态查询

Opencv learning note 3 - image smoothing / denoising

National standard gb28181 protocol video platform easygbs adds streaming timeout configuration
随机推荐
接口作为参数(接口回调)
饥荒云服管理脚本
The use of generics and vararg variable parameters in kotlin
Grpc, oauth2, OpenSSL, two-way authentication, one-way authentication and other column directories
字符串操作
POJ - 3616 Milking Time(DP+LIS)
Practice of combining rook CEPH and rainbow, a cloud native storage solution
Exercise arrangement 2.10, 11
All about PDF crack, a complete solution to meet all your PDF needs
GFS分布式文件系统
[quick start of Digital IC Verification] 13. SystemVerilog interface and program learning
PVTV2--Pyramid Vision TransformerV2学习笔记
2-3查找树
go写一个在一定时间内运行的程序
ES6_ Arrow function
Improve the delivery efficiency of enterprise products (1) -- one click installation and upgrade of enterprise applications
Input of mathematical formula of obsidan
[quick start of Digital IC Verification] 10. Verilog RTL design must know FIFO
Using nocalhost to develop microservice application on rainbow
Infix keyword infix expression and the use of generic extension function in kotlin