nickrick32
Apple Fan
Profile
Posts: 111
Reg: Feb 28, 2011
location unknow...
1,110
05/21/14 07:24 AM (10 years ago)

Shutting down VM

I create app (not self hosted) and on iOS works fine now I create Android app and in the log cat I have this errors: 05-21 14:13:52.740: D/dalvikvm(2257): GC_CONCURRENT freed 0K, 19% free 8668K/10700K, paused 5ms+4ms, total 40ms 05-21 14:13:52.740: D/dalvikvm(2257): WAIT_FOR_CONCURRENT_GC blocked 19ms 05-21 14:13:55.450: W/ZZ(2257): BT_screen_splash:animationFinished 05-21 14:13:55.490: W/ZZ(2257): BT_screen_splash:onPause JSON itemId: "489393A05CE0BB2D8A62FED" itemType: "BT_screen_splash" itemNickname: “Aaa Splash" 05-21 14:13:55.530: W/ZZ(2257): BT_activity_host:onCreate 05-21 14:13:55.960: W/ZZ(2257): BT_activity_host:configureEnvironment 05-21 14:13:55.980: W/ZZ(2257): BT_activity_host:configureEnvironment Prompt For Push Notifications is ON (set to 1). 05-21 14:13:56.000: D/AndroidRuntime(2257): Shutting down VM 05-21 14:13:56.000: W/dalvikvm(2257): threadid=1: thread exiting with uncaught exception (group=0x40a71930) 05-21 14:13:56.071: E/AndroidRuntime(2257): FATAL EXCEPTION: main 05-21 14:13:56.071: E/AndroidRuntime(2257): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.myapp/com.myapp.BT_activity_host}: java.lang.UnsupportedOperationException: Device does not have package com.google.android.gsf 05-21 14:13:56.071: E/AndroidRuntime(2257): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2180) 05-21 14:13:56.071: E/AndroidRuntime(2257): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230) 05-21 14:13:56.071: E/AndroidRuntime(2257): at android.app.ActivityThread.access$600(ActivityThread.java:141) 05-21 14:13:56.071: E/AndroidRuntime(2257): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234) 05-21 14:13:56.071: E/AndroidRuntime(2257): at android.os.Handler.dispatchMessage(Handler.java:99) 05-21 14:13:56.071: E/AndroidRuntime(2257): at android.os.Looper.loop(Looper.java:137) 05-21 14:13:56.071: E/AndroidRuntime(2257): at android.app.ActivityThread.main(ActivityThread.java:5041) 05-21 14:13:56.071: E/AndroidRuntime(2257): at java.lang.reflect.Method.invokeNative(Native Method) 05-21 14:13:56.071: E/AndroidRuntime(2257): at java.lang.reflect.Method.invoke(Method.java:511) 05-21 14:13:56.071: E/AndroidRuntime(2257): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793) 05-21 14:13:56.071: E/AndroidRuntime(2257): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560) 05-21 14:13:56.071: E/AndroidRuntime(2257): at dalvik.system.NativeStart.main(Native Method) 05-21 14:13:56.071: E/AndroidRuntime(2257): Caused by: java.lang.UnsupportedOperationException: Device does not have package com.google.android.gsf 05-21 14:13:56.071: E/AndroidRuntime(2257): at com.google.android.gcm.GCMRegistrar.checkDevice(GCMRegistrar.java:98) 05-21 14:13:56.071: E/AndroidRuntime(2257): at com.myapp.BT_activity_host.configureEnvironment(BT_activity_host.java:293) 05-21 14:13:56.071: E/AndroidRuntime(2257): at com.myapp.BT_activity_host.onCreate(BT_activity_host.java:128) 05-21 14:13:56.071: E/AndroidRuntime(2257): at android.app.Activity.performCreate(Activity.java:5104) 05-21 14:13:56.071: E/AndroidRuntime(2257): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080) 05-21 14:13:56.071: E/AndroidRuntime(2257): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2144) 05-21 14:13:56.071: E/AndroidRuntime(2257): ... 11 more any idea? Is the problem with the splash plugin or? Thank you
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
05/21/14 07:31 AM (10 years ago)
Don't use splash screen on Android.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
05/21/14 08:21 AM (10 years ago)
Agree with Niraj...the splash screen is always problematic on Android. I'd remove it and see if that helps. Mark
 
