Cordova Admob AppHost9603错误 [英] Cordova Admob AppHost9603 Error

查看:190
本文介绍了Cordova Admob AppHost9603错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我似乎无法将AdMob与我的Ionic Cordova应用程序集成,我收到AppHost9603错误而没有看到任何广告。我正在使用AdMobPro插件。这就是我所做的:


  1. 在Visual Studio中,我添加了通过在config.xml中提供git路径安装的AdMobPro插件 - > custom-> git path

  2. 我在文档后面的js文件夹中添加了文件admob_simple.js

  3. 我在索引中添加了一个引用。 html到这样的js文件




这是在index.html -




 < script src =cordova.js>< / script> 
<! - 你的应用程序的js - >
< script src =js / admob_simple.js>< / script>
< script src =js / app.js>< / script>
< script src =js / controllers.js>< / script>
< script src =js / services.js>< / script>




  1. 我在当地运行机器,而不是模拟器。错误说APPHOST9603:无法加载具有类ID{D27CDB6E-AE6D-11CF-96B8-444553540000}的ActiveX插件。应用无法加载ActiveX控件。
    index.html


  2. 我看不到广告


你能帮忙吗?谢谢

解决方案

我看到同样的错误。



I认为这是因为Admob仍然不支持Windows 10(可能只支持Windows Phone 8),因为我只在


I can't seem to get AdMob integrated with my Ionic Cordova app, I am receiving an AppHost9603 error and not seeing any ads. I am using the AdMobPro plugin. Here's what I've done:

  1. In Visual Studio I have added the AdMobPro plugin installed by providing the git path in config.xml->custom->git path
  2. I have added the file admob_simple.js in my js folder following the documentation
  3. I have added a reference in index.html to the js file like this

This is in index.html -

<script src="cordova.js"></script>
    <!-- your app's js -->
    <script src="js/admob_simple.js"></script>
    <script src="js/app.js"></script>
    <script src="js/controllers.js"></script>
    <script src="js/services.js"></script>

  1. I am running on my local machine, not an emulator. Error says APPHOST9603: Can’t load the ActiveX plug-in that has the class ID '{D27CDB6E-AE6D-11CF-96B8-444553540000}'. Apps can't load ActiveX controls. index.html

  2. And I see no ads

Can you help? And thank you

解决方案

I saw the same error.

I think that is because the Admob still doesn't support Windows 10(maybe only windows phone 8 supported), since I only saw the following in https://github.com/floatinghotpot/cordova-admob-pro

这篇关于Cordova Admob AppHost9603错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