海外版本接入Google Admob激励视频广告,调试的时候出现以下错误:
{
"Code": 0,
"Message": "Unable to obtain a JavascriptEngine.",
"Domain": "com.google.android.gms.ads",
"Cause": "null",
"Response Info": {
"Response ID": "null",
"Mediation Adapter Class Name": "",
"Adapter Responses": []
}
}
网上搜索了答案(stackoverflow问题链接)说是有广告拦截器拦截了广告,找了半天是什么拦截了广告,终于找到,我的测试机是OnePlus 6T,其他的可做参考:
设置界面打开Google:
点击广告
打开启用广告调试功能
重启app,广告加载成功。