nickrick32
Apple Fan
Profile
Posts: 111
Reg: Feb 28, 2011
location unknow...
1,110
like
05/21/14 08:53 AM (10 years ago)
Thank you for your response, I remove splash screen but still have same error...
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
05/21/14 08:55 AM (10 years ago)
Make sure you do a Project > Clean to make sure you break any old links that might be existing. If you still get the error, post the data. You'll also want to make sure you sync up the BT_Config.txt file so that the one in your project matches the one on bt.com. Mark
 
nickrick32
Apple Fan
Profile
Posts: 111
Reg: Feb 28, 2011
location unknow...
1,110
like
05/27/14 01:16 AM (10 years ago)
I remove splash screen and clean the project,... but still have error I use Android Developer Tools Build: v22.6.2-1085508 this is strange "05-27 08:07:11.238: I/Choreographer(838): Skipped 33 frames! The application may be doing too much work on its main thread." 05-27 08:07:03.448: W/ZZ(838): BT_fragment_load_config_data:loadAppConfigData 05-27 08:07:03.508: W/ZZ(838): BT_device:updateDeviceConnectionType: ConnectionType: CELL 05-27 08:07:03.558: W/ZZ(838): BT_device:updateDeviceSize This device has a screen size of: 480 (width) x 800 (height). 05-27 08:07:03.558: W/ZZ(838): BT_device:updateDeviceSize This application considers this to be a "small device" 05-27 08:07:03.568: W/ZZ(838): BT_device:updateDeviceSize This device is in "portrait" orientation. 05-27 08:07:03.568: W/ZZ(838): BT_fragment_load_config_data:loadAppConfigData loading "BT_config.txt" from /assests folder in project... 05-27 08:07:06.623: W/ZZ(838): BT_fileManager: readTextFileFromAssets: "/BT_config.txt" 05-27 08:07:07.058: I/Choreographer(838): Skipped 31 frames! The application may be doing too much work on its main thread. 05-27 08:07:07.169: D/dalvikvm(838): GC_CONCURRENT freed 314K, 12% free 3397K/3832K, paused 28ms+16ms, total 230ms 05-27 08:07:07.169: D/dalvikvm(838): WAIT_FOR_CONCURRENT_GC blocked 207ms 05-27 08:07:07.178: W/ZZ(838): BT_fragment_load_config_data:loadAppConfigData loaded "BT_config.txt" from /assets folder successfully... 05-27 08:07:07.218: W/ZZ(838): BT_application: getDataURLFromAppData 05-27 08:07:07.508: I/Choreographer(838): Skipped 41 frames! The application may be doing too much work on its main thread. 05-27 08:07:07.758: I/Choreographer(838): Skipped 30 frames! The application may be doing too much work on its main thread. 05-27 08:07:07.858: D/dalvikvm(838): GC_CONCURRENT freed 340K, 13% free 3478K/3964K, paused 46ms+78ms, total 294ms 05-27 08:07:07.948: I/Choreographer(838): Skipped 46 frames! The application may be doing too much work on its main thread. 05-27 08:07:08.279: I/Choreographer(838): Skipped 78 frames! The application may be doing too much work on its main thread. 05-27 08:07:08.968: W/ZZ(838): BT_fragment_load_config_data:loadAppConfigData "BT_config.txt" file does use a dataURL for remote updates... 05-27 08:07:09.018: W/ZZ(838): BT_fragment_load_config_data:loadAppConfigData cachedAppConfig.txt does not exist in the cache, using the BT_config.txt file included in project... 05-27 08:07:09.028: W/ZZ(838): BT_application: validateApplicationData 05-27 08:07:09.219: D/dalvikvm(838): GC_CONCURRENT freed 163K, 7% free 3768K/4052K, paused 5ms+37ms, total 269ms 05-27 08:07:10.348: W/ZZ(838): BT_fragment_load_config_data:loadAppConfigData application data appears to be valid JSON... 05-27 08:07:10.378: W/ZZ(838): BT_application: parseJSONData 05-27 08:07:10.598: D/dalvikvm(838): GC_CONCURRENT freed 498K, 15% free 3782K/4400K, paused 25ms+91ms, total 345ms 05-27 08:07:10.598: D/dalvikvm(838): WAIT_FOR_CONCURRENT_GC blocked 47ms 05-27 08:07:11.238: I/Choreographer(838): Skipped 33 frames! The application may be doing too much work on its main thread. 05-27 08:07:11.299: W/ZZ(838): BT_application: parsing core settings... 05-27 08:07:11.299: W/ZZ(838): BT_application: parsing themes... 05-27 08:07:11.299: W/ZZ(838): BT_application: parsing tabs... 05-27 08:07:11.309: W/ZZ(838): BT_application: parsing menus... 05-27 08:07:11.309: W/ZZ(838): BT_application: parsing screens... 05-27 08:07:11.398: W/ZZ(838): BT_application:parseJSONData done parsing application data 05-27 08:07:11.419: W/ZZ(838): BT_fragment_load_config_data:loadAppConfigData:sendMessageToMainThread 0 05-27 08:07:11.419: D/dalvikvm(838): GC_CONCURRENT freed 501K, 15% free 3747K/4400K, paused 5ms+37ms, total 302ms 05-27 08:07:11.488: W/ZZ(838): BT_activity_start:configureEnvironment 05-27 08:07:11.488: W/ZZ(838): BT_activity_start:configureEnvironment This app does not use a splash screen 05-27 08:07:11.518: W/ZZ(838): BT_activity_start:configureEnvironment Starting BT_activity_host 05-27 08:07:11.578: I/Choreographer(838): Skipped 40 frames! The application may be doing too much work on its main thread. 05-27 08:07:11.708: W/ZZ(838): BT_activity_host:onCreate 05-27 08:07:11.848: D/dalvikvm(838): GC_FOR_ALLOC freed 13K, 15% free 3752K/4400K, paused 96ms, total 98ms 05-27 08:07:11.848: I/dalvikvm-heap(838): Grow heap (frag case) to 3.785MB for 5200-byte allocation 05-27 08:07:11.988: D/dalvikvm(838): GC_FOR_ALLOC freed 5K, 15% free 3752K/4408K, paused 69ms, total 78ms 05-27 08:07:12.119: D/dalvikvm(838): GC_FOR_ALLOC freed <1K, 15% free 3753K/4408K, paused 123ms, total 123ms 05-27 08:07:12.139: I/dalvikvm-heap(838): Grow heap (frag case) to 3.786MB for 5200-byte allocation 05-27 08:07:12.309: D/dalvikvm(838): GC_FOR_ALLOC freed <1K, 15% free 3758K/4416K, paused 136ms, total 160ms 05-27 08:07:12.468: D/dalvikvm(838): GC_FOR_ALLOC freed 1K, 15% free 3762K/4416K, paused 104ms, total 105ms 05-27 08:07:12.468: I/dalvikvm-heap(838): Grow heap (frag case) to 3.808MB for 20752-byte allocation 05-27 08:07:12.658: D/dalvikvm(838): GC_FOR_ALLOC freed <1K, 15% free 3782K/4440K, paused 138ms, total 144ms 05-27 08:07:12.948: D/dalvikvm(838): GC_FOR_ALLOC freed 6K, 15% free 3810K/4440K, paused 81ms, total 104ms 05-27 08:07:12.958: I/dalvikvm-heap(838): Grow heap (frag case) to 3.840MB for 5200-byte allocation 05-27 08:07:13.109: D/dalvikvm(838): GC_FOR_ALLOC freed 1K, 15% free 3813K/4448K, paused 134ms, total 145ms 05-27 08:07:13.259: W/ZZ(838): BT_activity_host:configureEnvironment 05-27 08:07:13.279: W/ZZ(838): BT_activity_host:configureEnvironment Prompt For Push Notifications is ON (set to 1). 05-27 08:07:13.319: D/AndroidRuntime(838): Shutting down VM 05-27 08:07:13.319: W/dalvikvm(838): threadid=1: thread exiting with uncaught exception (group=0x40a71930) 05-27 08:07:13.638: D/dalvikvm(838): GC_FOR_ALLOC freed 17K, 14% free 3847K/4448K, paused 222ms, total 259ms 05-27 08:07:13.658: E/AndroidRuntime(838): FATAL EXCEPTION: main 05-27 08:07:13.658: E/AndroidRuntime(838): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.myapp/com.myapp.BT_activity_host}: java.lang.UnsupportedOperationException: Device does not have package com.google.android.gsf 05-27 08:07:13.658: E/AndroidRuntime(838): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2180) 05-27 08:07:13.658: E/AndroidRuntime(838): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230) 05-27 08:07:13.658: E/AndroidRuntime(838): at android.app.ActivityThread.access$600(ActivityThread.java:141) 05-27 08:07:13.658: E/AndroidRuntime(838): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234) 05-27 08:07:13.658: E/AndroidRuntime(838): at android.os.Handler.dispatchMessage(Handler.java:99) 05-27 08:07:13.658: E/AndroidRuntime(838): at android.os.Looper.loop(Looper.java:137) 05-27 08:07:13.658: E/AndroidRuntime(838): at android.app.ActivityThread.main(ActivityThread.java:5041) 05-27 08:07:13.658: E/AndroidRuntime(838): at java.lang.reflect.Method.invokeNative(Native Method) 05-27 08:07:13.658: E/AndroidRuntime(838): at java.lang.reflect.Method.invoke(Method.java:511) 05-27 08:07:13.658: E/AndroidRuntime(838): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793) 05-27 08:07:13.658: E/AndroidRuntime(838): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560) 05-27 08:07:13.658: E/AndroidRuntime(838): at dalvik.system.NativeStart.main(Native Method) 05-27 08:07:13.658: E/AndroidRuntime(838): Caused by: java.lang.UnsupportedOperationException: Device does not have package com.google.android.gsf 05-27 08:07:13.658: E/AndroidRuntime(838): at com.google.android.gcm.GCMRegistrar.checkDevice(GCMRegistrar.java:98) 05-27 08:07:13.658: E/AndroidRuntime(838): at com.myapp.BT_activity_host.configureEnvironment(BT_activity_host.java:293) 05-27 08:07:13.658: E/AndroidRuntime(838): at com.myapp.BT_activity_host.onCreate(BT_activity_host.java:128) 05-27 08:07:13.658: E/AndroidRuntime(838): at android.app.Activity.performCreate(Activity.java:5104) 05-27 08:07:13.658: E/AndroidRuntime(838): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080) 05-27 08:07:13.658: E/AndroidRuntime(838): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2144) 05-27 08:07:13.658: E/AndroidRuntime(838): ... 11 more 05-27 08:07:16.059: W/ZZ(838): myapp_appDelegate:SoundEffectLoader:doInBackground initSoundEffects 05-27 08:07:16.498: W/ZZ(838): myapp_appDelegate:SoundEffectLoader:doInBackground initSoundEffects DISABLED 05-27 08:07:17.948: I/Process(838): Sending signal. PID: 838 SIG: 9 any idea what is wrong? thank you
 

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.