Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialSabin Katwal
2,274 PointsLog message not printed as expected in logcat
I didn't get the particular log message in my app which shows the weather forecast json data but i did see the this in logcat 08-29 20:02:20.830 2917-2917/? D/dalvikvm: Late-enabling CheckJNI 08-29 20:02:20.930 2917-2917/com.example.android.stormy D/ActivityThread: setTargetHeapUtilization:0.25 08-29 20:02:20.930 2917-2917/com.example.android.stormy D/ActivityThread: setTargetHeapIdealFree:8388608 08-29 20:02:20.930 2917-2917/com.example.android.stormy D/ActivityThread: setTargetHeapConcurrentStart:2097152 08-29 20:02:21.370 2917-2917/com.example.android.stormy I/dalvikvm: Could not find method android.view.Window$Callback.onProvideKeyboardShortcuts, referenced from method android.support.v7.view.WindowCallbackWrapper.onProvideKeyboardShortcuts 08-29 20:02:21.370 2917-2917/com.example.android.stormy W/dalvikvm: VFY: unable to resolve interface method 17000: Landroid/view/Window$Callback;.onProvideKeyboardShortcuts (Ljava/util/List;Landroid/view/Menu;I)V 08-29 20:02:21.370 2917-2917/com.example.android.stormy D/dalvikvm: VFY: replacing opcode 0x72 at 0x0002 08-29 20:02:21.370 2917-2917/com.example.android.stormy W/dalvikvm: VFY: unable to find class referenced in signature (Landroid/view/SearchEvent;) 08-29 20:02:21.370 2917-2917/com.example.android.stormy I/dalvikvm: Could not find method android.view.Window$Callback.onSearchRequested, referenced from method android.support.v7.view.WindowCallbackWrapper.onSearchRequested 08-29 20:02:21.370 2917-2917/com.example.android.stormy W/dalvikvm: VFY: unable to resolve interface method 17002: Landroid/view/Window$Callback;.onSearchRequested (Landroid/view/SearchEvent;)Z 08-29 20:02:21.370 2917-2917/com.example.android.stormy D/dalvikvm: VFY: replacing opcode 0x72 at 0x0002 08-29 20:02:21.370 2917-2917/com.example.android.stormy I/dalvikvm: Could not find method android.view.Window$Callback.onWindowStartingActionMode, referenced from method android.support.v7.view.WindowCallbackWrapper.onWindowStartingActionMode 08-29 20:02:21.380 2917-2917/com.example.android.stormy W/dalvikvm: VFY: unable to resolve interface method 17006: Landroid/view/Window$Callback;.onWindowStartingActionMode (Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode; 08-29 20:02:21.380 2917-2917/com.example.android.stormy D/dalvikvm: VFY: replacing opcode 0x72 at 0x0002 08-29 20:02:21.380 2917-2917/com.example.android.stormy I/dalvikvm: Could not find method android.content.res.TypedArray.getChangingConfigurations, referenced from method android.support.v7.widget.TintTypedArray.getChangingConfigurations 08-29 20:02:21.380 2917-2917/com.example.android.stormy W/dalvikvm: VFY: unable to resolve virtual method 461: Landroid/content/res/TypedArray;.getChangingConfigurations ()I 08-29 20:02:21.380 2917-2917/com.example.android.stormy D/dalvikvm: VFY: replacing opcode 0x6e at 0x0002 08-29 20:02:21.380 2917-2917/com.example.android.stormy I/dalvikvm: Could not find method android.content.res.TypedArray.getType, referenced from method android.support.v7.widget.TintTypedArray.getType 08-29 20:02:21.400 2917-2917/com.example.android.stormy W/dalvikvm: VFY: unable to resolve virtual method 483: Landroid/content/res/TypedArray;.getType (I)I 08-29 20:02:21.400 2917-2917/com.example.android.stormy D/dalvikvm: VFY: replacing opcode 0x6e at 0x0008 08-29 20:02:21.440 2917-2917/com.example.android.stormy I/dalvikvm: Could not find method android.support.graphics.drawable.VectorDrawableCompat.getLayoutDirection, referenced from method android.support.graphics.drawable.VectorDrawableCompat.needMirroring 08-29 20:02:21.460 2917-2917/com.example.android.stormy W/dalvikvm: VFY: unable to resolve virtual method 2196: Landroid/support/graphics/drawable/VectorDrawableCompat;.getLayoutDirection ()I 08-29 20:02:21.460 2917-2917/com.example.android.stormy D/dalvikvm: VFY: replacing opcode 0x6e at 0x000f 08-29 20:02:21.610 2917-2917/com.example.android.stormy I/dalvikvm: Could not find method android.widget.FrameLayout.startActionModeForChild, referenced from method android.support.v7.widget.ActionBarContainer.startActionModeForChild 08-29 20:02:21.630 2917-2917/com.example.android.stormy W/dalvikvm: VFY: unable to resolve virtual method 17437: Landroid/widget/FrameLayout;.startActionModeForChild (Landroid/view/View;Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode; 08-29 20:02:21.630 2917-2917/com.example.android.stormy D/dalvikvm: VFY: replacing opcode 0x6f at 0x0002 08-29 20:02:21.700 2917-2917/com.example.android.stormy I/dalvikvm: Could not find method android.view.ViewGroup.onRtlPropertiesChanged, referenced from method android.support.v7.widget.Toolbar.onRtlPropertiesChanged 08-29 20:02:21.700 2917-2917/com.example.android.stormy W/dalvikvm: VFY: unable to resolve virtual method 16897: Landroid/view/ViewGroup;.onRtlPropertiesChanged (I)V 08-29 20:02:21.700 2917-2917/com.example.android.stormy D/dalvikvm: VFY: replacing opcode 0x6f at 0x0007 08-29 20:02:21.720 2917-2917/com.example.android.stormy I/dalvikvm: Could not find method android.content.Context.getColorStateList, referenced from method android.support.v7.content.res.AppCompatResources.getColorStateList 08-29 20:02:21.720 2917-2917/com.example.android.stormy W/dalvikvm: VFY: unable to resolve virtual method 275: Landroid/content/Context;.getColorStateList (I)Landroid/content/res/ColorStateList; 08-29 20:02:21.720 2917-2917/com.example.android.stormy D/dalvikvm: VFY: replacing opcode 0x6e at 0x0006 08-29 20:02:21.740 2917-2917/com.example.android.stormy I/dalvikvm: Could not find method android.content.res.Resources.getDrawable, referenced from method android.support.v7.widget.ResourcesWrapper.getDrawable 08-29 20:02:21.740 2917-2917/com.example.android.stormy W/dalvikvm: VFY: unable to resolve virtual method 424: Landroid/content/res/Resources;.getDrawable (ILandroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable; 08-29 20:02:21.740 2917-2917/com.example.android.stormy D/dalvikvm: VFY: replacing opcode 0x6e at 0x0002 08-29 20:02:21.740 2917-2917/com.example.android.stormy I/dalvikvm: Could not find method android.content.res.Resources.getDrawableForDensity, referenced from method android.support.v7.widget.ResourcesWrapper.getDrawableForDensity 08-29 20:02:21.740 2917-2917/com.example.android.stormy W/dalvikvm: VFY: unable to resolve virtual method 426: Landroid/content/res/Resources;.getDrawableForDensity (IILandroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable; 08-29 20:02:21.740 2917-2917/com.example.android.stormy D/dalvikvm: VFY: replacing opcode 0x6e at 0x0002 08-29 20:02:21.760 2917-2917/com.example.android.stormy E/dalvikvm: Could not find class 'android.graphics.drawable.RippleDrawable', referenced from method android.support.v7.widget.AppCompatImageHelper.hasOverlappingRendering 08-29 20:02:21.760 2917-2917/com.example.android.stormy W/dalvikvm: VFY: unable to resolve instanceof 141 (Landroid/graphics/drawable/RippleDrawable;) in Landroid/support/v7/widget/AppCompatImageHelper; 08-29 20:02:21.760 2917-2917/com.example.android.stormy D/dalvikvm: VFY: replacing opcode 0x20 at 0x000c 08-29 20:02:21.850 2917-2917/com.example.android.stormy I/dalvikvm: Could not find method android.view.ViewGroup$MarginLayoutParams.resolveLayoutDirection, referenced from method android.support.constraint.ConstraintLayout$LayoutParams.resolveLayoutDirection 08-29 20:02:21.870 2917-2917/com.example.android.stormy W/dalvikvm: VFY: unable to resolve virtual method 16847: Landroid/view/ViewGroup$MarginLayoutParams;.resolveLayoutDirection (I)V 08-29 20:02:21.870 2917-2917/com.example.android.stormy D/dalvikvm: VFY: replacing opcode 0x6f at 0x0002 08-29 20:02:21.960 2917-2917/com.example.android.stormy D/MainActivity: Main UI code is running 08-29 20:02:22.090 2917-2917/com.example.android.stormy D/libEGL: loaded /system/lib/egl/libEGL_adreno200.so 08-29 20:02:22.110 2917-2917/com.example.android.stormy D/libEGL: loaded /system/lib/egl/libGLESv1_CM_adreno200.so 08-29 20:02:22.110 2917-2917/com.example.android.stormy D/libEGL: loaded /system/lib/egl/libGLESv2_adreno200.so 08-29 20:02:22.120 2917-2917/com.example.android.stormy I/Adreno200-EGL: <qeglDrvAPI_eglInitialize:299>: EGL 1.4 QUALCOMM build: AU_LINUX_ANDROID_JB_REL_2.0.3.04.01.02.21.107_msm8625_JB_REL_2.0.3_CL3357771_release_AU (CL3357771) Build Date: 02/25/13 Mon Local Branch: Remote Branch: quic/jb_rel_2.0.3 Local Patches: NONE Reconstruct Branch: AU_LINUX_ANDROID_JB_REL_2.0.3.04.01.02.21.107 + NOTHING 08-29 20:02:22.170 2917-2917/com.example.android.stormy D/OpenGLRenderer: Enabling debug mode 0 08-29 20:02:39.860 2917-2917/com.example.android.stormy D/MainActivity: Main UI code is running 08-29 20:02:40.200 2917-2917/com.example.android.stormy E/SpannableStringBuilder: SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length 08-29 20:02:40.200 2917-2917/com.example.android.stormy E/SpannableStringBuilder: SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length