Open hukusuke1007 opened 11 months ago
same here..
Same. Tried to run the example application but get this error. Overriding onStreetViewPanoramaChange and catching the exception doesn't help.
That's an sdk issue, see here: https://issuetracker.google.com/issues/222232904
And BTW, if you set initPanoId instead of initPos it won't crash - not very useful but perhaps it might help someone
I made a fork with a fix, hope it helps:
flutter_google_street_view:
git:
url: https://github.com/liorboyango/flutter_street_view.git
path: flutter_google_street_view
ref: master
I am also having this issue. Adding the above to my pubspec.yaml gives the following issue. Any help would be appreciated:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':flutter_google_street_view:compileDebugJavaWithJavac'.
> error: invalid source release: 17
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 8s```
I am also having this issue. Adding the above to my pubspec.yaml gives the following issue. Any help would be appreciated:
FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':flutter_google_street_view:compileDebugJavaWithJavac'. > error: invalid source release: 17 * Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 8s```
Same issue here when build with Codemagic
@liorboyango would it be possible to merge your fork and publish a new release to pub.dev?
I am also having this issue. Adding the above to my pubspec.yaml gives the following issue. Any help would be appreciated:
FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':flutter_google_street_view:compileDebugJavaWithJavac'. > error: invalid source release: 17 * Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 8s```
Set your Android env to use Java17
The app crashes when setting a location where Street View does not exist.