question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

street view causing build errors in android

See original GitHub issue

BUILD FAILED in 16s (node:11693) UnhandledPromiseRejectionWarning: Error: platforms/android/gradlew: Command failed with exit code 1 Error output: Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. platforms/android/app/src/main/java/plugin/google/maps/PluginStreetViewPanorama.java:17: error: cannot find symbol import com.google.android.gms.maps.model.StreetViewSource; ^ symbol: class StreetViewSource location: package com.google.android.gms.maps.model platforms/android/app/src/main/java/plugin/google/maps/PluginStreetViewPanorama.java:87: error: cannot find symbol StreetViewSource source = “OUTDOOR”.equals(cameraOpts.getString(“source”)) ? ^ symbol: class StreetViewSource location: class PluginStreetViewPanorama platforms/android/app/src/main/java/plugin/google/maps/PluginStreetViewPanorama.java:88: error: cannot find symbol StreetViewSource.OUTDOOR : StreetViewSource.DEFAULT; ^ symbol: variable StreetViewSource location: class PluginStreetViewPanorama platforms/android/app/src/main/java/plugin/google/maps/PluginStreetViewPanorama.java:88: error: cannot find symbol StreetViewSource.OUTDOOR : StreetViewSource.DEFAULT; ^ symbol: variable StreetViewSource location: class PluginStreetViewPanorama platforms/android/app/src/main/java/plugin/google/maps/PluginStreetViewPanorama.java:280: error: cannot find symbol StreetViewSource source = “OUTDOOR”.equals(cameraOpts.getString(“source”)) ? ^ symbol: class StreetViewSource platforms/android/app/src/main/java/plugin/google/maps/PluginStreetViewPanorama.java:281: error: cannot find symbol StreetViewSource.OUTDOOR : StreetViewSource.DEFAULT; ^ symbol: variable StreetViewSource platforms/android/app/src/main/java/plugin/google/maps/PluginStreetViewPanorama.java:281: error: cannot find symbol StreetViewSource.OUTDOOR : StreetViewSource.DEFAULT;

I’m submitting a … (check one with “x”)

  • question
  • any problem or bug report
  • feature request

If you choose ‘problem or bug report’, please select OS: (check one with “x”)

  • Android
  • iOS

cordova information: (run $> cordova plugin list)

insert the output from the command here

branch-cordova-sdk 3.0.0 “branch-cordova-sdk” com.googlemaps.ios 2.7.0 “Google Maps SDK for iOS” cordova-background-geolocation-lt 2.12.1 “BackgroundGeolocation” cordova-clipboard 1.2.1 “Clipboard” cordova-custom-config 5.0.2 “cordova-custom-config” cordova-open-native-settings 1.5.1 “Native settings” cordova-plugin-actionsheet 2.3.3 “ActionSheet” cordova-plugin-android-permissions 1.0.0 “Permissions” cordova-plugin-app-version 0.1.9 “AppVersion” cordova-plugin-apprate 1.3.0 “AppRate” cordova-plugin-background-fetch 5.4.0 “CDVBackgroundFetch” cordova-plugin-camera 4.0.3 “Camera” cordova-plugin-cocoalumberjack 0.0.4 “CocoaLumberjack” cordova-plugin-compat 1.2.0 “Compat” cordova-plugin-customurlscheme 4.3.0 “Custom URL scheme” cordova-plugin-device 1.1.7 “Device” cordova-plugin-dialogs 2.0.1 “Notification” cordova-plugin-email-composer 0.8.15 “EmailComposer” cordova-plugin-facebook4 2.1.0 “Facebook Connect” cordova-plugin-file 4.3.3 “File” cordova-plugin-globalization 1.11.0 “Globalization” cordova-plugin-google-analytics 1.8.3 “Google Universal Analytics Plugin” cordova-plugin-googlemaps 2.3.4-beta-20180522-1712 “cordova-plugin-googlemaps” cordova-plugin-googleplus 5.3.0 “Google SignIn” cordova-plugin-inappbrowser 1.7.2 “InAppBrowser” cordova-plugin-insomnia 4.3.0 “Insomnia (prevent screen sleep)” cordova-plugin-network-information 1.3.4 “Network Information” cordova-plugin-splashscreen 4.1.0 “Splashscreen” cordova-plugin-statusbar 2.4.2 “StatusBar” cordova-plugin-tts 0.2.3 “TTS” cordova-plugin-whitelist 1.3.3 “Whitelist” cordova-plugin-x-socialsharing 5.4.0 “SocialSharing” cordova.plugins.diagnostic 3.9.2 “Diagnostic” es6-promise-plugin 4.2.2 “Promise” ionic-plugin-keyboard 2.2.1 “Keyboard” onesignal-cordova-plugin 2.4.0 “OneSignal Push Notifications” phonegap-plugin-mobile-accessibility 1.0.5-dev “Mobile Accessibility” uk.co.workingedge.phonegap.plugin.launchnavigator 4.2.0 “Launch Navigator”

If you use @ionic-native/google-maps, please tell the package.json (only @ionic-native/core and @ionic-native/google-maps are fine mostly)@ionic-native/google-maps”: “^4.8.2”,

Current behavior:

Expected behavior:

Screen capture or video record:

Related code, data or error log (please format your code or data):

The person who share your project files on Github (or other git repository) is in faster lane than other people.
Please share your project files on Github or others(Bitbucket, Gitlabs...etc).
If you don't want to share your project files, please create a demo project, then share it.

Screen captures, and/or native logs(such as Logcat, xcode logs) are appreciate.

Giving much information, you are waiting time is less.
Thank you for your cooperation.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:14 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
wf9a5m75commented, May 23, 2018
   <variable name="PLAY_SERVICES_VERSION" value="12.0.1" />

You need to use 15.0.1

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to fix "The Google Maps Android API Street View service ...
Can you provide the complete error message? For this issue, it might be because of an incorrectly configured project, or an invalid API...
Read more >
Error Messages | Maps JavaScript API - Google Developers
Under certain circumstances, a darkened map, or 'negative' Street View image, watermarked with the text "for development purposes only", may be displayed. This ......
Read more >
Known issues with Android Studio and Android Gradle Plugin
If you are working on Mac OS and your project is saved under /System/Volumes/Data , Gradle file watching will not properly track file...
Read more >
Fix a missing address or wrong pin location - Google Maps Help
Android ComputeriPhone & iPad ... On your Android phone or tablet, open the Google Maps app Maps . ... Move the map to...
Read more >
Google Maps - Wikipedia
Google Maps is a web mapping platform and consumer application offered by Google. It offers satellite imagery, aerial photography, street maps, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found