I’m trying to install the plugins how it’s explained here
But when i’m trying to compile i’m facing this error
F:\xampp\htdocs\platforms\android\src\plugin\google\maps\PluginMap.java:2194: error: cannot find symbol
String overlayId = groundOverlay.getTag() + "";
^
symbol: method getTag()
location: variable groundOverlay of type GroundOverlay
F:\xampp\htdocs\platforms\android\src\plugin\google\maps\PluginGroundOverlay.java:113: error: cannot find symbol
groundOverlay.setTag("groundoverlay_" + idBase);
^
symbol: method setTag(String)
location: variable groundOverlay of type GroundOverlay
F:\xampp\htdocs\platforms\android\src\plugin\google\maps\PluginGroundOverlay.java:169: error: cannot find symbol
groundOverlay.setTag(null);
^
symbol: method setTag(<null>)
location: variable groundOverlay of type GroundOverlay
Note: F:\xampp\htdocs\platforms\android\src\plugin\google\maps\MyPluginLayout.java uses or overrides a deprecated AP
I.
Note: Recompile with -Xlint:deprecation for details.
:compileDebugJavaWithJavac FAILED
BUILD FAILED
I don’t know what i’m doing wrong, but if i do this
ionic cordova plugin add cordova-plugin-googlemaps --variable API_KEY_FOR_ANDROID="YOUR_ANDROID_API_KEY_IS_HERE" --variable API_KEY_FOR_IOS="YOUR_IOS_API_KEY_IS_HERE"
npm install --save @ionic-native/google-maps
The compilation fails
Thanks