syedasad2001
Aspiring developer
Profile
Posts: 38
Reg: May 12, 2014
Karachi
380
06/13/14 11:44 PM (10 years ago)

Getting the message, Unfortunately (my app) has stopped on simulators

Hi, got rid of all the errors on eclipse. As I try to run it on different simulators, all of them give me a message "unfortunately (my app) has stopped" . What could I be doing wrong?
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
06/13/14 11:53 PM (10 years ago)
What does the logcat say?
 
syedasad2001
Aspiring developer
Profile
Posts: 38
Reg: May 12, 2014
Karachi
380
like
06/14/14 12:08 AM (10 years ago)
?:??: W/?(?): --------- beginning of /dev/log/main
 
syedasad2001
Aspiring developer
Profile
Posts: 38
Reg: May 12, 2014
Karachi
380
like
06/14/14 12:09 AM (10 years ago)
The
 
syedasad2001
Aspiring developer
Profile
Posts: 38
Reg: May 12, 2014
Karachi
380
like
06/14/14 12:12 AM (10 years ago)
Perh
 
syedasad2001
Aspiring developer
Profile
Posts: 38
Reg: May 12, 2014
Karachi
380
like
06/14/14 12:15 AM (10 years ago)
Here is the full log cat transcript. 06-14 02:59:40.460: D/dalvikvm(896): Not late-enabling CheckJNI (already on) 06-14 02:59:43.520: W/ZZ(896): wellchildclinic_appDelegate: onCreate 06-14 02:59:43.530: W/ZZ(896): wellchildclinic_appDelegate:loadAudioPlayer 06-14 02:59:43.530: W/ZZ(896): BT_application: Creating root-app object. 06-14 02:59:43.530: W/ZZ(896): BT_device: Creating root-device object. 06-14 02:59:43.560: W/ZZ(896): BT_device: This device uses an Android display density of: 320dpi (dots per inch) 06-14 02:59:43.560: W/ZZ(896): BT_device: This device can take pictures. 06-14 02:59:43.560: W/ZZ(896): BT_device: This device can take videos. 06-14 02:59:43.560: W/ZZ(896): BT_device: This device can send emails. 06-14 02:59:43.570: W/ZZ(896): BT_device: This device is GPS capable. 06-14 02:59:43.580: W/ZZ(896): BT_device: This device does support vibrating. 06-14 02:59:43.600: W/ZZ(896): BT_device: This device has an accelerometer (it can detect shaking). 06-14 02:59:43.600: W/ZZ(896): BT_device: This device can record audio. 06-14 02:59:43.610: W/ZZ(896): BT_user: Creating root-user object. 06-14 02:59:43.620: W/ZZ(896): BT_activity_start:onCreate 06-14 02:59:43.620: W/ZZ(896): BT_activity_start:onCreate This device is running Android Build Vers:19 06-14 02:59:43.690: W/ZZ(896): BT_activity_start:loadAppConfigData 06-14 02:59:43.700: W/ZZ(896): BT_fragment_load_config_data:onCreate 06-14 02:59:43.700: W/ZZ(896): BT_fragment_load_config_data:onCreateView 06-14 02:59:43.710: W/ZZ(896): BT_fragment_load_config_data:loadAppConfigDataAfterDelay: Delaying 2000 milliseconds 06-14 02:59:43.830: D/dalvikvm(896): GC_FOR_ALLOC freed 73K, 5% free 3146K/3288K, paused 35ms, total 36ms 06-14 02:59:43.830: I/dalvikvm-heap(896): Grow heap (frag case) to 4.208MB for 1127536-byte allocation 06-14 02:59:43.870: D/dalvikvm(896): GC_FOR_ALLOC freed 1K, 4% free 4246K/4392K, paused 36ms, total 36ms 06-14 02:59:43.920: W/ZZ(896): wellchildclinic_appDelegate:SoundEffectLoader:doInBackground initSoundEffects 06-14 02:59:43.920: W/ZZ(896): wellchildclinic_appDelegate:SoundEffectLoader:doInBackground initSoundEffects DISABLED 06-14 02:59:44.580: I/Choreographer(896): Skipped 46 frames! The application may be doing too much work on its main thread. 06-14 02:59:44.630: D/gralloc_goldfish(896): Emulator without GPU emulation detected. 06-14 02:59:45.920: I/Choreographer(896): Skipped 87 frames! The application may be doing too much work on its main thread. 06-14 02:59:46.270: W/ZZ(896): BT_fragment_load_config_data:loadAppConfigData 06-14 02:59:46.330: W/ZZ(896): BT_device:updateDeviceConnectionType: ConnectionType: CELL 06-14 02:59:46.390: W/ZZ(896): BT_device:updateDeviceSize This device has a screen size of: 720 (width) x 1184 (height). 06-14 02:59:46.390: W/ZZ(896): BT_device:updateDeviceSize This application considers this to be a "large device" 06-14 02:59:46.470: W/ZZ(896): BT_device:updateDeviceSize This device is in "portrait" orientation. 06-14 02:59:46.470: W/ZZ(896): BT_fragment_load_config_data:loadAppConfigData loading "BT_config.txt" from /assests folder in project... 06-14 02:59:50.800: W/ZZ(896): BT_fileManager: readTextFileFromAssets: "/BT_config.txt" 06-14 02:59:51.350: D/dalvikvm(896): GC_FOR_ALLOC freed 258K, 7% free 4470K/4792K, paused 132ms, total 134ms 06-14 02:59:51.490: D/dalvikvm(896): GC_FOR_ALLOC freed 299K, 9% free 4562K/4964K, paused 110ms, total 111ms 06-14 02:59:51.490: I/dalvikvm-heap(896): Grow heap (frag case) to 4.764MB for 261542-byte allocation 06-14 02:59:51.520: D/dalvikvm(896): GC_FOR_ALLOC freed 170K, 11% free 4647K/5220K, paused 33ms, total 33ms 06-14 02:59:51.630: D/dalvikvm(896): GC_FOR_ALLOC freed 96K, 11% free 4647K/5220K, paused 39ms, total 39ms 06-14 02:59:51.700: D/dalvikvm(896): GC_FOR_ALLOC freed 402K, 10% free 4775K/5248K, paused 38ms, total 38ms 06-14 02:59:51.700: I/dalvikvm-heap(896): Grow heap (frag case) to 5.284MB for 588458-byte allocation 06-14 02:59:51.850: D/dalvikvm(896): GC_FOR_ALLOC freed 383K, 15% free 4966K/5824K, paused 130ms, total 130ms 06-14 02:59:51.990: W/ZZ(896): BT_fragment_load_config_data:loadAppConfigData loaded "BT_config.txt" from /assets folder successfully... 06-14 02:59:51.990: W/ZZ(896): BT_application: getDataURLFromAppData 06-14 02:59:54.410: D/dalvikvm(896): GC_FOR_ALLOC freed 692K, 15% free 4975K/5824K, paused 73ms, total 74ms 06-14 02:59:56.310: D/dalvikvm(896): GC_FOR_ALLOC freed 175K, 6% free 5503K/5824K, paused 254ms, total 255ms 06-14 02:59:57.370: W/ZZ(896): BT_fragment_load_config_data:loadAppConfigData "BT_config.txt" file does use a dataURL for remote updates... 06-14 02:59:57.420: W/ZZ(896): BT_fragment_load_config_data:loadAppConfigData cachedAppConfig.txt does not exist in the cache, using the BT_config.txt file included in project... 06-14 02:59:57.420: W/ZZ(896): BT_application: validateApplicationData 06-14 02:59:58.550: D/dalvikvm(896): GC_FOR_ALLOC freed 1293K, 22% free 5091K/6448K, paused 57ms, total 57ms 06-14 03:00:00.330: D/dalvikvm(896): GC_FOR_ALLOC freed 181K, 13% free 5652K/6448K, paused 212ms, total 212ms 06-14 03:00:00.330: I/Choreographer(896): Skipped 41 frames! The application may be doing too much work on its main thread. 06-14 03:00:00.630: W/ZZ(896): BT_fragment_load_config_data:loadAppConfigData application data appears to be valid JSON... 06-14 03:00:00.630: W/ZZ(896): BT_application: parseJSONData 06-14 03:00:02.100: D/dalvikvm(896): GC_FOR_ALLOC freed 1301K, 21% free 5280K/6644K, paused 103ms, total 103ms 06-14 03:00:02.630: I/Choreographer(896): Skipped 35 frames! The application may be doing too much work on its main thread. 06-14 03:00:04.070: W/ZZ(896): BT_application: parsing core settings... 06-14 03:00:04.070: W/ZZ(896): BT_application: parsing themes... 06-14 03:00:04.080: W/ZZ(896): BT_application: parsing tabs... 06-14 03:00:04.080: W/ZZ(896): BT_application: parsing menus... 06-14 03:00:04.080: W/ZZ(896): BT_application: parsing screens... 06-14 03:00:04.210: W/ZZ(896): BT_application:parseJSONData done parsing application data 06-14 03:00:04.210: W/ZZ(896): BT_fragment_load_config_data:loadAppConfigData:sendMessageToMainThread 0 06-14 03:00:04.240: I/Choreographer(896): Skipped 38 frames! The application may be doing too much work on its main thread. 06-14 03:00:04.450: W/ZZ(896): BT_activity_start:configureEnvironment 06-14 03:00:04.450: W/ZZ(896): BT_activity_start:configureEnvironment This app does not use a splash screen 06-14 03:00:04.450: W/ZZ(896): BT_activity_start:configureEnvironment Starting BT_activity_host 06-14 03:00:04.970: I/Choreographer(896): Skipped 68 frames! The application may be doing too much work on its main thread. 06-14 03:00:05.140: W/ZZ(896): BT_activity_host:onCreate 06-14 03:00:05.270: D/dalvikvm(896): GC_FOR_ALLOC freed 209K, 12% free 5875K/6644K, paused 84ms, total 91ms 06-14 03:00:05.690: W/ZZ(896): BT_activity_host:configureEnvironment 06-14 03:00:05.690: W/ZZ(896): BT_activity_host:configureEnvironment Prompt For Push Notifications is ON (set to 1). 06-14 03:00:05.720: D/AndroidRuntime(896): Shutting down VM 06-14 03:00:05.720: W/dalvikvm(896): threadid=1: thread exiting with uncaught exception (group=0xb2a7bba8) 06-14 03:00:05.750: E/AndroidRuntime(896): FATAL EXCEPTION: main 06-14 03:00:05.750: E/AndroidRuntime(896): Process: com.wellchildclinic, PID: 896 06-14 03:00:05.750: E/AndroidRuntime(896): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.wellchildclinic/com.wellchildclinic.BT_activity_host}: java.lang.UnsupportedOperationException: Device does not have package com.google.android.gsf 06-14 03:00:05.750: E/AndroidRuntime(896): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2195) 06-14 03:00:05.750: E/AndroidRuntime(896): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245) 06-14 03:00:05.750: E/AndroidRuntime(896): at android.app.ActivityThread.access$800(ActivityThread.java:135) 06-14 03:00:05.750: E/AndroidRuntime(896): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196) 06-14 03:00:05.750: E/AndroidRuntime(896): at android.os.Handler.dispatchMessage(Handler.java:102) 06-14 03:00:05.750: E/AndroidRuntime(896): at android.os.Looper.loop(Looper.java:136) 06-14 03:00:05.750: E/AndroidRuntime(896): at android.app.ActivityThread.main(ActivityThread.java:5017) 06-14 03:00:05.750: E/AndroidRuntime(896): at java.lang.reflect.Method.invokeNative(Native Method) 06-14 03:00:05.750: E/AndroidRuntime(896): at java.lang.reflect.Method.invoke(Method.java:515) 06-14 03:00:05.750: E/AndroidRuntime(896): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779) 06-14 03:00:05.750: E/AndroidRuntime(896): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595) 06-14 03:00:05.750: E/AndroidRuntime(896): at dalvik.system.NativeStart.main(Native Method) 06-14 03:00:05.750: E/AndroidRuntime(896): Caused by: java.lang.UnsupportedOperationException: Device does not have package com.google.android.gsf 06-14 03:00:05.750: E/AndroidRuntime(896): at com.google.android.gcm.GCMRegistrar.checkDevice(GCMRegistrar.java:98) 06-14 03:00:05.750: E/AndroidRuntime(896): at com.wellchildclinic.BT_activity_host.configureEnvironment(BT_activity_host.java:293) 06-14 03:00:05.750: E/AndroidRuntime(896): at com.wellchildclinic.BT_activity_host.onCreate(BT_activity_host.java:128) 06-14 03:00:05.750: E/AndroidRuntime(896): at android.app.Activity.performCreate(Activity.java:5231) 06-14 03:00:05.750: E/AndroidRuntime(896): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087) 06-14 03:00:05.750: E/AndroidRuntime(896): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2159) 06-14 03:00:05.750: E/AndroidRuntime(896): ... 11 more 06-14 03:00:14.540: I/Process(896): Sending signal. PID: 896 SIG: 9 06-14 03:08:53.001: W/ZZ(1111): wellchildclinic_appDelegate: onCreate 06-14 03:08:53.001: W/ZZ(1111): wellchildclinic_appDelegate:loadAudioPlayer 06-14 03:08:53.101: W/ZZ(1111): BT_application: Creating root-app object. 06-14 03:08:53.101: W/ZZ(1111): BT_device: Creating root-device object. 06-14 03:08:53.111: W/ZZ(1111): wellchildclinic_appDelegate:SoundEffectLoader:doInBackground initSoundEffects 06-14 03:08:53.171: W/ZZ(1111): wellchildclinic_appDelegate:SoundEffectLoader:doInBackground initSoundEffects DISABLED 06-14 03:08:53.171: W/ZZ(1111): BT_device: This device uses an Android display density of: 320dpi (dots per inch) 06-14 03:08:53.181: W/ZZ(1111): BT_device: This device can take pictures. 06-14 03:08:53.181: W/ZZ(1111): BT_device: This device can take videos. 06-14 03:08:53.231: W/ZZ(1111): BT_device: This device can send emails. 06-14 03:08:53.291: W/ZZ(1111): BT_device: This device is GPS capable. 06-14 03:08:53.301: W/ZZ(1111): BT_device: This device does support vibrating. 06-14 03:08:53.381: W/ZZ(1111): BT_device: This device has an accelerometer (it can detect shaking). 06-14 03:08:53.381: W/ZZ(1111): BT_device: This device can record audio. 06-14 03:08:53.391: W/ZZ(1111): BT_user: Creating root-user object. 06-14 03:08:53.471: W/ZZ(1111): BT_activity_start:onCreate 06-14 03:08:53.471: W/ZZ(1111): BT_activity_start:onCreate This device is running Android Build Vers:19 06-14 03:08:53.831: W/ZZ(1111): BT_activity_start:loadAppConfigData 06-14 03:08:53.831: W/ZZ(1111): BT_fragment_load_config_data:onCreate 06-14 03:08:53.841: W/ZZ(1111): BT_fragment_load_config_data:onCreateView 06-14 03:08:53.841: W/ZZ(1111): BT_fragment_load_config_data:loadAppConfigDataAfterDelay: Delaying 2000 milliseconds 06-14 03:08:53.971: D/dalvikvm(1111): GC_FOR_ALLOC freed 71K, 5% free 3147K/3284K, paused 41ms, total 42ms 06-14 03:08:53.981: I/dalvikvm-heap(1111): Grow heap (frag case) to 4.208MB for 1127536-byte allocation 06-14 03:08:54.021: D/dalvikvm(1111): GC_FOR_ALLOC freed 1K, 4% free 4246K/4388K, paused 37ms, total 37ms 06-14 03:08:54.521: D/gralloc_goldfish(1111): Emulator without GPU emulation detected. 06-14 03:08:55.521: I/Choreographer(1111): Skipped 52 frames! The application may be doing too much work on its main thread. 06-14 03:08:56.331: W/ZZ(1111): BT_fragment_load_config_data:loadAppConfigData 06-14 03:08:56.441: W/ZZ(1111): BT_device:updateDeviceConnectionType: ConnectionType: CELL 06-14 03:08:56.441: W/ZZ(1111): BT_device:updateDeviceSize This device has a screen size of: 720 (width) x 1184 (height). 06-14 03:08:56.441: W/ZZ(1111): BT_device:updateDeviceSize This application considers this to be a "large device" 06-14 03:08:56.451: W/ZZ(1111): BT_device:updateDeviceSize This device is in "portrait" orientation. 06-14 03:08:56.451: W/ZZ(1111): BT_fragment_load_config_data:loadAppConfigData loading "BT_config.txt" from /assests folder in project... 06-14 03:08:59.731: W/ZZ(1111): BT_fileManager: readTextFileFromAssets: "/BT_config.txt" 06-14 03:09:00.331: D/dalvikvm(1111): GC_FOR_ALLOC freed 256K, 7% free 4470K/4792K, paused 78ms, total 80ms 06-14 03:09:00.631: D/dalvikvm(1111): GC_FOR_ALLOC freed 299K, 9% free 4562K/4964K, paused 105ms, total 106ms 06-14 03:09:00.631: I/dalvikvm-heap(1111): Grow heap (frag case) to 4.764MB for 261542-byte allocation 06-14 03:09:00.721: D/dalvikvm(1111): GC_FOR_ALLOC freed 170K, 11% free 4647K/5220K, paused 79ms, total 79ms 06-14 03:09:00.861: D/dalvikvm(1111): GC_FOR_ALLOC freed 96K, 11% free 4647K/5220K, paused 72ms, total 72ms 06-14 03:09:00.871: I/dalvikvm-heap(1111): Grow heap (frag case) to 4.972MB for 392308-byte allocation 06-14 03:09:00.961: D/dalvikvm(1111): GC_FOR_ALLOC freed 255K, 15% free 4775K/5604K, paused 85ms, total 85ms 06-14 03:09:01.121: D/dalvikvm(1111): GC_FOR_ALLOC freed 147K, 15% free 4775K/5604K, paused 49ms, total 49ms 06-14 03:09:01.331: D/dalvikvm(1111): GC_FOR_ALLOC freed 408K, 12% free 4966K/5604K, paused 69ms, total 69ms 06-14 03:09:01.331: W/ZZ(1111): BT_fragment_load_config_data:loadAppConfigData loaded "BT_config.txt" from /assets folder successfully... 06-14 03:09:01.331: W/ZZ(1111): BT_application: getDataURLFromAppData 06-14 03:09:03.821: D/dalvikvm(1111): GC_FOR_ALLOC freed 673K, 13% free 4996K/5732K, paused 46ms, total 47ms 06-14 03:09:05.751: D/dalvikvm(1111): GC_FOR_ALLOC freed 178K, 5% free 5531K/5772K, paused 135ms, total 136ms 06-14 03:09:06.231: W/ZZ(1111): BT_fragment_load_config_data:loadAppConfigData "BT_config.txt" file does use a dataURL for remote updates... 06-14 03:09:06.321: W/ZZ(1111): BT_fragment_load_config_data:loadAppConfigData cachedAppConfig.txt does not exist in the cache, using the BT_config.txt file included in project... 06-14 03:09:06.351: W/ZZ(1111): BT_application: validateApplicationData 06-14 03:09:07.831: D/dalvikvm(1111): GC_FOR_ALLOC freed 1296K, 21% free 5125K/6484K, paused 136ms, total 136ms 06-14 03:09:09.691: D/dalvikvm(1111): GC_FOR_ALLOC freed 183K, 13% free 5695K/6484K, paused 185ms, total 185ms 06-14 03:09:09.861: W/ZZ(1111): BT_fragment_load_config_data:loadAppConfigData application data appears to be valid JSON... 06-14 03:09:09.861: W/ZZ(1111): BT_application: parseJSONData 06-14 03:09:11.571: D/dalvikvm(1111): GC_FOR_ALLOC freed 1307K, 21% free 5333K/6704K, paused 181ms, total 181ms 06-14 03:09:12.241: W/ZZ(1111): BT_application: parsing core settings... 06-14 03:09:12.241: W/ZZ(1111): BT_application: parsing themes... 06-14 03:09:12.251: W/ZZ(1111): BT_application: parsing tabs... 06-14 03:09:12.251: W/ZZ(1111): BT_application: parsing menus... 06-14 03:09:12.251: W/ZZ(1111): BT_application: parsing screens... 06-14 03:09:12.861: W/ZZ(1111): BT_application:parseJSONData done parsing application data 06-14 03:09:12.861: W/ZZ(1111): BT_fragment_load_config_data:loadAppConfigData:sendMessageToMainThread 0 06-14 03:09:13.141: W/ZZ(1111): BT_activity_start:configureEnvironment 06-14 03:09:13.141: W/ZZ(1111): BT_activity_start:configureEnvironment This app does not use a splash screen 06-14 03:09:13.141: W/ZZ(1111): BT_activity_start:configureEnvironment Starting BT_activity_host 06-14 03:09:13.641: I/Choreographer(1111): Skipped 77 frames! The application may be doing too much work on its main thread. 06-14 03:09:13.781: W/ZZ(1111): BT_activity_host:onCreate 06-14 03:09:14.171: D/dalvikvm(1111): GC_FOR_ALLOC freed 197K, 12% free 5953K/6704K, paused 92ms, total 109ms 06-14 03:09:14.301: W/ZZ(1111): BT_activity_host:configureEnvironment 06-14 03:09:14.311: W/ZZ(1111): BT_activity_host:configureEnvironment Prompt For Push Notifications is ON (set to 1). 06-14 03:09:14.331: D/AndroidRuntime(1111): Shutting down VM 06-14 03:09:14.331: W/dalvikvm(1111): threadid=1: thread exiting with uncaught exception (group=0xb2a7bba8) 06-14 03:09:14.381: E/AndroidRuntime(1111): FATAL EXCEPTION: main 06-14 03:09:14.381: E/AndroidRuntime(1111): Process: com.wellchildclinic, PID: 1111 06-14 03:09:14.381: E/AndroidRuntime(1111): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.wellchildclinic/com.wellchildclinic.BT_activity_host}: java.lang.UnsupportedOperationException: Device does not have package com.google.android.gsf 06-14 03:09:14.381: E/AndroidRuntime(1111): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2195) 06-14 03:09:14.381: E/AndroidRuntime(1111): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245) 06-14 03:09:14.381: E/AndroidRuntime(1111): at android.app.ActivityThread.access$800(ActivityThread.java:135) 06-14 03:09:14.381: E/AndroidRuntime(1111): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196) 06-14 03:09:14.381: E/AndroidRuntime(1111): at android.os.Handler.dispatchMessage(Handler.java:102) 06-14 03:09:14.381: E/AndroidRuntime(1111): at android.os.Looper.loop(Looper.java:136) 06-14 03:09:14.381: E/AndroidRuntime(1111): at android.app.ActivityThread.main(ActivityThread.java:5017) 06-14 03:09:14.381: E/AndroidRuntime(1111): at java.lang.reflect.Method.invokeNative(Native Method) 06-14 03:09:14.381: E/AndroidRuntime(1111): at java.lang.reflect.Method.invoke(Method.java:515) 06-14 03:09:14.381: E/AndroidRuntime(1111): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779) 06-14 03:09:14.381: E/AndroidRuntime(1111): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595) 06-14 03:09:14.381: E/AndroidRuntime(1111): at dalvik.system.NativeStart.main(Native Method) 06-14 03:09:14.381: E/AndroidRuntime(1111): Caused by: java.lang.UnsupportedOperationException: Device does not have package com.google.android.gsf 06-14 03:09:14.381: E/AndroidRuntime(1111): at com.google.android.gcm.GCMRegistrar.checkDevice(GCMRegistrar.java:98) 06-14 03:09:14.381: E/AndroidRuntime(1111): at com.wellchildclinic.BT_activity_host.configureEnvironment(BT_activity_host.java:293) 06-14 03:09:14.381: E/AndroidRuntime(1111): at com.wellchildclinic.BT_activity_host.onCreate(BT_activity_host.java:128) 06-14 03:09:14.381: E/AndroidRuntime(1111): at android.app.Activity.performCreate(Activity.java:5231) 06-14 03:09:14.381: E/AndroidRuntime(1111): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087) 06-14 03:09:14.381: E/AndroidRuntime(1111): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2159) 06-14 03:09:14.381: E/AndroidRuntime(1111): ... 11 more 06-14 03:09:17.541: I/Process(1111): Sending signal. PID: 1111 SIG: 9
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
06/14/14 01:04 AM (10 years ago)
Im not sure.what plugins are you using,ads,other stuff youve added to it? Also have you seen GoNorthWest video tutorials?
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
06/14/14 03:50 AM (10 years ago)
From the looks of things (and I could be totally off base here, but) It crashes 'right after' you register for push notifications. 06-14 03:09:14.311: W/ZZ(1111): BT_activity_host:configureEnvironment Prompt For Push Notifications is ON (set to 1). 06-14 03:09:14.331: D/AndroidRuntime(1111): Shutting down VM 06-14 03:09:14.331: W/dalvikvm(1111): threadid=1: thread exiting with uncaught exception (group=0xb2a7bba8) Not having configured push myself, I'm just asking... Did you get all the components needed for push and configured them? If not, try turning push 'off' in the BT Control Panel (Core) and try it again... Or completely configure push. Just throwing out a suggestion... Cheers! -- Smug
 
