View Full Version : اشکال در لود پروژه
Apriliyaa
جمعه 16 آبان 1393, 22:15 عصر
سلام دوستان گرامی
من با کمک بچه های اینجا و اموزش های سایت :
پروژه ساختم که اسپلش اسکرین اول میومد بعدشم یه لیست ویو سفارشی ...
تا اینجا همه چیز درست بود
بعد رفتم برای تست یه دیتابیس از قبل تهیه شده رو به ایتم های لیست ویو وصل کنم و کمی هم تغییرات دادم اما بعد از اجرا فقط اسپلش اسکرین لود میشه و اروور میده ! چون بکاپ نداشتم پروژه رفت رو هوا !
دوستان اگه می تونید راهنمایی به بنده کنید سورس رو براتون بفرستم و نگاهی بندازید و اشکال زدایی کنید
:گریه:
virus2009
جمعه 16 آبان 1393, 22:27 عصر
محتویات logcat رو موقعی که ارور میده اینجا قرار بدید
Apriliyaa
جمعه 16 آبان 1393, 22:51 عصر
همینو منظورتونه؟:11-09 01:36:14.452: E/AndroidRuntime(2145): at android.app.ActivityThread.performLaunchActivity(A ctivityThread.java:2175)
virus2009
جمعه 16 آبان 1393, 23:13 عصر
بله ولی به صورت کامل، انتهای پست سوم تاپیک زیر رو ببینید تا متوجه بشید :
http://barnamenevis.org/showthread.php?474958-%D9%85%D8%B4%DA%A9%D9%84-%D8%A7%DB%8C%D9%86-%D8%A8%D8%B1%D9%86%D8%A7%D9%85%D9%87-%DA%A9%D8%AC%D8%A7%D8%B3%D8%AA-%D8%9F-(%D8%B3%D8%A7%D8%AE%D8%AA-%DA%A9%D8%AA%D8%A7%D8%A8)
Apriliyaa
شنبه 17 آبان 1393, 17:52 عصر
11-08 09:58:46.298: E/SoundPool(284): error loading /system/media/audio/ui/Effect_Tick.ogg11-08 09:58:46.298: W/AudioService(284): Soundpool could not load file: /system/media/audio/ui/Effect_Tick.ogg
11-08 09:58:46.298: E/SoundPool(284): error loading /system/media/audio/ui/Effect_Tick.ogg
11-08 09:58:46.308: W/AudioService(284): Soundpool could not load file: /system/media/audio/ui/Effect_Tick.ogg
11-08 09:58:46.308: E/SoundPool(284): error loading /system/media/audio/ui/Effect_Tick.ogg
11-08 09:58:46.308: W/AudioService(284): Soundpool could not load file: /system/media/audio/ui/Effect_Tick.ogg
11-08 09:58:46.318: E/SoundPool(284): error loading /system/media/audio/ui/Effect_Tick.ogg
11-08 09:58:46.318: W/AudioService(284): Soundpool could not load file: /system/media/audio/ui/Effect_Tick.ogg
11-08 09:58:46.318: E/SoundPool(284): error loading /system/media/audio/ui/Effect_Tick.ogg
11-08 09:58:46.318: W/AudioService(284): Soundpool could not load file: /system/media/audio/ui/Effect_Tick.ogg
11-08 09:58:46.328: E/SoundPool(284): error loading /system/media/audio/ui/KeypressStandard.ogg
11-08 09:58:46.328: W/AudioService(284): Soundpool could not load file: /system/media/audio/ui/KeypressStandard.ogg
11-08 09:58:46.338: E/SoundPool(284): error loading /system/media/audio/ui/KeypressSpacebar.ogg
11-08 09:58:46.338: W/AudioService(284): Soundpool could not load file: /system/media/audio/ui/KeypressSpacebar.ogg
11-08 09:58:46.348: E/SoundPool(284): error loading /system/media/audio/ui/KeypressDelete.ogg
11-08 09:58:46.348: W/AudioService(284): Soundpool could not load file: /system/media/audio/ui/KeypressDelete.ogg
11-08 09:58:46.358: E/SoundPool(284): error loading /system/media/audio/ui/KeypressReturn.ogg
11-08 09:58:46.367: W/AudioService(284): Soundpool could not load file: /system/media/audio/ui/KeypressReturn.ogg
11-08 09:58:46.367: W/AudioService(284): onLoadSoundEffects(), Error -1 while loading samples
11-08 09:58:46.388: I/ActivityManager(284): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.example.gilan/.Sp} from pid 417
11-08 09:58:46.438: W/WindowManager(284): Screenshot failure taking screenshot for (164x246) to layer 21005
11-08 09:58:46.467: I/Choreographer(417): Skipped 116 frames! The application may be doing too much work on its main thread.
11-08 09:58:46.648: W/dalvikvm(834): PR_CAPBSET_DROP 0 failed: Invalid argument. Please make sure your kernel is compiled with file capabilities support enabled.
11-08 09:58:46.648: W/dalvikvm(834): PR_CAPBSET_DROP 1 failed: Invalid argument. Please make sure your kernel is compiled with file capabilities support enabled.
11-08 09:58:46.648: W/dalvikvm(834): PR_CAPBSET_DROP 2 failed: Invalid argument. Please make sure your kernel is compiled with file capabilities support enabled.
11-08 09:58:46.658: W/dalvikvm(834): PR_CAPBSET_DROP 3 failed: Invalid argument. Please make sure your kernel is compiled with file capabilities support enabled.
11-08 09:58:46.658: W/dalvikvm(834): PR_CAPBSET_DROP 4 failed: Invalid argument. Please make sure your kernel is compiled with file capabilities support enabled.
11-08 09:58:46.658: W/dalvikvm(834): PR_CAPBSET_DROP 5 failed: Invalid argument. Please make sure your kernel is compiled with file capabilities support enabled.
11-08 09:58:46.658: W/dalvikvm(834): PR_CAPBSET_DROP 6 failed: Invalid argument. Please make sure your kernel is compiled with file capabilities support enabled.
11-08 09:58:46.658: W/dalvikvm(834): PR_CAPBSET_DROP 7 failed: Invalid argument. Please make sure your kernel is compiled with file capabilities support enabled.
11-08 09:58:46.658: W/dalvikvm(834): PR_CAPBSET_DROP 8 failed: Invalid argument. Please make sure your kernel is compiled with file capabilities support enabled.
11-08 09:58:46.658: W/dalvikvm(834): PR_CAPBSET_DROP 9 failed: Invalid argument. Please make sure your kernel is compiled with file capabilities support enabled.
11-08 09:58:46.658: W/dalvikvm(834): PR_CAPBSET_DROP 10 failed: Invalid argument. Please make sure your kernel is compiled with file capabilities support enabled.
11-08 09:58:46.658: W/dalvikvm(834): PR_CAPBSET_DROP 11 failed: Invalid argument. Please make sure your kernel is compiled with file capabilities support enabled.
11-08 09:58:46.668: W/dalvikvm(834): PR_CAPBSET_DROP 12 failed: Invalid argument. Please make sure your kernel is compiled with file capabilities support enabled.
11-08 09:58:46.668: W/dalvikvm(834): PR_CAPBSET_DROP 13 failed: Invalid argument. Please make sure your kernel is compiled with file capabilities support enabled.
11-08 09:58:46.668: W/dalvikvm(834): PR_CAPBSET_DROP 14 failed: Invalid argument. Please make sure your kernel is compiled with file capabilities support enabled.
11-08 09:58:46.668: W/dalvikvm(834): PR_CAPBSET_DROP 15 failed: Invalid argument. Please make sure your kernel is compiled with file capabilities support enabled.
11-08 09:58:46.668: W/dalvikvm(834): PR_CAPBSET_DROP 16 failed: Invalid argument. Please make sure your kernel is compiled with file capabilities support enabled.
11-08 09:58:46.668: W/dalvikvm(834): PR_CAPBSET_DROP 17 failed: Invalid argument. Please make sure your kernel is compiled with file capabilities support enabled.
11-08 09:58:46.668: W/dalvikvm(834): PR_CAPBSET_DROP 18 failed: Invalid argument. Please make sure your kernel is compiled with file capabilities support enabled.
11-08 09:58:46.668: W/dalvikvm(834): PR_CAPBSET_DROP 19 failed: Invalid argument. Please make sure your kernel is compiled with file capabilities support enabled.
11-08 09:58:46.668: W/dalvikvm(834): PR_CAPBSET_DROP 20 failed: Invalid argument. Please make sure your kernel is compiled with file capabilities support enabled.
11-08 09:58:46.668: W/dalvikvm(834): PR_CAPBSET_DROP 21 failed: Invalid argument. Please make sure your kernel is compiled with file capabilities support enabled.
11-08 09:58:46.668: W/dalvikvm(834): PR_CAPBSET_DROP 22 failed: Invalid argument. Please make sure your kernel is compiled with file capabilities support enabled.
11-08 09:58:46.668: W/dalvikvm(834): PR_CAPBSET_DROP 23 failed: Invalid argument. Please make sure your kernel is compiled with file capabilities support enabled.
11-08 09:58:46.668: W/dalvikvm(834): PR_CAPBSET_DROP 24 failed: Invalid argument. Please make sure your kernel is compiled with file capabilities support enabled.
11-08 09:58:46.668: W/dalvikvm(834): PR_CAPBSET_DROP 25 failed: Invalid argument. Please make sure your kernel is compiled with file capabilities support enabled.
11-08 09:58:46.668: W/dalvikvm(834): PR_CAPBSET_DROP 26 failed: Invalid argument. Please make sure your kernel is compiled with file capabilities support enabled.
11-08 09:58:46.688: W/dalvikvm(834): PR_CAPBSET_DROP 27 failed: Invalid argument. Please make sure your kernel is compiled with file capabilities support enabled.
11-08 09:58:46.688: W/dalvikvm(834): PR_CAPBSET_DROP 28 failed: Invalid argument. Please make sure your kernel is compiled with file capabilities support enabled.
11-08 09:58:46.688: W/dalvikvm(834): PR_CAPBSET_DROP 29 failed: Invalid argument. Please make sure your kernel is compiled with file capabilities support enabled.
11-08 09:58:46.688: W/dalvikvm(834): PR_CAPBSET_DROP 30 failed: Invalid argument. Please make sure your kernel is compiled with file capabilities support enabled.
11-08 09:58:46.688: W/dalvikvm(834): PR_CAPBSET_DROP 31 failed: Invalid argument. Please make sure your kernel is compiled with file capabilities support enabled.
11-08 09:58:46.688: W/dalvikvm(834): PR_CAPBSET_DROP 32 failed: Invalid argument. Please make sure your kernel is compiled with file capabilities support enabled.
11-08 09:58:46.698: W/dalvikvm(834): PR_CAPBSET_DROP 33 failed: Invalid argument. Please make sure your kernel is compiled with file capabilities support enabled.
11-08 09:58:46.698: D/dalvikvm(834): Not late-enabling CheckJNI (already on)
11-08 09:58:46.708: I/ActivityManager(284): Start proc com.example.gilan for activity com.example.gilan/.Sp: pid=834 uid=10046 gids={50046, 1028}
11-08 09:58:46.728: I/ActivityManager(284): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.example.gilan/.Sp} from pid 417
11-08 09:58:46.768: E/SoundPool(284): error loading /system/media/audio/ui/Effect_Tick.ogg
11-08 09:58:46.768: W/AudioService(284): Soundpool could not load file: /system/media/audio/ui/Effect_Tick.ogg
11-08 09:58:46.768: E/SoundPool(284): error loading /system/media/audio/ui/Effect_Tick.ogg
11-08 09:58:46.778: W/AudioService(284): Soundpool could not load file: /system/media/audio/ui/Effect_Tick.ogg
11-08 09:58:46.778: E/SoundPool(284): error loading /system/media/audio/ui/Effect_Tick.ogg
11-08 09:58:46.778: W/AudioService(284): Soundpool could not load file: /system/media/audio/ui/Effect_Tick.ogg
11-08 09:58:46.788: E/SoundPool(284): error loading /system/media/audio/ui/Effect_Tick.ogg
11-08 09:58:46.788: W/AudioService(284): Soundpool could not load file: /system/media/audio/ui/Effect_Tick.ogg
11-08 09:58:46.788: E/SoundPool(284): error loading /system/media/audio/ui/Effect_Tick.ogg
11-08 09:58:46.788: W/AudioService(284): Soundpool could not load file: /system/media/audio/ui/Effect_Tick.ogg
11-08 09:58:46.798: E/SoundPool(284): error loading /system/media/audio/ui/KeypressStandard.ogg
11-08 09:58:46.798: W/AudioService(284): Soundpool could not load file: /system/media/audio/ui/KeypressStandard.ogg
11-08 09:58:46.798: E/SoundPool(284): error loading /system/media/audio/ui/KeypressSpacebar.ogg
11-08 09:58:46.798: W/AudioService(284): Soundpool could not load file: /system/media/audio/ui/KeypressSpacebar.ogg
11-08 09:58:46.838: E/SoundPool(284): error loading /system/media/audio/ui/KeypressDelete.ogg
11-08 09:58:46.848: W/AudioService(284): Soundpool could not load file: /system/media/audio/ui/KeypressDelete.ogg
11-08 09:58:46.878: E/SoundPool(284): error loading /system/media/audio/ui/KeypressReturn.ogg
11-08 09:58:46.878: W/AudioService(284): Soundpool could not load file: /system/media/audio/ui/KeypressReturn.ogg
11-08 09:58:46.908: W/AudioService(284): onLoadSoundEffects(), Error -1 while loading samples
11-08 09:58:47.912: I/Choreographer(417): Skipped 127 frames! The application may be doing too much work on its main thread.
11-08 09:58:48.058: D/dalvikvm(834): GC_FOR_ALLOC freed 39K, 4% free 2980K/3076K, paused 39ms, total 42ms
11-08 09:58:48.338: D/gralloc_goldfish(834): Emulator without GPU emulation detected.
11-08 09:58:48.428: I/ActivityManager(284): Displayed com.example.gilan/.Sp: +1s817ms
11-08 09:58:48.438: I/Choreographer(834): Skipped 43 frames! The application may be doing too much work on its main thread.
11-08 09:58:48.538: I/Choreographer(284): Skipped 58 frames! The application may be doing too much work on its main thread.
11-08 09:58:48.648: I/Choreographer(834): Skipped 133 frames! The application may be doing too much work on its main thread.
11-08 09:58:48.717: I/Choreographer(834): Skipped 44 frames! The application may be doing too much work on its main thread.
11-08 09:58:48.767: I/Choreographer(834): Skipped 35 frames! The application may be doing too much work on its main thread.
11-08 09:58:48.878: I/Choreographer(834): Skipped 67 frames! The application may be doing too much work on its main thread.
11-08 09:58:48.978: I/Choreographer(834): Skipped 67 frames! The application may be doing too much work on its main thread.
11-08 09:58:50.008: I/ActivityManager(284): START u0 {cmp=com.example.gilan/.Main} from pid 834
11-08 09:58:50.018: W/WindowManager(284): Screenshot failure taking screenshot for (164x246) to layer 21010
11-08 09:58:50.048: I/Choreographer(834): Skipped 39 frames! The application may be doing too much work on its main thread.
11-08 09:58:50.118: I/Choreographer(834): Skipped 46 frames! The application may be doing too much work on its main thread.
11-08 09:58:51.238: E/SQLiteLog(834): (14) cannot open file at line 30191 of [00bb9c9ce4]
11-08 09:58:51.238: E/SQLiteLog(834): (14) os_unix.c:30191: (13) open(//data/data/com.amirahmadadibi.project.app.book/databases/dataofstorys) -
11-08 09:58:51.628: E/SQLiteDatabase(834): Failed to open database 'data/data/com.amirahmadadibi.project.app.book/databases/dataofstorys'.
11-08 09:58:51.628: E/SQLiteDatabase(834): android.database.sqlite.SQLiteCantOpenDatabaseExce ption: unknown error (code 14): Could not open database
11-08 09:58:51.628: E/SQLiteDatabase(834): at android.database.sqlite.SQLiteConnection.nativeOpe n(Native Method)
11-08 09:58:51.628: E/SQLiteDatabase(834): at android.database.sqlite.SQLiteConnection.open(SQLi teConnection.java:209)
11-08 09:58:51.628: E/SQLiteDatabase(834): at android.database.sqlite.SQLiteConnection.open(SQLi teConnection.java:193)
11-08 09:58:51.628: E/SQLiteDatabase(834): at android.database.sqlite.SQLiteConnectionPool.openC onnectionLocked(SQLiteConnectionPool.java:463)
11-08 09:58:51.628: E/SQLiteDatabase(834): at android.database.sqlite.SQLiteConnectionPool.open( SQLiteConnectionPool.java:185)
11-08 09:58:51.628: E/SQLiteDatabase(834): at android.database.sqlite.SQLiteConnectionPool.open( SQLiteConnectionPool.java:177)
11-08 09:58:51.628: E/SQLiteDatabase(834): at android.database.sqlite.SQLiteDatabase.openInner(S QLiteDatabase.java:804)
11-08 09:58:51.628: E/SQLiteDatabase(834): at android.database.sqlite.SQLiteDatabase.open(SQLite Database.java:789)
11-08 09:58:51.628: E/SQLiteDatabase(834): at android.database.sqlite.SQLiteDatabase.openDatabas e(SQLiteDatabase.java:694)
11-08 09:58:51.628: E/SQLiteDatabase(834): at android.database.sqlite.SQLiteDatabase.openDatabas e(SQLiteDatabase.java:669)
11-08 09:58:51.628: E/SQLiteDatabase(834): at com.example.gilan.database.open(database.java:61)
11-08 09:58:51.628: E/SQLiteDatabase(834): at com.example.gilan.Main.refresher(Main.java:69)
11-08 09:58:51.628: E/SQLiteDatabase(834): at com.example.gilan.Main.onCreate(Main.java:32)
11-08 09:58:51.628: E/SQLiteDatabase(834): at android.app.Activity.performCreate(Activity.java:5 133)
11-08 09:58:51.628: E/SQLiteDatabase(834): at android.app.Instrumentation.callActivityOnCreate(I nstrumentation.java:1087)
11-08 09:58:51.628: E/SQLiteDatabase(834): at android.app.ActivityThread.performLaunchActivity(A ctivityThread.java:2175)
11-08 09:58:51.628: E/SQLiteDatabase(834): at android.app.ActivityThread.handleLaunchActivity(Ac tivityThread.java:2261)
11-08 09:58:51.628: E/SQLiteDatabase(834): at android.app.ActivityThread.access$600(ActivityThre ad.java:141)
11-08 09:58:51.628: E/SQLiteDatabase(834): at android.app.ActivityThread$H.handleMessage(Activit yThread.java:1256)
11-08 09:58:51.628: E/SQLiteDatabase(834): at android.os.Handler.dispatchMessage(Handler.java:99 )
11-08 09:58:51.628: E/SQLiteDatabase(834): at android.os.Looper.loop(Looper.java:137)
11-08 09:58:51.628: E/SQLiteDatabase(834): at android.app.ActivityThread.main(ActivityThread.jav a:5103)
11-08 09:58:51.628: E/SQLiteDatabase(834): at java.lang.reflect.Method.invokeNative(Native Method)
11-08 09:58:51.628: E/SQLiteDatabase(834): at java.lang.reflect.Method.invoke(Method.java:525)
11-08 09:58:51.628: E/SQLiteDatabase(834): at com.android.internal.os.ZygoteInit$MethodAndArgsCa ller.run(ZygoteInit.java:737)
11-08 09:58:51.628: E/SQLiteDatabase(834): at com.android.internal.os.ZygoteInit.main(ZygoteInit .java:553)
11-08 09:58:51.628: E/SQLiteDatabase(834): at dalvik.system.NativeStart.main(Native Method)
11-08 09:58:51.679: D/AndroidRuntime(834): Shutting down VM
11-08 09:58:51.679: W/dalvikvm(834): threadid=1: thread exiting with uncaught exception (group=0x414c4700)
11-08 09:58:52.027: D/dalvikvm(834): GC_FOR_ALLOC freed 87K, 5% free 3402K/3548K, paused 87ms, total 110ms
11-08 09:58:52.067: E/AndroidRuntime(834): FATAL EXCEPTION: main
11-08 09:58:52.067: E/AndroidRuntime(834): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.gilan/com.example.gilan.Main}: android.database.sqlite.SQLiteCantOpenDatabaseExce ption: unknown error (code 14): Could not open database
11-08 09:58:52.067: E/AndroidRuntime(834): at android.app.ActivityThread.performLaunchActivity(A ctivityThread.java:2211)
11-08 09:58:52.067: E/AndroidRuntime(834): at android.app.ActivityThread.handleLaunchActivity(Ac tivityThread.java:2261)
11-08 09:58:52.067: E/AndroidRuntime(834): at android.app.ActivityThread.access$600(ActivityThre ad.java:141)
11-08 09:58:52.067: E/AndroidRuntime(834): at android.app.ActivityThread$H.handleMessage(Activit yThread.java:1256)
11-08 09:58:52.067: E/AndroidRuntime(834): at android.os.Handler.dispatchMessage(Handler.java:99 )
11-08 09:58:52.067: E/AndroidRuntime(834): at android.os.Looper.loop(Looper.java:137)
11-08 09:58:52.067: E/AndroidRuntime(834): at android.app.ActivityThread.main(ActivityThread.jav a:5103)
11-08 09:58:52.067: E/AndroidRuntime(834): at java.lang.reflect.Method.invokeNative(Native Method)
11-08 09:58:52.067: E/AndroidRuntime(834): at java.lang.reflect.Method.invoke(Method.java:525)
11-08 09:58:52.067: E/AndroidRuntime(834): at com.android.internal.os.ZygoteInit$MethodAndArgsCa ller.run(ZygoteInit.java:737)
11-08 09:58:52.067: E/AndroidRuntime(834): at com.android.internal.os.ZygoteInit.main(ZygoteInit .java:553)
11-08 09:58:52.067: E/AndroidRuntime(834): at dalvik.system.NativeStart.main(Native Method)
11-08 09:58:52.067: E/AndroidRuntime(834): Caused by: android.database.sqlite.SQLiteCantOpenDatabaseExce ption: unknown error (code 14): Could not open database
11-08 09:58:52.067: E/AndroidRuntime(834): at android.database.sqlite.SQLiteConnection.nativeOpe n(Native Method)
11-08 09:58:52.067: E/AndroidRuntime(834): at android.database.sqlite.SQLiteConnection.open(SQLi teConnection.java:209)
11-08 09:58:52.067: E/AndroidRuntime(834): at android.database.sqlite.SQLiteConnection.open(SQLi teConnection.java:193)
11-08 09:58:52.067: E/AndroidRuntime(834): at android.database.sqlite.SQLiteConnectionPool.openC onnectionLocked(SQLiteConnectionPool.java:463)
11-08 09:58:52.067: E/AndroidRuntime(834): at android.database.sqlite.SQLiteConnectionPool.open( SQLiteConnectionPool.java:185)
11-08 09:58:52.067: E/AndroidRuntime(834): at android.database.sqlite.SQLiteConnectionPool.open( SQLiteConnectionPool.java:177)
11-08 09:58:52.067: E/AndroidRuntime(834): at android.database.sqlite.SQLiteDatabase.openInner(S QLiteDatabase.java:804)
11-08 09:58:52.067: E/AndroidRuntime(834): at android.database.sqlite.SQLiteDatabase.open(SQLite Database.java:789)
11-08 09:58:52.067: E/AndroidRuntime(834): at android.database.sqlite.SQLiteDatabase.openDatabas e(SQLiteDatabase.java:694)
11-08 09:58:52.067: E/AndroidRuntime(834): at android.database.sqlite.SQLiteDatabase.openDatabas e(SQLiteDatabase.java:669)
11-08 09:58:52.067: E/AndroidRuntime(834): at com.example.gilan.database.open(database.java:61)
11-08 09:58:52.067: E/AndroidRuntime(834): at com.example.gilan.Main.refresher(Main.java:69)
11-08 09:58:52.067: E/AndroidRuntime(834): at com.example.gilan.Main.onCreate(Main.java:32)
11-08 09:58:52.067: E/AndroidRuntime(834): at android.app.Activity.performCreate(Activity.java:5 133)
11-08 09:58:52.067: E/AndroidRuntime(834): at android.app.Instrumentation.callActivityOnCreate(I nstrumentation.java:1087)
11-08 09:58:52.067: E/AndroidRuntime(834): at android.app.ActivityThread.performLaunchActivity(A ctivityThread.java:2175)
11-08 09:58:52.067: E/AndroidRuntime(834): ... 11 more
11-08 09:58:52.198: W/ActivityManager(284): Force finishing activity com.example.gilan/.Main
11-08 09:58:52.908: D/dalvikvm(284): GC_FOR_ALLOC freed 391K, 35% free 5416K/8232K, paused 176ms, total 180ms
11-08 09:58:53.348: W/ActivityManager(284): Activity pause timeout for ActivityRecord{419933b0 u0 com.example.gilan/.Main}
11-08 09:58:53.508: I/Choreographer(284): Skipped 135 frames! The application may be doing too much work on its main thread.
11-08 09:58:53.708: I/Choreographer(417): Skipped 180 frames! The application may be doing too much work on its main thread.
11-08 09:58:53.758: I/Choreographer(284): Skipped 132 frames! The application may be doing too much work on its main thread.
11-08 09:58:53.958: W/ResourceType(284): Skipping entry 0x7f020001 in package table 0 because it is not complex!
11-08 09:58:53.998: W/ResourceType(284): Skipping entry 0x7f020002 in package table 0 because it is not complex!
11-08 09:58:54.028: I/Choreographer(284): Skipped 71 frames! The application may be doing too much work on its main thread.
11-08 09:58:55.438: I/Choreographer(284): Skipped 33 frames! The application may be doing too much work on its main thread.
11-08 09:58:55.508: I/Choreographer(284): Skipped 30 frames! The application may be doing too much work on its main thread.
11-08 09:58:56.228: E/SoundPool(284): error loading /system/media/audio/ui/Effect_Tick.ogg
11-08 09:58:56.228: W/AudioService(284): Soundpool could not load file: /system/media/audio/ui/Effect_Tick.ogg
11-08 09:58:56.228: E/SoundPool(284): error loading /system/media/audio/ui/Effect_Tick.ogg
11-08 09:58:56.228: W/AudioService(284): Soundpool could not load file: /system/media/audio/ui/Effect_Tick.ogg
11-08 09:58:56.228: E/SoundPool(284): error loading /system/media/audio/ui/Effect_Tick.ogg
11-08 09:58:56.228: W/AudioService(284): Soundpool could not load file: /system/media/audio/ui/Effect_Tick.ogg
11-08 09:58:56.228: E/SoundPool(284): error loading /system/media/audio/ui/Effect_Tick.ogg
11-08 09:58:56.248: W/AudioService(284): Soundpool could not load file: /system/media/audio/ui/Effect_Tick.ogg
11-08 09:58:56.248: E/SoundPool(284): error loading /system/media/audio/ui/Effect_Tick.ogg
11-08 09:58:56.248: W/AudioService(284): Soundpool could not load file: /system/media/audio/ui/Effect_Tick.ogg
11-08 09:58:56.248: E/SoundPool(284): error loading /system/media/audio/ui/KeypressStandard.ogg
11-08 09:58:56.258: W/AudioService(284): Soundpool could not load file: /system/media/audio/ui/KeypressStandard.ogg
11-08 09:58:56.268: I/Process(834): Sending signal. PID: 834 SIG: 9
11-08 09:58:56.288: I/Choreographer(284): Skipped 45 frames! The application may be doing too much work on its main thread.
11-08 09:58:56.288: E/SoundPool(284): error loading /system/media/audio/ui/KeypressSpacebar.ogg
11-08 09:58:56.298: W/AudioService(284): Soundpool could not load file: /system/media/audio/ui/KeypressSpacebar.ogg
11-08 09:58:56.298: E/SoundPool(284): error loading /system/media/audio/ui/KeypressDelete.ogg
11-08 09:58:56.308: I/ActivityManager(284): Process com.example.gilan (pid 834) has died.
11-08 09:58:56.318: I/WindowState(284): WIN DEATH: Window{41a896b0 u0 com.example.gilan/com.example.gilan.Sp}
11-08 09:58:56.378: W/AudioService(284): Soundpool could not load file: /system/media/audio/ui/KeypressDelete.ogg
11-08 09:58:56.387: E/SoundPool(284): error loading /system/media/audio/ui/KeypressReturn.ogg
11-08 09:58:56.398: W/AudioService(284): Soundpool could not load file: /system/media/audio/ui/KeypressReturn.ogg
11-08 09:58:56.408: W/AudioService(284): onLoadSoundEffects(), Error -1 while loading samples
11-08 09:58:56.637: W/InputMethodManagerService(284): Got RemoteException sending setActive(false) notification to pid 834 uid 10046
11-08 09:59:00.158: I/Choreographer(344): Skipped 44 frames! The application may be doing too much work on its main thread.
.............................................
virus2009
شنبه 17 آبان 1393, 18:12 عصر
منظور از قرار دادن Logcat کل اون نیست و فقط بخش ارور هست که به صورت قرمز تو ایکلیپس نشون میده، یعنی این قسمت :
E/AndroidRuntime(834): FATAL EXCEPTION: main
E/AndroidRuntime(834): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.gilan/com.example.gilan.Main}: android.database.sqlite.SQLiteCantOpenDatabaseExce ption: unknown error (code 14): Could not open database
E/AndroidRuntime(834): at android.app.ActivityThread.performLaunchActivity(A ctivityThread.java:2211)
E/AndroidRuntime(834): at android.app.ActivityThread.handleLaunchActivity(Ac tivityThread.java:2261)
E/AndroidRuntime(834): at android.app.ActivityThread.access$600(ActivityThre ad.java:141)
E/AndroidRuntime(834): at android.app.ActivityThread$H.handleMessage(Activit yThread.java:1256)
E/AndroidRuntime(834): at android.os.Handler.dispatchMessage(Handler.java:99 )
E/AndroidRuntime(834): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime(834): at android.app.ActivityThread.main(ActivityThread.jav a:5103)
E/AndroidRuntime(834): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(834): at java.lang.reflect.Method.invoke(Method.java:525)
E/AndroidRuntime(834): at com.android.internal.os.ZygoteInit$MethodAndArgsCa ller.run(ZygoteInit.java:737)
E/AndroidRuntime(834): at com.android.internal.os.ZygoteInit.main(ZygoteInit .java:553)
E/AndroidRuntime(834): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime(834): Caused by: android.database.sqlite.SQLiteCantOpenDatabaseExce ption: unknown error (code 14): Could not open database
E/AndroidRuntime(834): at android.database.sqlite.SQLiteConnection.nativeOpe n(Native Method)
E/AndroidRuntime(834): at android.database.sqlite.SQLiteConnection.open(SQLi teConnection.java:209)
E/AndroidRuntime(834): at android.database.sqlite.SQLiteConnection.open(SQLi teConnection.java:193)
E/AndroidRuntime(834): at android.database.sqlite.SQLiteConnectionPool.openC onnectionLocked(SQLiteConnectionPool.java:463)
E/AndroidRuntime(834): at android.database.sqlite.SQLiteConnectionPool.open( SQLiteConnectionPool.java:185)
E/AndroidRuntime(834): at android.database.sqlite.SQLiteConnectionPool.open( SQLiteConnectionPool.java:177)
E/AndroidRuntime(834): at android.database.sqlite.SQLiteDatabase.openInner(S QLiteDatabase.java:804)
E/AndroidRuntime(834): at android.database.sqlite.SQLiteDatabase.open(SQLite Database.java:789)
E/AndroidRuntime(834): at android.database.sqlite.SQLiteDatabase.openDatabas e(SQLiteDatabase.java:694)
E/AndroidRuntime(834): at android.database.sqlite.SQLiteDatabase.openDatabas e(SQLiteDatabase.java:669)
E/AndroidRuntime(834): at com.example.gilan.database.open(database.java:61)
E/AndroidRuntime(834): at com.example.gilan.Main.refresher(Main.java:69)
E/AndroidRuntime(834): at com.example.gilan.Main.onCreate(Main.java:32)
E/AndroidRuntime(834): at android.app.Activity.performCreate(Activity.java:5 133)
E/AndroidRuntime(834): at android.app.Instrumentation.callActivityOnCreate(I nstrumentation.java:1087)
E/AndroidRuntime(834): at android.app.ActivityThread.performLaunchActivity(A ctivityThread.java:2175)
E/AndroidRuntime(834): ... 11 more
وقتی به اروری بر می خورید همیشه قسمت caused by رو نگاه کنید تا ببینید مشکل از کجاست و مسیر رو دنبال کنید تا به کلاس های برنامه خودتون برسید
الان شما در باز کردن دیتابیس مشکل دارید در کلاس database در خط 61 به این مشکل بر می خورید.
وقتی کدی رو اینجا قرار میدید ، تمام کد را انتخاب کنید و از قسمت بالا گزینه java رو بزنید.
vBulletin® v4.2.5, Copyright ©2000-1404, Jelsoft Enterprises Ltd.