Ok. I can try that. The thing is that I am using a purchased HTML5 game project. This project contains cocoon plugins for AD. They don't work. And also because cocoon is not available for construct 3, I'am unable to open the project using construct3.
Thus I wanted to figure out a way to include ADMOB using Android studio.
But, while cordova is able to build an APK file which is functional, Android studio keep shooting an error for the same project.
"ERROR: Manifest merger failed : uses-sdk:minSdkVersion 1 cannot be smaller than version 19 declared in library [__tested_artifact__::CordovaLib] C:\admobtrial3\platforms\android\CordovaLib\build\intermediates\library_manifest\debug\AndroidManifest.xml as the library might be using APIs not available in 1
Suggestion: use a compatible library with a minSdk of at most 1,
or increase this project's minSdk version to at least 19,
or use tools:overrideLibrary="org.apache.cordova" to force usage (may lead to runtime failures)"
Tried everything but unable to resolve this.
I'll delete the cocoon plugins somehow using construct2 then save the project and open it in construct3.
Phew!! Not a programmer by profession so a huge workaround at many levels :-)