# "Capacitor Community Missing" - com.getcapacitor.community.admob.AdMob.class

**URL:** <https://forum.ionicframework.com/t/capacitor-community-missing-com-getcapacitor-community-admob-admob-class/193165>\
**Category:** Ionic Framework\
**Created:** [July 21, 2020, 4:22pm UTC](https://forum.ionicframework.com/t/capacitor-community-missing-com-getcapacitor-community-admob-admob-class/193165 "2020-07-21T16:22:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![helenakohan](https://avatars.discourse-cdn.com/v4/letter/h/7feea3/32.png) [@helenakohan](https://forum.ionicframework.com/u/helenakohan)\
**Post date:** [July 21, 2020, 4:22pm UTC](https://forum.ionicframework.com/t/capacitor-community-missing-com-getcapacitor-community-admob-admob-class/193165/1 "2020-07-21T16:22:56Z")

</div>

Hi:

I’m trying to activate AdMob with capacitor with the AdMob capacitor community plugin at:

> **[capacitor-community/admob](https://github.com/capacitor-community/admob)**
>
> Enable to use AdMob. Contribute to capacitor-community/admob development by creating an account on GitHub.

but there is a problem activating it because the “Capacitor Community Missing” in the MainActivity at:  
com.getcapacitor.community.admob.AdMob.class

\android\app\src\main\java\*\*\*\MainActivity.java

What to do? How to activate AdMob?

---

<div class="post-metadata">

**Author:** ![miguelx97](https://avatars.discourse-cdn.com/v4/letter/m/54ee81/32.png) [@miguelx97](https://forum.ionicframework.com/u/miguelx97)\
**Post date:** [July 9, 2022, 12:27pm UTC](https://forum.ionicframework.com/t/capacitor-community-missing-com-getcapacitor-community-admob-admob-class/193165/2 "2022-07-09T12:27:00Z")

</div>

For anyone to have the same doubt. For me it wasn’t necessary to add code in \android\app\src\main\java\*\*\*\MainActivity.java
