Failing to integrate admob plugin with my project

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Gamespot

I have been using [this admob plugin][1] to monetize my game using test ads. But the export is failing with following message

FAILURE : Build failed with an exception.

  • What went wrong:
    Could not determine dependencies of task ‘: compileDebugJavaWithJavac’.

Failed to find Platform SDK with path: platform;android-30

I followed the same steps given by this this admob plugin but the building of android project is failing.

Please guide me how to fix it. If you need anything about my project i will provide it immediately. I am expecting the reply as soon as possible.