The plugin.xml should be fine, but causes error for some reasons.
MODIFY
plugin.xml
plugin.xml
<?xml version='1.0' encoding='utf-8'?>
-<plugin id="cordova-plugin-googlemaps" version="2.1.2-beta-20180116-1730" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
+<plugin id="cordova-plugin-googlemaps" version="2.1.2-beta-20180116-1905" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
<name>cordova-plugin-googlemaps</name>
<js-module name="BaseClass" src="www/BaseClass.js">
<runs />
@@ -102,7 +102,7 @@ The native map view is faster, use less network usage, display 3D views, and eve
<keywords>google,maps,geo</keywords>
<engines>
- <engine name="cordova-android" version=">=7.0.0" />
+ <engine name="cordova-android" version=">=6.3.0" />
<engine name="cordova-ios" version=">=4.5.0" />
</engines>
@@ -209,7 +209,7 @@ The native map view is faster, use less network usage, display 3D views, and eve
<source-file src="src/android/tbxml-android/libs/x86/libtbxml.so" target-dir="libs/x86/" />
<source-file src="src/android/tbxml-android/libs/x86_64/libtbxml.so" target-dir="libs/x86_64/" />
- <config-file target="app/src/main/AndroidManifest.xml" parent="/manifest/application">
+ <config-file target="AndroidManifest.xml" parent="/manifest/application">
<meta-data
android:name="com.google.android.geo.API_KEY"
android:value="$API_KEY_FOR_ANDROID" />
@@ -218,7 +218,7 @@ The native map view is faster, use less network usage, display 3D views, and eve
android:value="@integer/google_play_services_version" />
</config-file>
- <config-file target="app/src/main/AndroidManifest.xml" parent="/manifest">
+ <config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<!-- The following two permissions are not required to use

The plugin.xml should be fine, but cordova@8.0.0 causes error for some reasons.