I have tried @sergey.lerg’s admob extension, but the following error still exists:
Failed building Android resources to R.java: C:\Users\CODERM~1\AppData\Local\Temp\bob_bundle_tmp11614697548488113920\AndroidManifest.xml:153: error: Error: No resource found that matches the given name (at ‘theme’ with value ‘@style/Theme.IAPTheme’).
If I change ‘@style/Theme.IAPTheme’ to ‘@android: style/Theme.IAPTheme’, then the same error is:
Failed building Android resources to R.java: C:\Users\CODERM~1\AppData\Local\Temp\bob_bundle_tmp16331657937702685173\AndroidManifest.xml:153: error: Error: No resource found that matches the given name (at ‘theme’ with value ‘@android:style/Theme.IAPTheme’).
If I delete the associated ‘android: theme’ property, it will be built without error.
In any case, this error is different from my case. In my case, it complains about not formatting well.