HMS Ads Kit-获取广告返回错误码4

HMS Ads Kit-Error code 4 is returned when obtaining ads

当我在Android Studio中使用HUAWEI Ads SDK加载原生广告并在我的应用中展示时,

Error code -4

返回

,日志信息:

The ad is being requested and cannot be requested again.

为什么会这样?

可能是您的代码中重复执行了loadAd()方法。请检查您的代码中是否重复调用了loadAd()或Logcat.

中重试间隔是否过短