yenael
Aspiring developer
Profile
Posts: 100
Reg: Sep 17, 2013
Detroit
2,950
03/02/14 09:43 AM (10 years ago)

Application closed unexpectedly, both emulator and device (android)

Hello All, I was compiling my project and didn't have any errors. However, when I build and run and then open in Android 4.0 Emulator, the application closes unexpectedly. This also happens when I load it on to a Samsung 4.0 Android. I am including the log file contents that start from the time the Emulator was loaded to run the app. I don't know what the problem is, but when I go to the other forum problems regarding closing unexpectly, I don't see how those apply to my situation. Please, let me know if you can find the problem simply through the log cat. I am dying! LOL 03-02 11:09:37.702: W/ZZ(653): latesthairmag_appDelegate: onCreate 03-02 11:09:37.702: W/ZZ(653): latesthairmag_appDelegate:loadAudioPlayer 03-02 11:09:37.822: W/ZZ(653): BT_application: Creating root-app object. 03-02 11:09:37.822: W/ZZ(653): BT_device: Creating root-device object. 03-02 11:09:37.922: W/ZZ(653): BT_device: This device uses an Android display density of: 320dpi (dots per inch) 03-02 11:09:37.942: W/ZZ(653): BT_device: This device can take pictures. 03-02 11:09:37.942: W/ZZ(653): BT_device: This device can take videos. 03-02 11:09:37.942: W/ZZ(653): BT_device: This device can send emails. 03-02 11:09:38.022: W/ZZ(653): BT_device: This device is GPS capable. 03-02 11:09:38.116: W/ZZ(653): BT_device: This device does support vibrating. 03-02 11:09:38.242: W/ZZ(653): BT_device: This device has an accelerometer (it can detect shaking). 03-02 11:09:38.242: W/ZZ(653): BT_device: This device cannot record audio. 03-02 11:09:38.252: W/ZZ(653): BT_user: Creating root-user object. 03-02 11:09:38.292: W/ZZ(653): BT_activity_start:onCreate 03-02 11:09:38.292: W/ZZ(653): BT_activity_start:onCreate This device is running Android Build Vers:14 03-02 11:09:38.443: W/ZZ(653): BT_activity_start:loadAppConfigData 03-02 11:09:38.472: W/ZZ(653): BT_fragment_load_config_data:onCreate 03-02 11:09:38.472: W/ZZ(653): BT_fragment_load_config_data:onCreateView 03-02 11:09:38.553: W/ZZ(653): BT_fragment_load_config_data:loadAppConfigDataAfterDelay: Delaying 2000 milliseconds 03-02 11:09:38.778: W/ZZ(653): latesthairmag_appDelegate:SoundEffectLoader:doInBackground initSoundEffects 03-02 11:09:38.778: W/ZZ(653): latesthairmag_appDelegate:SoundEffectLoader:doInBackground initSoundEffects DISABLED 03-02 11:09:39.432: D/gralloc_goldfish(653): Emulator without GPU emulation detected. 03-02 11:09:39.582: W/TextLayoutCache(653): computeValuesWithHarfbuzz -- need to force to single run 03-02 11:09:40.982: W/ZZ(653): BT_fragment_load_config_data:loadAppConfigData 03-02 11:09:41.112: W/ZZ(653): BT_device:updateDeviceConnectionType: ConnectionType: CELL 03-02 11:09:41.133: W/ZZ(653): BT_device:updateDeviceSize This device has a screen size of: 768 (width) x 1184 (height). 03-02 11:09:41.133: W/ZZ(653): BT_device:updateDeviceSize This application considers this to be a "large device" 03-02 11:09:41.152: W/ZZ(653): BT_device:updateDeviceSize This device is in "portrait" orientation. 03-02 11:09:41.237: W/ZZ(653): BT_fragment_load_config_data:loadAppConfigData loading "BT_config.txt" from /assests folder in project... 03-02 11:09:48.234: W/ZZ(653): BT_fileManager: readTextFileFromAssets: "/BT_config.txt" 03-02 11:09:49.102: D/dalvikvm(653): GC_CONCURRENT freed 198K, 2% free 14327K/14599K, paused 11ms+61ms 03-02 11:09:49.362: W/ZZ(653): BT_fragment_load_config_data:loadAppConfigData loaded "BT_config.txt" from /assets folder successfully... 03-02 11:09:49.362: W/ZZ(653): BT_application: getDataURLFromAppData 03-02 11:09:51.487: D/dalvikvm(653): GC_CONCURRENT freed 319K, 3% free 14493K/14919K, paused 27ms+12ms 03-02 11:09:52.051: W/ZZ(653): BT_fragment_load_config_data:loadAppConfigData "BT_config.txt" file does use a dataURL for remote updates... 03-02 11:09:52.191: W/ZZ(653): BT_fragment_load_config_data:loadAppConfigData cachedAppConfig.txt does not exist in the cache, using the BT_config.txt file included in project... 03-02 11:09:52.191: W/ZZ(653): BT_application: validateApplicationData 03-02 11:09:53.132: W/ZZ(653): BT_fragment_load_config_data:loadAppConfigData application data appears to be valid JSON... 03-02 11:09:53.251: W/ZZ(653): BT_application: parseJSONData 03-02 11:09:54.282: D/dalvikvm(653): GC_CONCURRENT freed 557K, 5% free 14488K/15111K, paused 9ms+27ms 03-02 11:09:54.725: W/ZZ(653): BT_application: parsing core settings... 03-02 11:09:54.725: W/ZZ(653): BT_application: parsing themes... 03-02 11:09:54.822: W/ZZ(653): BT_application: parsing tabs... 03-02 11:09:54.833: W/ZZ(653): BT_application: parsing menus... 03-02 11:09:54.833: W/ZZ(653): BT_application: parsing screens... 03-02 11:09:55.012: W/ZZ(653): BT_application:parseJSONData done parsing application data 03-02 11:09:55.012: W/ZZ(653): BT_fragment_load_config_data:loadAppConfigData:sendMessageToMainThread 0 03-02 11:09:55.186: W/ZZ(653): BT_activity_start:configureEnvironment 03-02 11:09:55.286: W/ZZ(653): BT_activity_start:configureEnvironment This app uses a splash screen with JSON itemId: 31A5E5830D67925FE1FB8C9 03-02 11:09:55.286: W/ZZ(653): BT_activity_start:configureEnvironment Starting BT_activity_splash 03-02 11:09:55.292: W/ZZ(653): BT_application:getScreenDataByItemId itemId: "31A5E5830D67925FE1FB8C9" itemType: "BT_screen_splash" itemNickname: "LHM Screen" 03-02 11:09:55.292: W/ZZ(653): BT_application:initPluginWithScreenData. Creating plugin with JSON itemId: "31A5E5830D67925FE1FB8C9" itemType: "BT_screen_splash" itemNickname: "LHM Screen" 03-02 11:09:55.455: W/ZZ(653): BT_screen_splash:setScreenData JSON itemId: "31A5E5830D67925FE1FB8C9" itemType: "BT_screen_splash" itemNickname: "LHM Screen" 03-02 11:09:55.455: W/ZZ(653): BT_activity_start:showFragmentForSplashScreen 03-02 11:09:55.702: W/ZZ(653): BT_screen_splash:onAttach JSON itemId: "31A5E5830D67925FE1FB8C9" itemType: "BT_screen_splash" itemNickname: "LHM Screen" 03-02 11:09:55.702: W/ZZ(653): BT_screen_splash:onCreate JSON itemId: "31A5E5830D67925FE1FB8C9" itemType: "BT_screen_splash" itemNickname: "LHM Screen" 03-02 11:09:55.718: W/ZZ(653): BT_screen_splash:onCreateView JSON itemId: "31A5E5830D67925FE1FB8C9" itemType: "BT_screen_splash" itemNickname: "LHM Screen" 03-02 11:09:55.722: W/ZZ(653): BT_viewUtilities:updateBackgroundColorsForScreen. Screen with JSON itemId: "31A5E5830D67925FE1FB8C9" itemType: "BT_screen_splash" itemNickname: "LHM Screen" 03-02 11:09:55.948: W/ZZ(653): BT_screen_splash:onActivityCreated JSON itemId: "31A5E5830D67925FE1FB8C9" itemType: "BT_screen_splash" itemNickname: "LHM Screen" 03-02 11:09:55.952: W/ZZ(653): BT_screen_splash:onStart JSON itemId: "31A5E5830D67925FE1FB8C9" itemType: "BT_screen_splash" itemNickname: "LHM Screen" 03-02 11:09:56.055: W/ZZ(653): BT_screen_splash:onResume JSON itemId: "31A5E5830D67925FE1FB8C9" itemType: "BT_screen_splash" itemNickname: "LHM Screen" 03-02 11:09:56.078: W/ZZ(653): BT_viewUtilities:updateBackgroundImageForScreen. Screen with JSON itemId: "31A5E5830D67925FE1FB8C9" itemType: "BT_screen_splash" itemNickname: "LHM Screen" 03-02 11:09:56.692: D/dalvikvm(653): GC_FOR_ALLOC freed 136K, 5% free 14463K/15111K, paused 433ms 03-02 11:09:56.822: I/dalvikvm-heap(653): Grow heap (frag case) to 16.807MB for 2742616-byte allocation 03-02 11:09:57.104: D/dalvikvm(653): GC_FOR_ALLOC freed 4K, 4% free 17136K/17799K, paused 174ms 03-02 11:09:57.586: D/dalvikvm(653): GC_CONCURRENT freed <1K, 4% free 17136K/17799K, paused 22ms+45ms 03-02 11:09:57.802: W/ZZ(653): BT_screen_splash:startEffect. "fallDown" 03-02 11:09:58.303: D/dalvikvm(653): GC_FOR_ALLOC freed 36K, 4% free 17100K/17799K, paused 90ms 03-02 11:09:58.582: I/dalvikvm-heap(653): Grow heap (frag case) to 27.230MB for 10970416-byte allocation 03-02 11:09:58.852: D/dalvikvm(653): GC_CONCURRENT freed 5K, 3% free 27808K/28551K, paused 20ms+16ms 03-02 11:10:00.682: W/ZZ(653): BT_screen_splash:animateSplashScreen 03-02 11:10:01.012: D/dalvikvm(653): GC_FOR_ALLOC freed 2680K, 12% free 25135K/28551K, paused 91ms 03-02 11:10:01.163: I/dalvikvm-heap(653): Grow heap (frag case) to 28.083MB for 3637264-byte allocation 03-02 11:10:01.492: D/dalvikvm(653): GC_CONCURRENT freed 1K, 11% free 28685K/32135K, paused 10ms+10ms 03-02 11:10:01.752: D/dalvikvm(653): GC_FOR_ALLOC freed 0K, 11% free 28685K/32135K, paused 123ms 03-02 11:10:01.882: I/dalvikvm-heap(653): Grow heap (frag case) to 31.549MB for 3637264-byte allocation 03-02 11:10:02.272: D/dalvikvm(653): GC_CONCURRENT freed 0K, 10% free 32237K/35719K, paused 29ms+19ms 03-02 11:10:02.622: D/dalvikvm(653): GC_FOR_ALLOC freed <1K, 10% free 32238K/35719K, paused 120ms 03-02 11:10:02.782: I/dalvikvm-heap(653): Grow heap (frag case) to 35.018MB for 3637264-byte allocation 03-02 11:10:03.027: D/dalvikvm(653): GC_CONCURRENT freed 0K, 9% free 35790K/39303K, paused 10ms+19ms 03-02 11:10:03.418: W/ZZ(653): BT_screen_splash:animationFinished 03-02 11:10:03.662: W/ZZ(653): BT_screen_splash:onPause JSON itemId: "31A5E5830D67925FE1FB8C9" itemType: "BT_screen_splash" itemNickname: "LHM Screen" 03-02 11:10:03.912: W/ZZ(653): BT_activity_host:onCreate 03-02 11:10:04.222: W/ZZ(653): BT_activity_host:configureEnvironment 03-02 11:10:04.222: W/ZZ(653): BT_activity_host:configureEnvironment Prompt For Push Notifications is OFF (set to 0) in app's configuration data 03-02 11:10:04.322: W/ZZ(653): BT_activity_host: start GPS is set to YES (set to 1) in the applications configuration data, trying to start GPS 03-02 11:10:04.322: W/ZZ(653): BT_activity_host:configureEnvironment user has not prevented the GPS from starting using a BT_screen_settingsLocation screen 03-02 11:10:04.412: W/ZZ(653): BT_activity_host:startListeningForLocationUpdate (started listening for location changes) 03-02 11:10:04.522: W/ZZ(653): BT_activity_host:startListeningForLocationUpdate asking for GPS locations updates... 03-02 11:10:04.522: W/ZZ(653): BT_activity_host:setupTabs (5 tabs) 03-02 11:10:04.522: W/ZZ(653): BT_application: getHomeScreenData 03-02 11:10:04.522: W/ZZ(653): BT_application:getScreenDataByItemId itemId: "2166D06E7EC76ACC986B464" itemType: "BT_screen_menuButtons" itemNickname: "gallerymenu" 03-02 11:10:04.592: W/ZZ(653): BT_activity_host:onTabSelected Tab Index: 0 03-02 11:10:04.592: W/ZZ(653): BT_application:getScreenDataByItemId itemId: "2166D06E7EC76ACC986B464" itemType: "BT_screen_menuButtons" itemNickname: "gallerymenu" 03-02 11:10:04.592: W/ZZ(653): BT_activity_host:initPluginWithScreenData. Calling helper method in BT_application 03-02 11:10:04.592: W/ZZ(653): BT_application:initPluginWithScreenData. Creating plugin with JSON itemId: "2166D06E7EC76ACC986B464" itemType: "BT_screen_menuButtons" itemNickname: "gallerymenu" 03-02 11:10:04.602: W/ZZ(653): BT_screen_menuButtons:setScreenData JSON itemId: "2166D06E7EC76ACC986B464" itemType: "BT_screen_menuButtons" itemNickname: "gallerymenu" 03-02 11:10:04.612: W/ZZ(653): BT_activity_host:showFragmentForPlugin. Showing plugin with JSON itemId: "2166D06E7EC76ACC986B464" itemType: "BT_screen_menuButtons" itemNickname: "gallerymenu" 03-02 11:10:04.612: W/ZZ(653): BT_activity_host:configureNavBarAndBackgroundForScreen Calling helper methods in BT_viewUtilities... 03-02 11:10:04.822: W/ZZ(653): BT_viewUtilities:updateBackgroundColorsForScreen. Screen with JSON itemId: "2166D06E7EC76ACC986B464" itemType: "BT_screen_menuButtons" itemNickname: "gallerymenu" 03-02 11:10:04.842: W/ZZ(653): BT_viewUtilities:updateBackgroundImageForScreen. Screen with JSON itemId: "2166D06E7EC76ACC986B464" itemType: "BT_screen_menuButtons" itemNickname: "gallerymenu" 03-02 11:10:05.192: D/dalvikvm(653): GC_FOR_ALLOC freed 10716K, 36% free 25267K/39303K, paused 140ms 03-02 11:10:05.335: I/dalvikvm-heap(653): Grow heap (frag case) to 36.187MB for 12000016-byte allocation 03-02 11:10:05.635: D/dalvikvm(653): GC_FOR_ALLOC freed 2K, 28% free 36983K/51079K, paused 191ms 03-02 11:10:05.992: D/dalvikvm(653): GC_CONCURRENT freed <1K, 28% free 36984K/51079K, paused 17ms+27ms 03-02 11:10:07.827: D/dalvikvm(653): GC_FOR_ALLOC freed 0K, 28% free 36984K/51079K, paused 122ms 03-02 11:10:07.827: I/dalvikvm-heap(653): Forcing collection of SoftReferences for 48000016-byte allocation 03-02 11:10:08.092: D/dalvikvm(653): GC_BEFORE_OOM freed 9K, 28% free 36975K/51079K, paused 259ms 03-02 11:10:08.092: E/dalvikvm-heap(653): Out of memory on a 48000016-byte allocation. 03-02 11:10:08.092: I/dalvikvm(653): "Thread-92" prio=5 tid=13 RUNNABLE 03-02 11:10:08.092: I/dalvikvm(653): | group="main" sCount=0 dsCount=0 obj=0x41796660 self=0x24e608 03-02 11:10:08.112: I/dalvikvm(653): | sysTid=672 nice=0 sched=0/0 cgrp=default handle=2419288 03-02 11:10:08.112: I/dalvikvm(653): | schedstat=( 2325197539 568882104 64 ) utm=223 stm=9 core=0 03-02 11:10:08.112: I/dalvikvm(653): at android.graphics.Bitmap.nativeCreate(Native Method) 03-02 11:10:08.123: I/dalvikvm(653): at android.graphics.Bitmap.createBitmap(Bitmap.java:605) 03-02 11:10:08.132: I/dalvikvm(653): at android.graphics.Bitmap.createBitmap(Bitmap.java:551) 03-02 11:10:08.132: I/dalvikvm(653): at android.graphics.Bitmap.createScaledBitmap(Bitmap.java:437) 03-02 11:10:08.132: I/dalvikvm(653): at android.graphics.BitmapFactory.finishDecode(BitmapFactory.java:524) 03-02 11:10:08.132: I/dalvikvm(653): at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:499) 03-02 11:10:08.132: I/dalvikvm(653): at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:351) 03-02 11:10:08.132: I/dalvikvm(653): at android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:773) 03-02 11:10:08.132: I/dalvikvm(653): at android.content.res.Resources.loadDrawable(Resources.java:1937) 03-02 11:10:08.132: I/dalvikvm(653): at android.content.res.Resources.getDrawable(Resources.java:664) 03-02 11:10:08.208: I/dalvikvm(653): at com.latesthairmag.BT_fileManager.getDrawableByName(BT_fileManager.java:263) 03-02 11:10:08.208: I/dalvikvm(653): at com.latesthairmag.BT_viewUtilities$BackgroundImageThread.run(BT_viewUtilities.java:177) 03-02 11:10:08.222: W/dalvikvm(653): threadid=13: thread exiting with uncaught exception (group=0x409961f8) 03-02 11:10:08.372: E/AndroidRuntime(653): FATAL EXCEPTION: Thread-92 03-02 11:10:08.372: E/AndroidRuntime(653): java.lang.OutOfMemoryError 03-02 11:10:08.372: E/AndroidRuntime(653): at android.graphics.Bitmap.nativeCreate(Native Method) 03-02 11:10:08.372: E/AndroidRuntime(653): at android.graphics.Bitmap.createBitmap(Bitmap.java:605) 03-02 11:10:08.372: E/AndroidRuntime(653): at android.graphics.Bitmap.createBitmap(Bitmap.java:551) 03-02 11:10:08.372: E/AndroidRuntime(653): at android.graphics.Bitmap.createScaledBitmap(Bitmap.java:437) 03-02 11:10:08.372: E/AndroidRuntime(653): at android.graphics.BitmapFactory.finishDecode(BitmapFactory.java:524) 03-02 11:10:08.372: E/AndroidRuntime(653): at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:499) 03-02 11:10:08.372: E/AndroidRuntime(653): at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:351) 03-02 11:10:08.372: E/AndroidRuntime(653): at android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:773) 03-02 11:10:08.372: E/AndroidRuntime(653): at android.content.res.Resources.loadDrawable(Resources.java:1937) 03-02 11:10:08.372: E/AndroidRuntime(653): at android.content.res.Resources.getDrawable(Resources.java:664) 03-02 11:10:08.372: E/AndroidRuntime(653): at com.latesthairmag.BT_fileManager.getDrawableByName(BT_fileManager.java:263) 03-02 11:10:08.372: E/AndroidRuntime(653): at com.latesthairmag.BT_viewUtilities$BackgroundImageThread.run(BT_viewUtilities.java:177) 03-02 11:10:08.752: W/ZZ(653): BT_activity_host:configureNavBarAndBackgroundForScreen Calling helper methods in BT_viewUtilities... 03-02 11:10:09.212: W/ZZ(653): BT_viewUtilities:updateBackgroundColorsForScreen. Screen with JSON itemId: "2166D06E7EC76ACC986B464" itemType: "BT_screen_menuButtons" itemNickname: "gallerymenu" 03-02 11:10:09.222: W/ZZ(653): BT_viewUtilities:updateBackgroundImageForScreen. Screen with JSON itemId: "2166D06E7EC76ACC986B464" itemType: "BT_screen_menuButtons" itemNickname: "gallerymenu" 03-02 11:10:10.202: D/dalvikvm(653): GC_FOR_ALLOC freed 11763K, 51% free 25331K/51079K, paused 530ms 03-02 11:10:11.152: I/dalvikvm-heap(653): Grow heap (frag case) to 36.250MB for 12000016-byte allocation 03-02 11:10:11.467: D/dalvikvm(653): GC_FOR_ALLOC freed 1K, 28% free 37048K/51079K, paused 281ms 03-02 11:10:11.467: W/ZZ(653): BT_screen_menuButtons:onAttach JSON itemId: "2166D06E7EC76ACC986B464" itemType: "BT_screen_menuButtons" itemNickname: "gallerymenu" 03-02 11:10:11.582: W/ZZ(653): BT_screen_menuButtons:onCreate JSON itemId: "2166D06E7EC76ACC986B464" itemType: "BT_screen_menuButtons" itemNickname: "gallerymenu" 03-02 11:10:11.582: W/ZZ(653): BT_screen_menuButtons:onCreateView JSON itemId: "2166D06E7EC76ACC986B464" itemType: "BT_screen_menuButtons" itemNickname: "gallerymenu" 03-02 11:10:12.122: D/dalvikvm(653): GC_CONCURRENT freed 2K, 28% free 37049K/51079K, paused 9ms+44ms 03-02 11:10:17.181: D/dalvikvm(653): GC_FOR_ALLOC freed <1K, 28% free 37050K/51079K, paused 120ms 03-02 11:10:17.181: I/dalvikvm-heap(653): Forcing collection of SoftReferences for 48000016-byte allocation 03-02 11:10:17.523: D/dalvikvm(653): GC_BEFORE_OOM freed <1K, 28% free 37050K/51079K, paused 343ms 03-02 11:10:17.532: E/dalvikvm-heap(653): Out of memory on a 48000016-byte allocation. 03-02 11:10:17.532: I/dalvikvm(653): "Thread-93" prio=5 tid=14 RUNNABLE 03-02 11:10:17.532: I/dalvikvm(653): | group="main" sCount=0 dsCount=0 obj=0x417a0408 self=0x252818 03-02 11:10:17.532: I/dalvikvm(653): | sysTid=674 nice=0 sched=0/0 cgrp=bg_non_interactive handle=2436200 03-02 11:10:17.552: I/dalvikvm(653): | schedstat=( 2317916509 5385273706 132 ) utm=229 stm=2 core=0 03-02 11:10:17.552: I/dalvikvm(653): at android.graphics.Bitmap.nativeCreate(Native Method) 03-02 11:10:17.552: I/dalvikvm(653): at android.graphics.Bitmap.createBitmap(Bitmap.java:605) 03-02 11:10:17.552: I/dalvikvm(653): at android.graphics.Bitmap.createBitmap(Bitmap.java:551) 03-02 11:10:17.642: I/dalvikvm(653): at android.graphics.Bitmap.createScaledBitmap(Bitmap.java:437) 03-02 11:10:17.642: I/dalvikvm(653): at android.graphics.BitmapFactory.finishDecode(BitmapFactory.java:524) 03-02 11:10:17.642: I/dalvikvm(653): at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:499) 03-02 11:10:17.642: I/dalvikvm(653): at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:351) 03-02 11:10:17.642: I/dalvikvm(653): at android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:773) 03-02 11:10:17.642: I/dalvikvm(653): at android.content.res.Resources.loadDrawable(Resources.java:1937) 03-02 11:10:17.642: I/dalvikvm(653): at android.content.res.Resources.getDrawable(Resources.java:664) 03-02 11:10:17.642: I/dalvikvm(653): at com.latesthairmag.BT_fileManager.getDrawableByName(BT_fileManager.java:263) 03-02 11:10:17.652: I/dalvikvm(653): at com.latesthairmag.BT_viewUtilities$BackgroundImageThread.run(BT_viewUtilities.java:177) 03-02 11:10:17.767: W/dalvikvm(653): threadid=14: thread exiting with uncaught exception (group=0x409961f8) 03-02 11:10:17.767: I/Process(653): Sending signal. PID: 653 SIG: 9
 
