애뮬레이터로 어플을 실행하면 로딩중 강제 종료됩니다.
그냥 스마트 폰으로 실행하면 잘되고요...
heap메모리 문제인가 싶긴한데 어떻게 해야할지 모르겠군요
다음과 같이 에러 로그를 남깁니다.
공지사항을 필독했습니다.
12-21 03:41:32.854: ERROR/vold(27): Error opening switch name path '/sys/class/switch/test2' (No such file or directory)
12-21 03:41:32.854: ERROR/vold(27): Error bootstrapping switch '/sys/class/switch/test2' (No such file or directory)
12-21 03:41:32.854: ERROR/vold(27): Error opening switch name path '/sys/class/switch/test' (No such file or directory)
12-21 03:41:32.854: ERROR/vold(27): Error bootstrapping switch '/sys/class/switch/test' (No such file or directory)
12-21 03:41:40.344: ERROR/MemoryHeapBase(52): error opening /dev/pmem: No such file or directory
12-21 03:41:40.344: ERROR/SurfaceFlinger(52): Couldn't open /sys/power/wait_for_fb_sleep or /sys/power/wait_for_fb_wake
12-21 03:41:40.383: ERROR/libEGL(52): couldn't load <libhgl.so> library (Cannot load library: load_library[984]: Library 'libhgl.so' not found)
12-21 03:41:40.703: ERROR/libEGL(63): couldn't load <libhgl.so> library (Cannot load library: load_library[984]: Library 'libhgl.so' not found)
12-21 03:41:42.444: ERROR/BatteryService(52): Could not open '/sys/class/power_supply/usb/online'
12-21 03:41:42.444: ERROR/BatteryService(52): Could not open '/sys/class/power_supply/battery/batt_vol'
12-21 03:41:42.444: ERROR/BatteryService(52): Could not open '/sys/class/power_supply/battery/batt_temp'
12-21 03:41:42.644: ERROR/EventHub(52): could not get driver version for /dev/input/mouse0, Not a typewriter
12-21 03:41:42.644: ERROR/EventHub(52): could not get driver version for /dev/input/mice, Not a typewriter
12-21 03:41:42.733: ERROR/System(52): Failure starting core service
12-21 03:41:42.733: ERROR/System(52): java.lang.SecurityException
12-21 03:41:42.733: ERROR/System(52): at android.os.BinderProxy.transact(Native Method)
12-21 03:41:42.733: ERROR/System(52): at android.os.ServiceManagerProxy.addService(ServiceManagerNative.java:146)
12-21 03:41:42.733: ERROR/System(52): at android.os.ServiceManager.addService(ServiceManager.java:72)
12-21 03:41:42.733: ERROR/System(52): at com.android.server.ServerThread.run(SystemServer.java:162)
12-21 03:41:42.743: ERROR/AndroidRuntime(52): Crash logging skipped, no checkin service
12-21 03:41:43.364: ERROR/LockPatternKeyguardView(52): Failed to bind to GLS while checking for account
12-21 03:41:45.503: ERROR/ActivityThread(96): Failed to find provider info for com.google.settings
12-21 03:41:45.513: ERROR/ActivityThread(96): Failed to find provider info for com.google.settings
12-21 03:41:46.724: ERROR/ApplicationContext(52): Couldn't create directory for SharedPreferences file shared_prefs/wallpaper-hints.xml
12-21 03:41:50.524: ERROR/MediaPlayerService(31): Couldn't open fd for content://settings/system/notification_sound
12-21 03:41:50.543: ERROR/MediaPlayer(52): Unable to to create media player
12-21 03:41:46.184: ERROR/ActivityThread(93): Failed to find provider info for android.server.checkin
12-21 03:41:46.964: ERROR/ActivityThread(93): Failed to find provider info for android.server.checkin
12-21 03:41:47.034: ERROR/ActivityThread(93): Failed to find provider info for android.server.checkin
12-21 03:42:01.304: ERROR/dalvikvm-heap(216): 409600-byte external allocation too large for this process.
12-21 03:42:01.304: ERROR/(216): VM won't let us allocate 409600 bytes
12-21 03:42:01.314: ERROR/AndroidRuntime(216): Uncaught handler: thread main exiting due to uncaught exception
12-21 03:42:01.335: ERROR/AndroidRuntime(216): java.lang.RuntimeException: Unable to start activity ComponentInfo{net.npaka.bellscheduler/net.npaka.bellscheduler.BellScheduler}: android.view.InflateException: Binary XML file line #354: Error inflating class java.lang.reflect.Constructor
12-21 03:42:01.335: ERROR/AndroidRuntime(216): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2401)
12-21 03:42:01.335: ERROR/AndroidRuntime(216): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2417)
12-21 03:42:01.335: ERROR/AndroidRuntime(216): at android.app.ActivityThread.access$2100(ActivityThread.java:116)
12-21 03:42:01.335: ERROR/AndroidRuntime(216): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1794)
12-21 03:42:01.335: ERROR/AndroidRuntime(216): at android.os.Handler.dispatchMessage(Handler.java:99)
12-21 03:42:01.335: ERROR/AndroidRuntime(216): at android.os.Looper.loop(Looper.java:123)
12-21 03:42:01.335: ERROR/AndroidRuntime(216): at android.app.ActivityThread.main(ActivityThread.java:4203)
12-21 03:42:01.335: ERROR/AndroidRuntime(216): at java.lang.reflect.Method.invokeNative(Native Method)
12-21 03:42:01.335: ERROR/AndroidRuntime(216): at java.lang.reflect.Method.invoke(Method.java:521)
12-21 03:42:01.335: ERROR/AndroidRuntime(216): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)
12-21 03:42:01.335: ERROR/AndroidRuntime(216): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549)
12-21 03:42:01.335: ERROR/AndroidRuntime(216): at dalvik.system.NativeStart.main(Native Method)
12-21 03:42:01.335: ERROR/AndroidRuntime(216): Caused by: android.view.InflateException: Binary XML file line #354: Error inflating class java.lang.reflect.Constructor
12-21 03:42:01.335: ERROR/AndroidRuntime(216): at android.view.LayoutInflater.createView(LayoutInflater.java:512)
12-21 03:42:01.335: ERROR/AndroidRuntime(216): at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56)
12-21 03:42:01.335: ERROR/AndroidRuntime(216): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:562)
12-21 03:42:01.335: ERROR/AndroidRuntime(216): at android.view.LayoutInflater.rInflate(LayoutInflater.java:617)
12-21 03:42:01.335: ERROR/AndroidRuntime(216): at android.view.LayoutInflater.inflate(LayoutInflater.java:407)
12-21 03:42:01.335: ERROR/AndroidRuntime(216): at android.view.LayoutInflater.inflate(LayoutInflater.java:320)
12-21 03:42:01.335: ERROR/AndroidRuntime(216): at android.view.LayoutInflater.inflate(LayoutInflater.java:276)
12-21 03:42:01.335: ERROR/AndroidRuntime(216): at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:313)
12-21 03:42:01.335: ERROR/AndroidRuntime(216): at android.app.Activity.setContentView(Activity.java:1620)
12-21 03:42:01.335: ERROR/AndroidRuntime(216): at net.npaka.bellscheduler.BellScheduler.onCreate(BellScheduler.java:100)
12-21 03:42:01.335: ERROR/AndroidRuntime(216): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1123)
12-21 03:42:01.335: ERROR/AndroidRuntime(216): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2364)
12-21 03:42:01.335: ERROR/AndroidRuntime(216): ... 11 more
12-21 03:42:01.335: ERROR/AndroidRuntime(216): Caused by: java.lang.reflect.InvocationTargetException
12-21 03:42:01.335: ERROR/AndroidRuntime(216): at android.widget.ImageView.<init>(ImageView.java:105)
12-21 03:42:01.335: ERROR/AndroidRuntime(216): at java.lang.reflect.Constructor.constructNative(Native Method)
12-21 03:42:01.335: ERROR/AndroidRuntime(216): at java.lang.reflect.Constructor.newInstance(Constructor.java:446)
12-21 03:42:01.335: ERROR/AndroidRuntime(216): at android.view.LayoutInflater.createView(LayoutInflater.java:499)
12-21 03:42:01.335: ERROR/AndroidRuntime(216): ... 22 more
12-21 03:42:01.335: ERROR/AndroidRuntime(216): Caused by: java.lang.OutOfMemoryError: bitmap size exceeds VM budget
12-21 03:42:01.335: ERROR/AndroidRuntime(216): at android.graphics.Bitmap.nativeCreate(Native Method)
12-21 03:42:01.335: ERROR/AndroidRuntime(216): at android.graphics.Bitmap.createBitmap(Bitmap.java:468)
12-21 03:42:01.335: ERROR/AndroidRuntime(216): at android.graphics.Bitmap.createBitmap(Bitmap.java:435)
12-21 03:42:01.335: ERROR/AndroidRuntime(216): at android.graphics.Bitmap.createScaledBitmap(Bitmap.java:340)
12-21 03:42:01.335: ERROR/AndroidRuntime(216): at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:476)
12-21 03:42:01.335: ERROR/AndroidRuntime(216): at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:322)
12-21 03:42:01.335: ERROR/AndroidRuntime(216): at android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:688)
12-21 03:42:01.335: ERROR/AndroidRuntime(216): at android.content.res.Resources.loadDrawable(Resources.java:1710)
12-21 03:42:01.335: ERROR/AndroidRuntime(216): at android.content.res.TypedArray.getDrawable(TypedArray.java:548)
12-21 03:42:01.335: ERROR/AndroidRuntime(216): at android.widget.ImageView.<init>(ImageView.java:115)
12-21 03:42:01.335: ERROR/AndroidRuntime(216): ... 26 more
12-21 03:42:01.365: ERROR/dalvikvm(216): Unable to open stack trace file '/data/anr/traces.txt': Permission denied