Cordova Admob AppHost9603 Error

牧云@^-^@ 提交于 2019-12-13 15:17:53

问题


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


回答1:


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



来源:https://stackoverflow.com/questions/35900642/cordova-admob-apphost9603-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!