这可能听起来,这个问题是一个重复:如何在IntelliJ Idea上设置admob?
How to properly configure AdMob using IntelliJ IDEA?
但它不是! (特别是因为这个问题是从2011年开始的,谷歌过程发生了变化(看起来))。 I'm following this google-reference for proper setup.
首先,有“使用Android Studio”选项,我不知道这是什么。然后,我去了下一个:“使用Eclipse或另一个IDE”,然后有一个笔记,这是非常直的。
我选择我的项目上的IntelliJ IDEA,按下F4 (开放式模块设置),去的SDK的平台设置,只是增加他们要求的文件夹(\演员谷歌\ google_play_services)。假设这是“添加谷歌广告库”的正确方法,我继续向清单文件添加他们要求的内容。当我编译应用程序,我得到的错误:
D:\Computer Programming\IdeaProjects\Black Square\AndroidManifest.xml:8: error:
Error: No resource found that matches the given name (at 'value' with value '@integer/google_play_services_version').
所以,现在看来,我没有正确导入,它(从,我不知道如何着手这一部分)。