When doing an Android build on AppFlow, I get errors while trying to build the AndroidManifest.xml file. My last good Android build was early April. I don’t have the build issue local. It happens with 2.6.2 of the cordova-plugin-googlemaps.
I’ve tried various combinations of the following:
Adding inside the “widget” element:
preference name="API_KEY_FOR_ANDROID" value="xxx"
preference name="GOOGLE_MAPS_ANDROID_API_KEY" value="x"
This produces the “missing” error.
Adding in the platform tag for android:
<config-file parent="/manifest/application" target="app/src/main/AndroidManifest.xml">
<meta-data android:name="com.google.android.geo.API_KEY" android:value="xxx" />
</config-file>
This produces both the missing and a duplicate. So I think the platform tag is maybe the way to go but I can’t find out where the empty element is getting added from.
I’ve also tried removing the elements inside the actual plugin element thinking maybe that’s where the empty was coming from.
I’ve seen a few posts with this error and either no solutions or have tried the solutions suggested – anyone have any ideas?