Error while loading the map
See original GitHub issueHi, I’m getting this error while trying to load the map
System.err: TypeError: Cannot read property 'getInstance' of undefined
System.err: File: "file:///data/data/org.nativescript.complaints/files/app/tns_modules/nativescript-angular/zone-js/dist/zone-nativescript.js, line: 142, column: 24
System.err:
System.err: StackTrace:
System.err: Frame: function:'MapboxView.initMap', file:'file:///data/data/org.nativescript.complaints/files/app/tns_modules/nativescript-mapbox/mapbox.js', line: 39, column: 40
System.err: Frame: function:'', file:'file:///data/data/org.nativescript.complaints/files/app/tns_modules/nativescript-mapbox/mapbox.js', line: 30, column: 19
System.err: Frame: function:'ZoneDelegate.invokeTask', file:'file:///data/data/org.nativescript.complaints/files/app/tns_modules/nativescript-angular/zone-js/dist/zone-nativescript.js', line: 398, column: 31
System.err: Frame: function:'Zone.runTask', file:'file:///data/data/org.nativescript.complaints/files/app/tns_modules/nativescript-angular/zone-js/dist/zone-nativescript.js', line: 165, column: 47
System.err: Frame: function:'ZoneTask.invoke', file:'file:///data/data/org.nativescript.complaints/files/app/tns_modules/nativescript-angular/zone-js/dist/zone-nativescript.js', line: 460, column: 38
System.err: Frame: function:'timer', file:'file:///data/data/org.nativescript.complaints/files/app/tns_modules/nativescript-angular/zone-js/dist/zone-nativescript.js', line: 1636, column: 29
System.err: Frame: function:'invoke', file:'file:///data/data/org.nativescript.complaints/files/app/tns_modules/tns-core-modules/timer/timer.js', line: 19, column: 48
System.err: Frame: function:'ZoneDelegate.invoke', file:'file:///data/data/org.nativescript.complaints/files/app/tns_modules/nativescript-angular/zone-js/dist/zone-nativescript.js', line: 365, column: 26
System.err: Frame: function:'Zone.runGuarded', file:'file:///data/data/org.nativescript.complaints/files/app/tns_modules/nativescript-angular/zone-js/dist/zone-nativescript.js', line: 138, column: 47
System.err: Frame: function:'', file:'file:///data/data/org.nativescript.complaints/files/app/tns_modules/nativescript-angular/zone-js/dist/zone-nativescript.js', line: 116, column: 29
System.err: Frame: function:'run', file:'file:///data/data/org.nativescript.complaints/files/app/tns_modules/tns-core-modules/timer/timer.js', line: 23, column: 13
System.err:
System.err: at com.tns.Runtime.callJSMethodNative(Native Method)
System.err: at com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:1088)
System.err: at com.tns.Runtime.callJSMethodImpl(Runtime.java:970)
System.err: at com.tns.Runtime.callJSMethod(Runtime.java:957)
System.err: at com.tns.Runtime.callJSMethod(Runtime.java:941)
System.err: at com.tns.Runtime.callJSMethod(Runtime.java:933)
System.err: at com.tns.gen.java.lang.Runnable.run(Runnable.java:10)
System.err: at android.os.Handler.handleCallback(Handler.java:754)
System.err: at android.os.Handler.dispatchMessage(Handler.java:95)
System.err: at android.os.Looper.loop(Looper.java:163)
System.err: at android.app.ActivityThread.main(ActivityThread.java:6221)
System.err: at java.lang.reflect.Method.invoke(Native Method)
System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794)
ActivityManager: report kill process: killerPid is:31676, killedPid is:31676
ActivityManager: Process org.nativescript.complaints (pid 31676) has died: fore T
ActivityManager: cleanUpApplicationRecord -- 31676
I’m using
Nativescript
with Angular
.
Thanks in advance
Issue Analytics
- State:
- Created 5 years ago
- Comments:8
Top Results From Across the Web
Error while loading a map. Please help! (Solved)
Hello, while trying to load my game I got this Error while loading a map An error occurred while loading a map. See...
Read more >Error While Loading Map On Rimworld, PLEASE HELP - Reddit
After 4 failed colonies on strive to survive (PS I have 300+ hours in the game yet I'm still bad), I finally got...
Read more >4 Ways To Fix RimWorld Error Loading Map - West Games
Simply close the game and end all processes related to it once the error message pops up. If necessary, we recommend restarting your...
Read more >Error while loading a map - Ludeon Studios
"Error while loading a map" was solved by the above poster by editing the .rws file of the savegame. Open the .rws file...
Read more >Rimworld: Mfw you get error while loading a map - YouTube
I was having so much fun in this colony and for it to just to be gone is just sad, ... Rimworld: Mfw...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
That’s this line, which means you’ve added the plugin without doing a full build afterwards, I think.
Can you remove the platforms folder and build again?
Thanks for your reply @hcgustavo. I had to change to google maps as well, but then I had to switch to a new laptop and the plugin stopped working, giving this error => FAILURE: Build failed with an exception.
What went wrong: Could not resolve all files for configuration ‘:releaseCompileClasspath’. Could not find support-v4.aar (com.android.support:support-v4:26.1.0). Searched in the following locations: https://jcenter.bintray.com/com/android/support/support-v4/26.1.0/support-v4-26.1.0.aar
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Get more help at https://help.gradle.org
BUILD FAILED in 1s
I’m still on tns version 4.0.1