syedasad2001
Aspiring developer
Profile
Posts: 38
Reg: May 12, 2014
Karachi
380
like
06/14/14 12:39 PM (10 years ago)
Hi CMCOFFEE, thanks for replying. I have see the youtube videos of Mark Fleimg which are very good. Will also check those by GoNorthWest. @Smug, you were very right. I switched the push feature off and it worked. However, app is only half way made and it crashes on particular screens. The log cat says the following: 06-14 15:29:00.234: E/libEGL(49): called unimplemented OpenGL ES API 06-14 15:29:00.234: E/libEGL(49): called unimplemented OpenGL ES API 06-14 15:29:00.234: E/SurfaceFlinger(49): glCheckFramebufferStatusOES error -635657811 06-14 15:29:00.234: E/SurfaceFlinger(49): got GL_FRAMEBUFFER_COMPLETE_OES error while taking screenshot 06-14 15:29:00.234: E/libEGL(49): called unimplemented OpenGL ES API 06-14 15:29:00.234: E/libEGL(49): called unimplemented OpenGL ES API 06-14 15:29:00.264: W/WindowManager(398): Screenshot failure taking screenshot for (328x583) to layer 21010 06-14 15:29:00.434: D/dalvikvm(398): GC_FOR_ALLOC freed 551K, 12% free 5915K/6692K, paused 101ms, total 104ms 06-14 15:29:00.524: D/dalvikvm(398): GC_FOR_ALLOC freed 22K, 11% free 5991K/6692K, paused 80ms, total 80ms 06-14 15:29:00.534: I/dalvikvm-heap(398): Grow heap (frag case) to 7.057MB for 1127536-byte allocation 06-14 15:29:00.624: D/dalvikvm(398): GC_FOR_ALLOC freed 10K, 10% free 7081K/7796K, paused 80ms, total 80ms 06-14 15:29:00.944: W/ActivityManager(398): Activity pause timeout for ActivityRecord{b20b1d48 u0 com.wellchildclinic/.BT_activity_host t2 f} 06-14 15:29:01.304: I/Choreographer(398): Skipped 54 frames! The application may be doing too much work on its main thread. 06-14 15:29:01.654: I/Choreographer(552): Skipped 37 frames! The application may be doing too much work on its main thread. 06-14 15:29:09.224: I/Process(1040): Sending signal. PID: 1040 SIG: 9 06-14 15:29:09.264: E/SoundPool(398): error loading /system/media/audio/ui/Effect_Tick.ogg 06-14 15:29:09.264: W/AudioService(398): Soundpool could not load file: /system/media/audio/ui/Effect_Tick.ogg 06-14 15:29:09.264: E/SoundPool(398): error loading /system/media/audio/ui/Effect_Tick.ogg 06-14 15:29:09.274: W/AudioService(398): Soundpool could not load file: /system/media/audio/ui/Effect_Tick.ogg 06-14 15:29:09.274: E/SoundPool(398): error loading /system/media/audio/ui/Effect_Tick.ogg 06-14 15:29:09.274: W/AudioService(398): Soundpool could not load file: /system/media/audio/ui/Effect_Tick.ogg 06-14 15:29:09.274: E/SoundPool(398): error loading /system/media/audio/ui/Effect_Tick.ogg 06-14 15:29:09.274: W/AudioService(398): Soundpool could not load file: /system/media/audio/ui/Effect_Tick.ogg 06-14 15:29:09.274: E/SoundPool(398): error loading /system/media/audio/ui/Effect_Tick.ogg 06-14 15:29:09.274: W/AudioService(398): Soundpool could not load file: /system/media/audio/ui/Effect_Tick.ogg 06-14 15:29:09.274: E/SoundPool(398): error loading /system/media/audio/ui/KeypressStandard.ogg 06-14 15:29:09.284: W/AudioService(398): Soundpool could not load file: /system/media/audio/ui/KeypressStandard.ogg 06-14 15:29:09.284: E/SoundPool(398): error loading /system/media/audio/ui/KeypressSpacebar.ogg 06-14 15:29:09.284: W/AudioService(398): Soundpool could not load file: /system/media/audio/ui/KeypressSpacebar.ogg 06-14 15:29:09.294: E/SoundPool(398): error loading /system/media/audio/ui/KeypressDelete.ogg 06-14 15:29:09.294: W/AudioService(398): Soundpool could not load file: /system/media/audio/ui/KeypressDelete.ogg 06-14 15:29:09.294: E/SoundPool(398): error loading /system/media/audio/ui/KeypressReturn.ogg 06-14 15:29:09.344: W/AudioService(398): Soundpool could not load file: /system/media/audio/ui/KeypressReturn.ogg 06-14 15:29:09.344: E/SoundPool(398): error loading /system/media/audio/ui/KeypressInvalid.ogg 06-14 15:29:09.344: W/AudioService(398): Soundpool could not load file: /system/media/audio/ui/KeypressInvalid.ogg 06-14 15:29:09.354: W/AudioService(398): onLoadSoundEffects(), Error -1 while loading samples 06-14 15:29:09.514: I/Choreographer(398): Skipped 30 frames! The application may be doing too much work on its main thread. 06-14 15:29:09.904: I/ActivityManager(398): Process com.wellchildclinic (pid 1040) has died. 06-14 15:29:09.994: I/WindowState(398): WIN DEATH: Window{b205e690 u0 com.wellchildclinic/com.wellchildclinic.BT_activity_host} 06-14 15:29:10.054: W/InputMethodManagerService(398): Got RemoteException sending setActive(false) notification to pid 1040 uid 10052 Could you suggest where the error could be? Very grateful for all your help.
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
06/14/14 03:58 PM (10 years ago)
I'm not sure if Android handles Ogg Vorbis files... http://developer.android.com/guide/appendix/media-formats.html Try using an mp3? Cheers! -- Smug
 
syedasad2001
Aspiring developer
Profile
Posts: 38
Reg: May 12, 2014
Karachi
380
like
06/15/14 12:19 AM (10 years ago)
I have no audio or video in my app. Its all text based with some photos. Can I not delete all the audio and video files in the code? If so, how do i do it? Thank so much for all your help!
 

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.