企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
调用美型、贴纸、特效、哈哈镜没有效果 检查权限是否获取; 检查网络是否正常(需访问外网); 检查鉴权key是否正确; 检查创建BeautyView时是否获取到鉴权,查看 BeautyViewHolderFactory.getBeautyViewHolder(...) 中String ver = MHSDK.getInstance().getVer()的值,ver=-1表示授权失败,如果key和网络均正常,但ver值始终不对,尝试修改初始化方式为 ``` MHSDK.getInstance().clearVerNote().init(context, "appkey"); ``` 确认MHBeautyManager是否初始化。 Call beauty, stickers, special effects, funhouse mirror have no effect Check whether the permission is obtained. Check whether the network is normal (access the Internet). Check whether the authentication key is correct. Check whether creating BeautyView access to authentication, view BeautyViewHolderFactory. GetBeautyViewHolder (...). In String ver= mHSdk.getInstance ().getver (), ver=-1 indicates that authorization fails. If the key and network are normal but the value of ver is incorrect, try to change the initialization mode to ``` MHSDK.getInstance().clearVerNote().init(context, "appkey"); ``` Verify that MHBeautyManager is initialized.