hi, guys, I implemented the map using the steps of the following link
https://github.com/mapsplugin/cordova-plugin-googlemaps-doc/blob/master/v2.0.0/ionic-native/README.md
when I give ionic Cordova run android --prod it gives the following error…
C:\Users\Sam\Documents\Tapir\tapir-client-v2\platforms\android\src\plugin\google\maps\PluginStreetViewPanorama.java:21: error: cannot find symbol
import com.google.android.gms.maps.model.StreetViewSource;
^
symbol: class StreetViewSource
location: package com.google.android.gms.maps.model
C:\Users\Sam\Documents\Tapir\tapir-client-v2\platforms\android\src\plugin\google\maps\PluginStreetViewPanorama.java:93: error: cannot find symbol
StreetViewSource source = "OUTDOOR".equals(cameraOpts.getString("source")) ?
^
symbol: class StreetViewSource
location: class PluginStreetViewPanorama
C:\Users\Sam\Documents\Tapir\tapir-client-v2\platforms\android\src\plugin\google\maps\PluginStreetViewPanorama.java:94: error: cannot find symbol
StreetViewSource.OUTDOOR : StreetViewSource.DEFAULT;
^
symbol: variable StreetViewSource
location: class PluginStreetViewPanorama
C:\Users\Sam\Documents\Tapir\tapir-client-v2\platforms\android\src\plugin\google\maps\PluginStreetViewPanorama.java:94: error: cannot find symbol
StreetViewSource.OUTDOOR : StreetViewSource.DEFAULT;
^
symbol: variable StreetViewSource
location: class PluginStreetViewPanorama
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
4 errors
FAILURE: Build failed with an exception.
type or paste code here
help me how to solve this…
this is project info
ionic (Ionic CLI) : 3.20.0
global packages:
cordova (Cordova CLI) : 8.0.0
local packages:
@ionic/app-scripts : 1.3.4
Cordova Platforms : android 7.1.0
Ionic Framework : ionic-angular 3.1.1
System:
Android SDK Tools : 26.1.1
Node : v6.11.1
npm : 3.10.10
OS : Windows 10
Environment Variables:
ANDROID_HOME : C:\Sdk
Misc:
backend : pro
type or paste code here