FunkyMonkey
Aspiring developer
Profile
Posts: 1177
Reg: Aug 07, 2013
blackpool
14,570
03/16/18 03:56 AM (6 years ago)

android studio map crash

has anybody managed to get there maps working in studio yet, got my server key all set up and installed in manifest, everything else works great, soon as i launch map, it crashes, heres log if that helps 03-16 10:37:58.085 14748-14748/com.chorleyresidential W/ZZ: AMG_ButtonPlus:loadScreenObject. Loading screen with JSON itemId: "9504B1F656824AE79B0A9B5" itemType: "BT_screen_map" itemNickname: "Guide to chorley" 03-16 10:37:58.085 14748-14748/com.chorleyresidential I/ZZ_BT_activity_host: initPluginWithScreenData 03-16 10:37:58.085 14748-14748/com.chorleyresidential W/ZZ: BT_activity_host:initPluginWithScreenData. Calling helper method in BT_application 03-16 10:37:58.085 14748-14748/com.chorleyresidential W/ZZ: BT_application:initPluginWithScreenData. Creating plugin with JSON itemId: "9504B1F656824AE79B0A9B5" itemType: "BT_screen_map" itemNickname: "Guide to chorley" 03-16 10:37:58.105 14748-14748/com.chorleyresidential W/ZZ: BT_screen_map:setScreenData JSON itemId: "9504B1F656824AE79B0A9B5" itemType: "BT_screen_map" itemNickname: "Guide to chorley" 03-16 10:37:58.105 14748-14748/com.chorleyresidential I/ZZ_BT_activity_host: showFragmentForPlugin 03-16 10:37:58.105 14748-14748/com.chorleyresidential W/ZZ: BT_activity_host:showFragmentForPlugin. Showing plugin with JSON itemId: "9504B1F656824AE79B0A9B5" itemType: "BT_screen_map" itemNickname: "Guide to chorley" 03-16 10:37:58.105 14748-14748/com.chorleyresidential I/ZZ_BT_activity_host: configureNavBarAndBackgroundForScreen 03-16 10:37:58.105 14748-14748/com.chorleyresidential W/ZZ: BT_activity_host:configureNavBarAndBackgroundForScreen Calling helper methods in BT_viewUtilities... 03-16 10:37:58.105 14748-14748/com.chorleyresidential I/ZZ_BT_activity_host: configureActionBar 03-16 10:37:58.125 14748-14748/com.chorleyresidential W/ZZ: BT_screen_map:onAttach JSON itemId: "9504B1F656824AE79B0A9B5" itemType: "BT_screen_map" itemNickname: "Guide to chorley" 03-16 10:37:58.125 14748-14748/com.chorleyresidential W/ZZ: BT_screen_map:onCreate JSON itemId: "9504B1F656824AE79B0A9B5" itemType: "BT_screen_map" itemNickname: "Guide to chorley" 03-16 10:37:58.125 14748-14748/com.chorleyresidential W/ZZ: BT_screen_map:onCreateView JSON itemId: "9504B1F656824AE79B0A9B5" itemType: "BT_screen_map" itemNickname: "Guide to chorley" 03-16 10:37:58.125 14748-14748/com.chorleyresidential W/ZZ: BT_screen_map:onCreate. Found Google Maps v2 API Key: AIzaSyA-ZhKI2Jk0YOpBEYnzk4PE1Yee1sZqPSg 03-16 10:37:58.135 14748-14748/com.chorleyresidential I/dalvikvm: Could not find method android.content.pm.PackageManager.getPackageInstaller, referenced from method com.google.android.gms.common.zze.zzs 03-16 10:37:58.135 14748-14748/com.chorleyresidential W/dalvikvm: VFY: unable to resolve virtual method 222: Landroid/content/pm/PackageManager;.getPackageInstaller ()Landroid/content/pm/PackageInstaller; 03-16 10:37:58.135 14748-14748/com.chorleyresidential D/dalvikvm: VFY: replacing opcode 0x6e at 0x0013 03-16 10:37:58.165 14748-14748/com.chorleyresidential I/zzai: Making Creator dynamically 03-16 10:37:58.265 14748-14748/com.chorleyresidential I/dalvikvm: Could not find method android.content.ContextWrapper.createCredentialProtectedStorageContext, referenced from method gyt.createCredentialProtectedStorageContext 03-16 10:37:58.265 14748-14748/com.chorleyresidential W/dalvikvm: VFY: unable to resolve virtual method 2291: Landroid/content/ContextWrapper;.createCredentialProtectedStorageContext ()Landroid/content/Context; 03-16 10:37:58.265 14748-14748/com.chorleyresidential D/dalvikvm: VFY: replacing opcode 0x6f at 0x0002 03-16 10:37:58.265 14748-14748/com.chorleyresidential I/dalvikvm: Could not find method android.content.ContextWrapper.createDeviceProtectedStorageContext, referenced from method gyt.createDeviceProtectedStorageContext 03-16 10:37:58.265 14748-14748/com.chorleyresidential W/dalvikvm: VFY: unable to resolve virtual method 2292: Landroid/content/ContextWrapper;.createDeviceProtectedStorageContext ()Landroid/content/Context; 03-16 10:37:58.265 14748-14748/com.chorleyresidential D/dalvikvm: VFY: replacing opcode 0x6f at 0x0002 03-16 10:37:58.275 14748-14748/com.chorleyresidential I/dalvikvm: Could not find method android.content.ContextWrapper.createCredentialProtectedStorageContext, referenced from method com.google.android.chimera.ModuleContext.createCredentialProtectedStorageContext 03-16 10:37:58.275 14748-14748/com.chorleyresidential W/dalvikvm: VFY: unable to resolve virtual method 2291: Landroid/content/ContextWrapper;.createCredentialProtectedStorageContext ()Landroid/content/Context; 03-16 10:37:58.275 14748-14748/com.chorleyresidential D/dalvikvm: VFY: replacing opcode 0x6f at 0x0002 03-16 10:37:58.275 14748-14748/com.chorleyresidential I/dalvikvm: Could not find method android.content.ContextWrapper.createDeviceProtectedStorageContext, referenced from method com.google.android.chimera.ModuleContext.createDeviceProtectedStorageContext 03-16 10:37:58.275 14748-14748/com.chorleyresidential W/dalvikvm: VFY: unable to resolve virtual method 2292: Landroid/content/ContextWrapper;.createDeviceProtectedStorageContext ()Landroid/content/Context; 03-16 10:37:58.275 14748-14748/com.chorleyresidential D/dalvikvm: VFY: replacing opcode 0x6f at 0x0002 03-16 10:37:58.275 14748-14748/com.chorleyresidential I/dalvikvm: Could not find method android.content.Context.isCredentialProtectedStorage, referenced from method bvv.a 03-16 10:37:58.275 14748-14748/com.chorleyresidential W/dalvikvm: VFY: unable to resolve virtual method 2271: Landroid/content/Context;.isCredentialProtectedStorage ()Z 03-16 10:37:58.275 14748-14748/com.chorleyresidential D/dalvikvm: VFY: replacing opcode 0x6e at 0x0000 03-16 10:37:58.275 14748-14748/com.chorleyresidential I/dalvikvm: Could not find method android.os.UserManager.isUserUnlocked, referenced from method bvv.a 03-16 10:37:58.275 14748-14748/com.chorleyresidential W/dalvikvm: VFY: unable to resolve virtual method 2867: Landroid/os/UserManager;.isUserUnlocked ()Z 03-16 10:37:58.275 14748-14748/com.chorleyresidential D/dalvikvm: VFY: replacing opcode 0x6e at 0x001a 03-16 10:37:58.275 14748-14748/com.chorleyresidential I/dalvikvm: Could not find method android.content.Context.isDeviceProtectedStorage, referenced from method bvv.b 03-16 10:37:58.275 14748-14748/com.chorleyresidential W/dalvikvm: VFY: unable to resolve virtual method 2272: Landroid/content/Context;.isDeviceProtectedStorage ()Z 03-16 10:37:58.275 14748-14748/com.chorleyresidential D/dalvikvm: VFY: replacing opcode 0x6e at 0x0000 03-16 10:37:58.275 14748-14748/com.chorleyresidential I/dalvikvm: Could not find method android.content.Context.isDeviceProtectedStorage, referenced from method bvv.c 03-16 10:37:58.275 14748-14748/com.chorleyresidential W/dalvikvm: VFY: unable to resolve virtual method 2272: Landroid/content/Context;.isDeviceProtectedStorage ()Z 03-16 10:37:58.275 14748-14748/com.chorleyresidential D/dalvikvm: VFY: replacing opcode 0x6e at 0x0000 03-16 10:37:58.345 14748-14748/com.chorleyresidential D/dalvikvm: DexOpt: couldn't find static field Landroid/os/Build;.SUPPORTED_64_BIT_ABIS 03-16 10:37:58.345 14748-14748/com.chorleyresidential W/dalvikvm: VFY: unable to resolve static field 799 (SUPPORTED_64_BIT_ABIS) in Landroid/os/Build; 03-16 10:37:58.345 14748-14748/com.chorleyresidential D/dalvikvm: VFY: replacing opcode 0x62 at 0x0012 03-16 10:37:58.345 14748-14748/com.chorleyresidential D/dalvikvm: DexOpt: couldn't find static field Landroid/os/Build;.SUPPORTED_32_BIT_ABIS 03-16 10:37:58.345 14748-14748/com.chorleyresidential W/dalvikvm: VFY: unable to resolve static field 798 (SUPPORTED_32_BIT_ABIS) in Landroid/os/Build; 03-16 10:37:58.345 14748-14748/com.chorleyresidential D/dalvikvm: VFY: replacing opcode 0x62 at 0x0021 03-16 10:37:58.345 14748-14748/com.chorleyresidential D/dalvikvm: DexOpt: couldn't find static field Landroid/os/Build;.SUPPORTED_ABIS 03-16 10:37:58.345 14748-14748/com.chorleyresidential W/dalvikvm: VFY: unable to resolve static field 800 (SUPPORTED_ABIS) in Landroid/os/Build; 03-16 10:37:58.345 14748-14748/com.chorleyresidential D/dalvikvm: VFY: replacing opcode 0x62 at 0x0008 03-16 10:37:58.345 14748-14748/com.chorleyresidential D/dalvikvm: DexOpt: couldn't find static field Landroid/os/Build;.SUPPORTED_64_BIT_ABIS 03-16 10:37:58.345 14748-14748/com.chorleyresidential W/dalvikvm: VFY: unable to resolve static field 799 (SUPPORTED_64_BIT_ABIS) in Landroid/os/Build; 03-16 10:37:58.345 14748-14748/com.chorleyresidential D/dalvikvm: VFY: replacing opcode 0x62 at 0x0008 03-16 10:37:58.345 14748-14748/com.chorleyresidential D/dalvikvm: DexOpt: couldn't find static field Landroid/os/Build;.SUPPORTED_64_BIT_ABIS 03-16 10:37:58.345 14748-14748/com.chorleyresidential I/dalvikvm: DexOpt: unable to optimize static field ref 0x031f at 0x17 in Lbxp;.a 03-16 10:37:58.345 14748-14748/com.chorleyresidential D/dalvikvm: DexOpt: couldn't find static field Landroid/os/Build;.SUPPORTED_32_BIT_ABIS 03-16 10:37:58.345 14748-14748/com.chorleyresidential I/dalvikvm: DexOpt: unable to optimize static field ref 0x031e at 0x26 in Lbxp;.a 03-16 10:37:58.345 14748-14748/com.chorleyresidential D/dalvikvm: DexOpt: couldn't find static field Landroid/os/Build;.SUPPORTED_64_BIT_ABIS 03-16 10:37:58.345 14748-14748/com.chorleyresidential I/dalvikvm: DexOpt: unable to optimize static field ref 0x031f at 0x0d in Lbxp;.b 03-16 10:37:58.425 14748-14748/com.chorleyresidential I/Google Maps Android API: Google Play services client version: 10084000 03-16 10:37:58.435 14748-14748/com.chorleyresidential I/Google Maps Android API: Google Play services package version: 11055070 03-16 10:37:58.485 14748-14748/com.chorleyresidential I/dalvikvm: Could not find method android.content.pm.PackageManager.getPackageInstaller, referenced from method jf.a 03-16 10:37:58.485 14748-14748/com.chorleyresidential W/dalvikvm: VFY: unable to resolve virtual method 2340: Landroid/content/pm/PackageManager;.getPackageInstaller ()Landroid/content/pm/PackageInstaller; 03-16 10:37:58.485 14748-14748/com.chorleyresidential D/dalvikvm: VFY: replacing opcode 0x6e at 0x0017 03-16 10:37:58.575 14748-14748/com.chorleyresidential E/dalvikvm: Could not find class 'com.google.android.chimera.Activity', referenced from method jx.b 03-16 10:37:58.575 14748-14748/com.chorleyresidential W/dalvikvm: VFY: unable to resolve instanceof 622 (Lcom/google/android/chimera/Activity;) in Ljx; 03-16 10:37:58.575 14748-14748/com.chorleyresidential D/dalvikvm: VFY: replacing opcode 0x20 at 0x0176 03-16 10:37:58.755 14748-14748/com.chorleyresidential W/agr: copyMemory is missing from platform - proto runtime falling back to safer methods. 03-16 10:37:58.765 14748-14748/com.chorleyresidential D/AndroidRuntime: Shutting down VM 03-16 10:37:58.765 14748-14748/com.chorleyresidential W/dalvikvm: threadid=1: thread exiting with uncaught exception (group=0x4304b160) 03-16 10:37:58.765 14748-14748/com.chorleyresidential E/AndroidRuntime: FATAL EXCEPTION: main Process: com.chorleyresidential, PID: 14748 java.lang.NullPointerException at com.chorleyresidential.ui.bt_screens.BT_screen_map.onCreateView(BT_screen_map.java:196) at android.support.v4.app.Fragment.performCreateView(Fragment.java:2184) at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1298) at android.support.v4.app.FragmentManagerImpl.moveFragmentsToInvisible(FragmentManager.java:2323) at android.support.v4.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2136) at android.support.v4.app.FragmentManagerImpl.optimizeAndExecuteOps(FragmentManager.java:2092) at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1998) at android.support.v4.app.FragmentManagerImpl$1.run(FragmentManager.java:709) at android.os.Handler.handleCallback(Handler.java:733) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:149) at android.app.ActivityThread.main(ActivityThread.java:5061) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:787) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:603) at dalvik.system.NativeStart.main(Native Method) any help or advice would be much appreciated Sean
 
