Avatar
Grossik
Člen
Avatar
Grossik:

Dobrý den mám problém s výpisem dat z databáze... Dokážu přes aplikaci ty data poslat do té databáze, ale když chci aby se vypsali tak to udělá tuhle chybu

12-05 19:15:01.955: I/dalvikvm(328): Could not find method android.view.ViewGroup.onNestedScrollAccepted, referenced from method android.support.v7.internal.widget.ActionBarOverlayLayout.onNestedScrollAccepted
12-05 19:15:01.965: W/dalvikvm(328): VFY: unable to resolve virtual method 11646: Landroid/view/ViewGroup;.onNestedScrollAccepted (Landroid/view/View;Landroid/view/View;I)V
12-05 19:15:01.965: D/dalvikvm(328): VFY: replacing opcode 0x6f at 0x0000
12-05 19:15:01.965: D/dalvikvm(328): VFY: dead code 0x0003-0015 in Landroid/support/v7/internal/widget/ActionBarOverlayLayout;.onNestedScrollAccepted (Landroid/view/View;Landroid/view/View;I)V
12-05 19:15:01.965: I/dalvikvm(328): Could not find method android.view.ViewGroup.onStopNestedScroll, referenced from method android.support.v7.internal.widget.ActionBarOverlayLayout.onStopNestedScroll
12-05 19:15:01.965: W/dalvikvm(328): VFY: unable to resolve virtual method 11652: Landroid/view/ViewGroup;.onStopNestedScroll (Landroid/view/View;)V
12-05 19:15:01.965: D/dalvikvm(328): VFY: replacing opcode 0x6f at 0x0000
12-05 19:15:01.965: D/dalvikvm(328): VFY: dead code 0x0003-0025 in Landroid/support/v7/internal/widget/ActionBarOverlayLayout;.onStopNestedScroll (Landroid/view/View;)V
12-05 19:15:01.965: I/dalvikvm(328): Could not find method android.view.ViewGroup.onWindowSystemUiVisibilityChanged, referenced from method android.support.v7.internal.widget.ActionBarOverlayLayout.onWindowSystemUiVisibilityChanged
12-05 19:15:01.965: W/dalvikvm(328): VFY: unable to resolve virtual method 11654: Landroid/view/ViewGroup;.onWindowSystemUiVisibilityChanged (I)V
12-05 19:15:01.975: D/dalvikvm(328): VFY: replacing opcode 0x6f at 0x0008
12-05 19:15:01.975: I/dalvikvm(328): Could not find method android.support.v7.internal.widget.ActionBarOverlayLayout.stopNestedScroll, referenced from method android.support.v7.internal.widget.ActionBarOverlayLayout.setHideOnContentScrollEnabled
12-05 19:15:01.975: W/dalvikvm(328): VFY: unable to resolve virtual method 8979: Landroid/support/v7/internal/widget/ActionBarOverlayLayout;.stopNestedScroll ()V
12-05 19:15:01.975: D/dalvikvm(328): VFY: replacing opcode 0x6e at 0x000e
12-05 19:15:01.995: I/dalvikvm(328): Could not find method android.widget.FrameLayout.jumpDrawablesToCurrentState, referenced from method android.support.v7.internal.widget.ActionBarContainer.jumpDrawablesToCurrentState
12-05 19:15:01.995: W/dalvikvm(328): VFY: unable to resolve virtual method 12011: Landroid/widget/FrameLayout;.jumpDrawablesToCurrentState ()V
12-05 19:15:01.995: D/dalvikvm(328): VFY: replacing opcode 0x6f at 0x0006
12-05 19:15:02.005: D/dalvikvm(328): VFY: dead code 0x0009-0023 in Landroid/support/v7/internal/widget/ActionBarContainer;.jumpDrawablesToCurrentState ()V
12-05 19:15:02.015: W/dalvikvm(328): VFY: unable to find class referenced in signature (Landroid/view/ActionMode;)
12-05 19:15:02.074: I/dalvikvm(328): Could not find method android.view.ViewGroup.onRtlPropertiesChanged, referenced from method android.support.v7.widget.Toolbar.onRtlPropertiesChanged
12-05 19:15:02.074: W/dalvikvm(328): VFY: unable to resolve virtual method 11649: Landroid/view/ViewGroup;.onRtlPropertiesChanged (I)V
12-05 19:15:02.074: D/dalvikvm(328): VFY: replacing opcode 0x6f at 0x0007
12-05 19:15:02.085: I/dalvikvm(328): Could not find method android.content.res.TypedArray.getChangingConfigurations, referenced from method android.support.v7.internal.widget.TintTypedArray.getChangingConfigurations
12-05 19:15:02.085: W/dalvikvm(328): VFY: unable to resolve virtual method 375: Landroid/content/res/TypedArray;.getChangingConfigurations ()I
12-05 19:15:02.095: D/dalvikvm(328): VFY: replacing opcode 0x6e at 0x0002
12-05 19:15:02.095: D/dalvikvm(328): VFY: dead code 0x0005-0006 in Landroid/support/v7/internal/widget/TintTypedArray;.getChangingConfigurations ()I
12-05 19:15:02.095: I/dalvikvm(328): Could not find method android.content.res.TypedArray.getType, referenced from method android.support.v7.internal.widget.TintTypedArray.getType
12-05 19:15:02.095: W/dalvikvm(328): VFY: unable to resolve virtual method 397: Landroid/content/res/TypedArray;.getType (I)I
12-05 19:15:02.095: D/dalvikvm(328): VFY: replacing opcode 0x6e at 0x0002
12-05 19:15:02.095: D/dalvikvm(328): VFY: dead code 0x0005-0006 in Landroid/support/v7/internal/widget/TintTypedArray;.getType (I)I
12-05 19:15:02.154: I/dalvikvm(328): Could not find method android.view.accessibility.AccessibilityEvent.setSource, referenced from method android.support.v7.internal.widget.ActionBarContextView.onInitializeAccessibilityEvent
12-05 19:15:02.154: W/dalvikvm(328): VFY: unable to resolve virtual method 11754: Landroid/view/accessibility/AccessibilityEvent;.setSource (Landroid/view/View;)V
12-05 19:15:02.154: D/dalvikvm(328): VFY: replacing opcode 0x6e at 0x000e
12-05 19:15:02.154: I/dalvikvm(328): Could not find method android.support.v7.internal.widget.AbsActionBarView.onInitializeAccessibilityEvent, referenced from method android.support.v7.internal.widget.ActionBarContextView.onInitializeAccessibilityEvent
12-05 19:15:02.154: W/dalvikvm(328): VFY: unable to resolve virtual method 8677: Landroid/support/v7/internal/widget/AbsActionBarView;.onInitializeAccessibilityEvent (Landroid/view/accessibility/AccessibilityEvent;)V
12-05 19:15:02.154: D/dalvikvm(328): VFY: replacing opcode 0x6f at 0x002d
12-05 19:15:02.154: D/dalvikvm(328): VFY: dead code 0x0011-002b in Landroid/support/v7/internal/widget/ActionBarContextView;.onInitializeAccessibilityEvent (Landroid/view/accessibility/AccessibilityEvent;)V
12-05 19:15:02.154: D/dalvikvm(328): VFY: dead code 0x0030-0030 in Landroid/support/v7/internal/widget/ActionBarContextView;.onInitializeAccessibilityEvent (Landroid/view/accessibility/AccessibilityEvent;)V
12-05 19:15:02.424: I/dalvikvm(328): Could not find method android.view.ViewGroup.onInitializeAccessibilityEvent, referenced from method android.support.v7.widget.LinearLayoutCompat.onInitializeAccessibilityEvent
12-05 19:15:02.424: W/dalvikvm(328): VFY: unable to resolve virtual method 11640: Landroid/view/ViewGroup;.onInitializeAccessibilityEvent (Landroid/view/accessibility/AccessibilityEvent;)V
12-05 19:15:02.424: D/dalvikvm(328): VFY: replacing opcode 0x6f at 0x0006
12-05 19:15:02.424: D/dalvikvm(328): VFY: dead code 0x0009-0011 in Landroid/support/v7/widget/LinearLayoutCompat;.onInitializeAccessibilityEvent (Landroid/view/accessibility/AccessibilityEvent;)V
12-05 19:15:02.424: W/dalvikvm(328): VFY: unable to find class referenced in signature (Landroid/view/accessibility/AccessibilityNodeInfo;)
12-05 19:15:02.434: I/dalvikvm(328): Could not find method android.view.ViewGroup.onInitializeAccessibilityNodeInfo, referenced from method android.support.v7.widget.LinearLayoutCompat.onInitializeAccessibilityNodeInfo
12-05 19:15:02.434: W/dalvikvm(328): VFY: unable to resolve virtual method 11641: Landroid/view/ViewGroup;.onInitializeAccessibilityNodeInfo (Landroid/view/accessibility/AccessibilityNodeInfo;)V
12-05 19:15:02.434: D/dalvikvm(328): VFY: replacing opcode 0x6f at 0x0006
12-05 19:15:02.434: D/dalvikvm(328): VFY: dead code 0x0009-0011 in Landroid/support/v7/widget/LinearLayoutCompat;.onInitializeAccessibilityNodeInfo (Landroid/view/accessibility/AccessibilityNodeInfo;)V
12-05 19:15:02.444: W/KeyCharacterMap(328): No keyboard for id -1
12-05 19:15:02.444: W/KeyCharacterMap(328): Using default keymap: /system/usr/keychars/qwerty.kcm.bin
12-05 19:15:03.984: D/dalvikvm(328): GC_CONCURRENT freed 227K, 50% free 2921K/5831K, external 908K/1038K, paused 4ms+3ms
12-05 19:15:04.054: I/System.out(328): -----JSON Data-----
12-05 19:15:04.054: I/System.out(328): <div ><div class="oznamy"><div class="eq"><i>â??Ä?as si vymysleli lid?©, aby vÄ?dÄ?li, od kdy do kdy a co za to.â?? </i>Jan Werich</div></div></div>[{"0":"5","id":"5","1":"2015-11-04","datum":"2015-11-04","2":"23:46:00","cas":"23:46:00","3":"0","ano":"0","4":"0","ne":"0"},{"0":"2","id":"2","1":"1999-07-09","datum":"1999-07-09","2":"23:43:10","cas":"23:43:10","3":"0","ano":"0","4":"0","ne":"0"}]
12-05 19:15:04.064: W/dalvikvm(328): threadid=9: thread exiting with uncaught exception (group=0x40015560)
12-05 19:15:04.074: E/AndroidRuntime(328): FATAL EXCEPTION: AsyncTask #1
12-05 19:15:04.074: E/AndroidRuntime(328): java.lang.RuntimeException: An error occured while executing doInBackground()
12-05 19:15:04.074: E/AndroidRuntime(328):      at android.os.AsyncTask$3.done(AsyncTask.java:200)
12-05 19:15:04.074: E/AndroidRuntime(328):      at java.util.concurrent.FutureTask$Sync.innerSetException(FutureTask.java:274)
12-05 19:15:04.074: E/AndroidRuntime(328):      at java.util.concurrent.FutureTask.setException(FutureTask.java:125)
12-05 19:15:04.074: E/AndroidRuntime(328):      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:308)
12-05 19:15:04.074: E/AndroidRuntime(328):      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
12-05 19:15:04.074: E/AndroidRuntime(328):      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1088)
12-05 19:15:04.074: E/AndroidRuntime(328):      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:581)
12-05 19:15:04.074: E/AndroidRuntime(328):      at java.lang.Thread.run(Thread.java:1019)
12-05 19:15:04.074: E/AndroidRuntime(328): Caused by: java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
12-05 19:15:04.074: E/AndroidRuntime(328):      at android.os.Handler.<init>(Handler.java:121)
12-05 19:15:04.074: E/AndroidRuntime(328):      at android.widget.Toast.<init>(Toast.java:68)
12-05 19:15:04.074: E/AndroidRuntime(328):      at android.widget.Toast.makeText(Toast.java:231)
12-05 19:15:04.074: E/AndroidRuntime(328):      at grossik.cz.test.MainActivity$RetrieveTask.doInBackground(MainActivity.java:105)
12-05 19:15:04.074: E/AndroidRuntime(328):      at grossik.cz.test.MainActivity$RetrieveTask.doInBackground(MainActivity.java:1)
12-05 19:15:04.074: E/AndroidRuntime(328):      at android.os.AsyncTask$2.call(AsyncTask.java:185)
12-05 19:15:04.074: E/AndroidRuntime(328):      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:306)
12-05 19:15:04.074: E/AndroidRuntime(328):      ... 4 more
12-05 19:15:04.695: E/WindowManager(328): Activity grossik.cz.test.MainActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@40559e48 that was originally added here
12-05 19:15:04.695: E/WindowManager(328): android.view.WindowLeaked: Activity grossik.cz.test.MainActivity has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@40559e48 that was originally added here
12-05 19:15:04.695: E/WindowManager(328):       at android.view.ViewRoot.<init>(ViewRoot.java:258)
12-05 19:15:04.695: E/WindowManager(328):       at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:148)
12-05 19:15:04.695: E/WindowManager(328):       at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:91)
12-05 19:15:04.695: E/WindowManager(328):       at android.view.Window$LocalWindowManager.addView(Window.java:424)
12-05 19:15:04.695: E/WindowManager(328):       at android.app.Dialog.show(Dialog.java:241)
12-05 19:15:04.695: E/WindowManager(328):       at grossik.cz.test.MainActivity$RetrieveTask.onPreExecute(MainActivity.java:130)
12-05 19:15:04.695: E/WindowManager(328):       at android.os.AsyncTask.execute(AsyncTask.java:391)
12-05 19:15:04.695: E/WindowManager(328):       at grossik.cz.test.MainActivity.onCreate(MainActivity.java:63)
12-05 19:15:04.695: E/WindowManager(328):       at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
12-05 19:15:04.695: E/WindowManager(328):       at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1611)
12-05 19:15:04.695: E/WindowManager(328):       at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1663)
12-05 19:15:04.695: E/WindowManager(328):       at android.app.ActivityThread.access$1500(ActivityThread.java:117)
12-05 19:15:04.695: E/WindowManager(328):       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:931)
12-05 19:15:04.695: E/WindowManager(328):       at android.os.Handler.dispatchMessage(Handler.java:99)
12-05 19:15:04.695: E/WindowManager(328):       at android.os.Looper.loop(Looper.java:123)
12-05 19:15:04.695: E/WindowManager(328):       at android.app.ActivityThread.main(ActivityThread.java:3683)
12-05 19:15:04.695: E/WindowManager(328):       at java.lang.reflect.Method.invokeNative(Native Method)
12-05 19:15:04.695: E/WindowManager(328):       at java.lang.reflect.Method.invoke(Method.java:507)
12-05 19:15:04.695: E/WindowManager(328):       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
12-05 19:15:04.695: E/WindowManager(328):       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
12-05 19:15:04.695: E/WindowManager(328):       at dalvik.system.NativeStart.main(Native Method)

Kód pro výpis:
https://www.dropbox.com/…ctivity.java?dl=0

Editováno 6.12.2015 14:22
 
Odpovědět 6.12.2015 14:20
Děláme co je v našich silách, aby byly zdejší diskuze co nejkvalitnější. Proto do nich také mohou přispívat pouze registrovaní členové. Pro zapojení do diskuze se přihlas. Pokud ještě nemáš účet, zaregistruj se, je to zdarma.

Zobrazeno 1 zpráv z 1.