Package Installer crash Android 2.3.5 -
i developing application minsdkversion = 7 , targetsdkversion = 14. , crashes package installer of phone. phone running on android 2.3.5.
"unfortunately, package installer has stopped."
attached logs receive on crash. tried reducing apk size 630kb , device have 60 mb free phone storage apps, still giving memory issues.
08-03 15:21:32.308: w/dalvikvm(2455): threadid=1: thread exiting uncaught exception (group=0x400205a0) 08-03 15:21:32.318: e/androidruntime(2455): fatal exception: main 08-03 15:21:32.318: e/androidruntime(2455): java.lang.outofmemoryerror: bitmap size exceeds vm budget(heap size=7367kb, allocated=3168kb, bitmap size=10628kb) 08-03 15:21:32.318: e/androidruntime(2455): at android.graphics.bitmapfactory.nativedecodeasset(native method) 08-03 15:21:32.318: e/androidruntime(2455): at android.graphics.bitmapfactory.decoderesourcestream(bitmapfactory.java:481) 08-03 15:21:32.318: e/androidruntime(2455): at android.graphics.drawable.drawable.createfromresourcestream(drawable.java:697) 08-03 15:21:32.318: e/androidruntime(2455): at android.content.res.resources.loaddrawable(resources.java:1727) 08-03 15:21:32.318: e/androidruntime(2455): at android.content.res.resources.getdrawable(resources.java:590) 08-03 15:21:32.318: e/androidruntime(2455): at com.android.packageinstaller.packageutil.getappsnippet(packageutil.java:179) 08-03 15:21:32.318: e/androidruntime(2455): at com.android.packageinstaller.installappprogress.initview(installappprogress.java:192) 08-03 15:21:32.318: e/androidruntime(2455): at com.android.packageinstaller.installappprogress.oncreate(installappprogress.java:132) 08-03 15:21:32.318: e/androidruntime(2455): at android.app.instrumentation.callactivityoncreate(instrumentation.java:1072) 08-03 15:21:32.318: e/androidruntime(2455): at android.app.activitythread.performlaunchactivity(activitythread.java:1794) 08-03 15:21:32.318: e/androidruntime(2455): at android.app.activitythread.handlelaunchactivity(activitythread.java:1851) 08-03 15:21:32.318: e/androidruntime(2455): at android.app.activitythread.access$1500(activitythread.java:132) 08-03 15:21:32.318: e/androidruntime(2455): at android.app.activitythread$h.handlemessage(activitythread.java:1038) 08-03 15:21:32.318: e/androidruntime(2455): at android.os.handler.dispatchmessage(handler.java:99) 08-03 15:21:32.318: e/androidruntime(2455): at android.os.looper.loop(looper.java:150) 08-03 15:21:32.318: e/androidruntime(2455): at android.app.activitythread.main(activitythread.java:4293) 08-03 15:21:32.318: e/androidruntime(2455): at java.lang.reflect.method.invokenative(native method) 08-03 15:21:32.318: e/androidruntime(2455): at java.lang.reflect.method.invoke(method.java:507) 08-03 15:21:32.318: e/androidruntime(2455): at com.android.internal.os.zygoteinit$methodandargscaller.run(zygoteinit.java:839) 08-03 15:21:32.318: e/androidruntime(2455): at com.android.internal.os.zygoteinit.main(zygoteinit.java:597) 08-03 15:21:32.318: e/androidruntime(2455): at dalvik.system.nativestart.main(native method) 08-03 15:21:32.328: w/activitymanager(126): force finishing activity com.android.packageinstaller/.installappprogress 08-03 15:21:32.829: w/activitymanager(126): activity pause timeout historyrecord{409e1908 com.android.packageinstaller/.installappprogress} 08-03 15:21:33.509: d/dalvikvm(126): gc_concurrent freed 1972k, 35% free 8528k/12935k, external 3813k/4538k, paused 6ms+35ms 08-03 15:21:34.581: d/dalvikvm(126): gc_concurrent freed 1906k, 33% free 8669k/12935k, external 3805k/4538k, paused 6ms+10ms 08-03 15:21:34.751: e/activitymanager(126): error running process 08-03 15:21:34.751: e/activitymanager(126): java.io.ioexception: error running exec(). command: [/system/xbin/procrank] working directory: null environment: [android_socket_zygote=10, android_bootlogo=1, external_storage=/mnt/sdcard, android_assets=/system/app, path=/sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin, asec_mountpoint=/mnt/asec, loop_mountpoint=/mnt/obb, bootclasspath=/system/framework/core.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/core-junit.jar:/system/framework/com.htc.commonctrl.jar:/system/framework/com.htc.framework.jar:/system/framework/com.htc.android.pimlib.jar:/system/framework/com.htc.android.easopen.jar:/system/framework/com.scalado.util.scaladoutil.jar:/system/framework/com.orange.authentication.simcard.jar:/system/framework/android.supl.jar, android_data=/data, ld_library_path=/vendor/lib:/system/lib, android_root=/system, android_property_workspace=9,65536] 08-03 15:21:34.751: e/activitymanager(126): at java.lang.processmanager.exec(processmanager.java:224) 08-03 15:21:34.751: e/activitymanager(126): at java.lang.processbuilder.start(processbuilder.java:202) 08-03 15:21:34.751: e/activitymanager(126): at com.android.server.am.activitymanagerservice.logprocessresult(activitymanagerservice.java:7730) 08-03 15:21:34.751: e/activitymanager(126): at com.android.server.am.activitymanagerservice.access$1000(activitymanagerservice.java:205) 08-03 15:21:34.751: e/activitymanager(126): at com.android.server.am.activitymanagerservice$12.run(activitymanagerservice.java:8196) 08-03 15:21:34.751: e/activitymanager(126): caused by: java.io.ioexception: no such file or directory 08-03 15:21:34.751: e/activitymanager(126): at java.lang.processmanager.exec(native method) 08-03 15:21:34.751: e/activitymanager(126): at java.lang.processmanager.exec(processmanager.java:222) 08-03 15:21:34.751: e/activitymanager(126): ... 4 more 08-03 15:21:34.801: w/dropboxmanagerservice(126): dropping: htc_app_crash (17488 > 16384 bytes)
please this. in advance.
Comments
Post a Comment