|
|
|
Android รบกวนช่วยดู error ให้หน่อยครับ คือติดปัญหากับการรัน แอพพิลเคชั่น บนโทรศัพท์บางตัว |
|
|
|
|
|
|
|
Error
04-22 10:39:18.031: D/dalvikvm(997): GC_CONCURRENT freed 114K, 9% free 2681K/2920K, paused 9ms+6ms, total 71ms
04-22 10:39:18.031: D/dalvikvm(997): WAIT_FOR_CONCURRENT_GC blocked 23ms
04-22 10:39:18.092: I/dalvikvm-heap(997): Grow heap (frag case) to 9.113MB for 6686656-byte allocation
04-22 10:39:18.251: D/dalvikvm(997): GC_FOR_ALLOC freed 1K, 3% free 9209K/9452K, paused 153ms, total 154ms
04-22 10:39:18.321: D/dalvikvm(997): GC_CONCURRENT freed <1K, 3% free 9208K/9452K, paused 7ms+5ms, total 69ms
04-22 10:39:19.973: D/dalvikvm(997): GC_FOR_ALLOC freed <1K, 3% free 9208K/9452K, paused 168ms, total 168ms
04-22 10:39:19.973: I/dalvikvm-heap(997): Forcing collection of SoftReferences for 26746576-byte allocation
04-22 10:39:20.072: D/dalvikvm(997): GC_BEFORE_OOM freed 9K, 3% free 9199K/9452K, paused 88ms, total 88ms
04-22 10:39:20.072: E/dalvikvm-heap(997): Out of memory on a 26746576-byte allocation.
04-22 10:39:20.072: I/dalvikvm(997): "main" prio=5 tid=1 RUNNABLE
04-22 10:39:20.072: I/dalvikvm(997): | group="main" sCount=0 dsCount=0 obj=0x40a729a0 self=0x2a00bba8
04-22 10:39:20.072: I/dalvikvm(997): | sysTid=997 nice=0 sched=0/0 cgrp=apps handle=1073849308
04-22 10:39:20.082: I/dalvikvm(997): | state=R schedstat=( 1946637890 1026529877 116 ) utm=179 stm=15 core=0
04-22 10:39:20.082: I/dalvikvm(997): at android.graphics.BitmapFactory.nativeDecodeAsset(Native Method)
04-22 10:39:20.082: I/dalvikvm(997): at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:502)
04-22 10:39:20.082: I/dalvikvm(997): at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:355)
04-22 10:39:20.082: I/dalvikvm(997): at android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:785)
04-22 10:39:20.082: I/dalvikvm(997): at android.content.res.Resources.loadDrawable(Resources.java:1965)
04-22 10:39:20.082: I/dalvikvm(997): at android.content.res.TypedArray.getDrawable(TypedArray.java:601)
04-22 10:39:20.092: I/dalvikvm(997): at android.view.View.<init>(View.java:3330)
04-22 10:39:20.092: I/dalvikvm(997): at android.view.ViewGroup.<init>(ViewGroup.java:431)
04-22 10:39:20.092: I/dalvikvm(997): at android.widget.LinearLayout.<init>(LinearLayout.java:176)
04-22 10:39:20.092: I/dalvikvm(997): at android.widget.LinearLayout.<init>(LinearLayout.java:172)
04-22 10:39:20.092: I/dalvikvm(997): at java.lang.reflect.Constructor.constructNative(Native Method)
04-22 10:39:20.092: I/dalvikvm(997): at java.lang.reflect.Constructor.newInstance(Constructor.java:417)
04-22 10:39:20.092: I/dalvikvm(997): at android.view.LayoutInflater.createView(LayoutInflater.java:587)
04-22 10:39:20.092: I/dalvikvm(997): at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56)
04-22 10:39:20.092: I/dalvikvm(997): at android.view.LayoutInflater.onCreateView(LayoutInflater.java:660)
04-22 10:39:20.092: I/dalvikvm(997): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:685)
04-22 10:39:20.092: I/dalvikvm(997): at android.view.LayoutInflater.inflate(LayoutInflater.java:466)
04-22 10:39:20.092: I/dalvikvm(997): at android.view.LayoutInflater.inflate(LayoutInflater.java:396)
04-22 10:39:20.102: I/dalvikvm(997): at android.view.LayoutInflater.inflate(LayoutInflater.java:352)
04-22 10:39:20.102: I/dalvikvm(997): at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:270)
04-22 10:39:20.102: I/dalvikvm(997): at android.app.Activity.setContentView(Activity.java:1881)
04-22 10:39:20.112: I/dalvikvm(997): at app.myaccount.Fth.onCreate(Fth.java:13)
04-22 10:39:20.112: I/dalvikvm(997): at android.app.Activity.performCreate(Activity.java:5104)
04-22 10:39:20.112: I/dalvikvm(997): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)
04-22 10:39:20.112: I/dalvikvm(997): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2144)
04-22 10:39:20.112: I/dalvikvm(997): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)
04-22 10:39:20.112: I/dalvikvm(997): at android.app.ActivityThread.access$600(ActivityThread.java:141)
04-22 10:39:20.112: I/dalvikvm(997): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)
04-22 10:39:20.122: I/dalvikvm(997): at android.os.Handler.dispatchMessage(Handler.java:99)
04-22 10:39:20.122: I/dalvikvm(997): at android.os.Looper.loop(Looper.java:137)
04-22 10:39:20.122: I/dalvikvm(997): at android.app.ActivityThread.main(ActivityThread.java:5041)
04-22 10:39:20.122: I/dalvikvm(997): at java.lang.reflect.Method.invokeNative(Native Method)
04-22 10:39:20.132: I/dalvikvm(997): at java.lang.reflect.Method.invoke(Method.java:511)
04-22 10:39:20.132: I/dalvikvm(997): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
04-22 10:39:20.132: I/dalvikvm(997): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
04-22 10:39:20.132: I/dalvikvm(997): at dalvik.system.NativeStart.main(Native Method)
04-22 10:39:20.132: D/skia(997): --- allocation failed for scaled bitmap
04-22 10:39:20.142: D/AndroidRuntime(997): Shutting down VM
04-22 10:39:20.142: W/dalvikvm(997): threadid=1: thread exiting with uncaught exception (group=0x40a71930)
04-22 10:39:20.212: E/AndroidRuntime(997): FATAL EXCEPTION: main
04-22 10:39:20.212: E/AndroidRuntime(997): java.lang.RuntimeException: Unable to start activity ComponentInfo{app.myaccount/app.myaccount.Fth}: android.view.InflateException: Binary XML file line #2: Error inflating class <unknown>
04-22 10:39:20.212: E/AndroidRuntime(997): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2180)
04-22 10:39:20.212: E/AndroidRuntime(997): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)
04-22 10:39:20.212: E/AndroidRuntime(997): at android.app.ActivityThread.access$600(ActivityThread.java:141)
04-22 10:39:20.212: E/AndroidRuntime(997): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)
04-22 10:39:20.212: E/AndroidRuntime(997): at android.os.Handler.dispatchMessage(Handler.java:99)
04-22 10:39:20.212: E/AndroidRuntime(997): at android.os.Looper.loop(Looper.java:137)
04-22 10:39:20.212: E/AndroidRuntime(997): at android.app.ActivityThread.main(ActivityThread.java:5041)
04-22 10:39:20.212: E/AndroidRuntime(997): at java.lang.reflect.Method.invokeNative(Native Method)
04-22 10:39:20.212: E/AndroidRuntime(997): at java.lang.reflect.Method.invoke(Method.java:511)
04-22 10:39:20.212: E/AndroidRuntime(997): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
04-22 10:39:20.212: E/AndroidRuntime(997): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
04-22 10:39:20.212: E/AndroidRuntime(997): at dalvik.system.NativeStart.main(Native Method)
04-22 10:39:20.212: E/AndroidRuntime(997): Caused by: android.view.InflateException: Binary XML file line #2: Error inflating class <unknown>
04-22 10:39:20.212: E/AndroidRuntime(997): at android.view.LayoutInflater.createView(LayoutInflater.java:613)
04-22 10:39:20.212: E/AndroidRuntime(997): at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56)
04-22 10:39:20.212: E/AndroidRuntime(997): at android.view.LayoutInflater.onCreateView(LayoutInflater.java:660)
04-22 10:39:20.212: E/AndroidRuntime(997): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:685)
04-22 10:39:20.212: E/AndroidRuntime(997): at android.view.LayoutInflater.inflate(LayoutInflater.java:466)
04-22 10:39:20.212: E/AndroidRuntime(997): at android.view.LayoutInflater.inflate(LayoutInflater.java:396)
04-22 10:39:20.212: E/AndroidRuntime(997): at android.view.LayoutInflater.inflate(LayoutInflater.java:352)
04-22 10:39:20.212: E/AndroidRuntime(997): at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:270)
04-22 10:39:20.212: E/AndroidRuntime(997): at android.app.Activity.setContentView(Activity.java:1881)
04-22 10:39:20.212: E/AndroidRuntime(997): at app.myaccount.Fth.onCreate(Fth.java:13)
04-22 10:39:20.212: E/AndroidRuntime(997): at android.app.Activity.performCreate(Activity.java:5104)
04-22 10:39:20.212: E/AndroidRuntime(997): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)
04-22 10:39:20.212: E/AndroidRuntime(997): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2144)
04-22 10:39:20.212: E/AndroidRuntime(997): ... 11 more
04-22 10:39:20.212: E/AndroidRuntime(997): Caused by: java.lang.reflect.InvocationTargetException
04-22 10:39:20.212: E/AndroidRuntime(997): at java.lang.reflect.Constructor.constructNative(Native Method)
04-22 10:39:20.212: E/AndroidRuntime(997): at java.lang.reflect.Constructor.newInstance(Constructor.java:417)
04-22 10:39:20.212: E/AndroidRuntime(997): at android.view.LayoutInflater.createView(LayoutInflater.java:587)
04-22 10:39:20.212: E/AndroidRuntime(997): ... 23 more
04-22 10:39:20.212: E/AndroidRuntime(997): Caused by: java.lang.OutOfMemoryError
04-22 10:39:20.212: E/AndroidRuntime(997): at android.graphics.BitmapFactory.nativeDecodeAsset(Native Method)
04-22 10:39:20.212: E/AndroidRuntime(997): at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:502)
04-22 10:39:20.212: E/AndroidRuntime(997): at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:355)
04-22 10:39:20.212: E/AndroidRuntime(997): at android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:785)
04-22 10:39:20.212: E/AndroidRuntime(997): at android.content.res.Resources.loadDrawable(Resources.java:1965)
04-22 10:39:20.212: E/AndroidRuntime(997): at android.content.res.TypedArray.getDrawable(TypedArray.java:601)
04-22 10:39:20.212: E/AndroidRuntime(997): at android.view.View.<init>(View.java:3330)
04-22 10:39:20.212: E/AndroidRuntime(997): at android.view.ViewGroup.<init>(ViewGroup.java:431)
04-22 10:39:20.212: E/AndroidRuntime(997): at android.widget.LinearLayout.<init>(LinearLayout.java:176)
04-22 10:39:20.212: E/AndroidRuntime(997): at android.widget.LinearLayout.<init>(LinearLayout.java:172)
04-22 10:39:20.212: E/AndroidRuntime(997): ... 26 more
เป็น error ที่เกิดจากการรันแอพบนอุปกรณ์โทรศัพท์ ของ sony x peria กับ samsung s3 คือมันขึ้น error แบบนี้หมายความว่ายังงัยครับ แต่ผมร้ันกับ tablet ได้ รันกับ samsung อีก สอง รุ่นก้ ได้ แต่ ผมรันกับสองรุ่นที่บอกกับ error แบบนี้เป็นเพราะอะไรหรอครับ
Tag : Mobile
|
|
|
|
|
|
Date :
2013-04-22 10:45:11 |
By :
makachol |
View :
2050 |
Reply :
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
หน้านั้นได้ทำอะไรไว้บ้างครับ หมายถึงการทำงานของโปรแกรม
|
|
|
|
|
Date :
2013-04-23 09:23:20 |
By :
mr.win |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Load balance : Server 04
|