FunkyMonkey
Aspiring developer
Profile
Posts: 1177
Reg: Aug 07, 2013
blackpool
14,570
like
03/19/18 02:14 AM (6 years ago)
Seams maps dont work with the new bt code, and there's been no fix for it, in the mean time, what you can do is use menu plus buttons and use different screen on android and use batchgeo to design your map for android. thanks sean
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
03/24/18 01:45 PM (6 years ago)
your only looking for what's directly under "fatal exception" when apps crash. what do you have on line 196? Which android bt version are you using? v2, v3, v4?
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
03/24/18 01:47 PM (6 years ago)
Seems like you have added code to that file because line 196 is just an else declaration, which wouldn't cause it to crash.
 
FunkyMonkey
Aspiring developer
Profile
Posts: 1177
Reg: Aug 07, 2013
blackpool
14,570
like
03/26/18 08:44 AM (6 years ago)
android 3.0.1. i dont think ive added code chris and i dont think anybody has got the maps on android working with the new buzz code. cheers sean
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
03/30/18 06:52 PM (6 years ago)
Been sick so just reading this. It will be pretty easy fix. Can you post line 196 in that file?
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
03/30/18 08:14 PM (6 years ago)
 
FunkyMonkey
Aspiring developer
Profile
Posts: 1177
Reg: Aug 07, 2013
blackpool
14,570
like
03/31/18 02:35 AM (6 years ago)
tried them didnt work chriss sean
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.