Sandeep
Android Fan
Profile
Posts: 1260
Reg: Feb 01, 2012
Miraj, India
25,250
like
03/02/14 11:34 AM (10 years ago)
It seems your app uses a lot of images (which are of big size) and thats causing the crash of the app. Check the following line of your log cat error- 03-02 11:10:17.532: E/dalvikvm-heap(653): Out of memory on a 48000016-byte allocation. It says that your device is out of memory and this is mostly because of the size of the images you use in your project. To get this problem sorted you either have to reduce the size of your image (in kb, mb or gb whatever size value it is) or to refer those image from url.
 
yenael
Aspiring developer
Profile
Posts: 100
Reg: Sep 17, 2013
Detroit
2,950
like
03/02/14 12:11 PM (10 years ago)
Okkkkaaaay thank you! I appreciate your help. I was really trying to figure out what was going on. LOL. I will try that and see what happens.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
03/02/14 10:57 PM (10 years ago)
Yep, Sandeep is on the right track. Samsung seems to have issues with images from time to time. One thing you can try is to take all your images you have in the res > drawable folder (except the icon.png image), and copy them over to the other res > drawable folder. That give the device the ability to select the image based on the screen resolution, and not try to resize it, which might be the issues. It's fixed this for me in the past. Mark
 
yenael
Aspiring developer
Profile
Posts: 100
Reg: Sep 17, 2013
Detroit
2,950
like
03/04/14 08:05 AM (10 years ago)
Okay I will try that too, because I moved all the images to url. The app opens fine now and everything shows up, but as soon as I click on Any icons, it closes unexpectly again. hmmmm
 
yenael
Aspiring developer
Profile
Posts: 100
Reg: Sep 17, 2013
Detroit
2,950
like
03/04/14 08:07 AM (10 years ago)
So I don't know why it's closing on me, Im searching everything.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
03/04/14 09:09 AM (10 years ago)
If it's closing differently than it was before, please include some LogCat output so we can see the new errors! Thanks! Mark
 

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.