-
Notifications
You must be signed in to change notification settings - Fork 169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
System.err: TypeError: Cannot read property 'CameraPosition' of undefined #243
Comments
@dapriett Can we get some feedback on the status of this? |
Are you saying the java class |
@dapriett 2 other people have "thumbs up" the post. I agree with you that it appears the API is still there, so it might be an issue with our setup, but since more than I am experiencing this (and this is my first time in mobile development) is it possible anyone else can help look into this? |
Ok... so I'm going to close this and mark the issue resolved from my end, but their of the other 2 that still have the issue after following how I fixed it, please feel free to reopen.... STEPS I USED TO SOLVE: 2 - Delete any existing android emulators and re-create them. 3 - Remove the nativescript plugin ( 4 - Delete the 5 - re-add the nativescript plugin ( 6 - Launch the emulator and |
Lovely! |
I just came across this error when running on a device rather than an emulator. Simply trashing the android platform was enough to fix it for.
|
@3rror404 You mean you didn't have to throw the physical device away :-P |
Same worked for me even using an emulator. |
System.err: java.lang.RuntimeException: Unable to start activity ComponentInfo{org.nativescript.ProfessionalTraveler/com.tns.NativeScriptActivity}: com.tns.NativeScriptException:
System.err: Calling js method onCreateView failed
System.err:
System.err: TypeError: Cannot read property 'CameraPosition' of undefined
System.err: File: "file:///data/data/org.nativescript.ProfessionalTraveler/files/app/tns_modules/nativescript-google-maps-sdk/map-view.js, line: 217, column: 61
Running on emulated pixel 2, API version 26
EDIT 1:
It appears com.google.android.gms.maps.model is the null party.
Also that the package being used is com.google.android.gms:play-services-maps:11.8.0
The text was updated successfully, but these errors were encountered: