Webrtc project: Could not find class 'org.webrtc.RendererCommon$YuvUploader' - android

I'm trying build native webrtc app in Android. It works fine until I add either Volley, loopj or facebook-android-sdk to the project via Gradle. I'm unable to figure out what is causing the conflict.
Any suggestion on how this can be resolved ? Thank you!
Here is the full log:
01-25 00:48:42.577 25791-25791/? D/dalvikvm: Late-enabling CheckJNI
01-25 00:48:42.677 25791-25791/com.testapp I/dalvikvm: Could not find method android.app.Notification$Builder.setLocalOnly, referenced from method com.google.android.gms.common.GooglePlayServicesUtil.zza
01-25 00:48:42.677 25791-25791/com.testapp W/dalvikvm: VFY: unable to resolve virtual method 274: Landroid/app/Notification$Builder;.setLocalOnly (Z)Landroid/app/Notification$Builder;
01-25 00:48:42.677 25791-25791/com.testapp D/dalvikvm: VFY: replacing opcode 0x6e at 0x00c8
01-25 00:48:42.697 25791-25791/com.testapp I/dalvikvm: Could not find method android.content.pm.PackageManager.getPackageInstaller, referenced from method com.google.android.gms.common.GooglePlayServicesUtil.zzh
01-25 00:48:42.697 25791-25791/com.testapp W/dalvikvm: VFY: unable to resolve virtual method 591: Landroid/content/pm/PackageManager;.getPackageInstaller ()Landroid/content/pm/PackageInstaller;
01-25 00:48:42.697 25791-25791/com.testapp D/dalvikvm: VFY: replacing opcode 0x6e at 0x000b
01-25 00:48:42.747 25791-25831/com.testapp I/GMPM: App measurement is starting up
01-25 00:48:42.947 25791-25791/com.testapp I/Adreno200-EGL: <qeglDrvAPI_eglInitialize:265>: EGL 1.4 QUALCOMM build: AU_LINUX_ANDROID_JB_2.5.5.04.02.02.092.059_msm8960_JB_2.5.5_CL3896081_release_AU (CL3896081)
Build Date: 06/25/13 Tue
Local Branch:
Remote Branch: quic/jb_2.5.5
Local Patches: NONE
Reconstruct Branch: AU_LINUX_ANDROID_JB_2.5.5.04.02.02.092.059 + NOTHING
01-25 00:48:42.967 25791-25791/com.testapp D/OpenGLRenderer: Enabling debug mode 0
01-25 00:48:43.127 25791-25791/com.testapp W/IInputConnectionWrapper: showStatusIcon on inactive InputConnection
01-25 00:48:43.137 25791-25791/com.testapp I/ActivityManager: Timeline: Activity_idle id: android.os.BinderProxy#41bac990 time:90636840
01-25 00:48:51.076 25791-25791/com.testapp I/ActivityManager: Timeline: Activity_idle id: android.os.BinderProxy#41bac990 time:90644774
01-25 00:49:00.656 25791-25791/com.testapp D/ConnectActivity: Connecting to room 123456789 at URL https://apprtc.appspot.com
01-25 00:49:00.666 25791-25791/com.testapp I/ActivityManager: Timeline: Activity_launch_request id:com.testapp time:90654362
01-25 00:49:00.756 25791-25791/com.testapp E/dalvikvm: Could not find class 'org.webrtc.RendererCommon$YuvUploader', referenced from method org.webrtc.SurfaceViewRenderer.<init>
01-25 00:49:00.756 25791-25791/com.testapp W/dalvikvm: VFY: unable to resolve new-instance 9794 (Lorg/webrtc/RendererCommon$YuvUploader;) in Lorg/webrtc/SurfaceViewRenderer;
01-25 00:49:00.756 25791-25791/com.testapp D/dalvikvm: VFY: replacing opcode 0x22 at 0x000a
01-25 00:49:00.756 25791-25791/com.testapp E/dalvikvm: Could not find class 'org.webrtc.RendererCommon$YuvUploader', referenced from method org.webrtc.SurfaceViewRenderer.<init>
01-25 00:49:00.756 25791-25791/com.testapp W/dalvikvm: VFY: unable to resolve new-instance 9794 (Lorg/webrtc/RendererCommon$YuvUploader;) in Lorg/webrtc/SurfaceViewRenderer;
01-25 00:49:00.756 25791-25791/com.testapp D/dalvikvm: VFY: replacing opcode 0x22 at 0x000a
01-25 00:49:00.796 25791-25791/com.testapp W/dalvikvm: VFY: unable to resolve instance field 36315
01-25 00:49:00.796 25791-25791/com.testapp D/dalvikvm: VFY: replacing opcode 0x54 at 0x0098
01-25 00:49:00.796 25791-25791/com.testapp W/dalvikvm: VFY: unable to resolve instance field 36317
01-25 00:49:00.796 25791-25791/com.testapp D/dalvikvm: VFY: replacing opcode 0x52 at 0x0005
01-25 00:49:00.796 25791-25791/com.testapp I/dalvikvm: Failed resolving Lorg/webrtc/GlRectDrawer; interface 9791 'Lorg/webrtc/RendererCommon$GlDrawer;'
01-25 00:49:00.806 25791-25791/com.testapp W/dalvikvm: Link of class 'Lorg/webrtc/GlRectDrawer;' failed
01-25 00:49:00.806 25791-25791/com.testapp E/dalvikvm: Could not find class 'org.webrtc.GlRectDrawer', referenced from method org.webrtc.SurfaceViewRenderer.init
01-25 00:49:00.806 25791-25791/com.testapp W/dalvikvm: VFY: unable to resolve new-instance 9753 (Lorg/webrtc/GlRectDrawer;) in Lorg/webrtc/SurfaceViewRenderer;
01-25 00:49:00.806 25791-25791/com.testapp D/dalvikvm: VFY: replacing opcode 0x22 at 0x0002
01-25 00:49:00.806 25791-25791/com.testapp E/dalvikvm: Could not find class 'org.webrtc.SurfaceViewRenderer$4', referenced from method org.webrtc.SurfaceViewRenderer.release
01-25 00:49:00.806 25791-25791/com.testapp W/dalvikvm: VFY: unable to resolve new-instance 9809 (Lorg/webrtc/SurfaceViewRenderer$4;) in Lorg/webrtc/SurfaceViewRenderer;
01-25 00:49:00.806 25791-25791/com.testapp D/dalvikvm: VFY: replacing opcode 0x22 at 0x002e
01-25 00:49:00.826 25791-25791/com.testapp E/dalvikvm: Could not find class 'org.webrtc.SurfaceViewRenderer$5', referenced from method org.webrtc.SurfaceViewRenderer.surfaceDestroyed
01-25 00:49:00.826 25791-25791/com.testapp W/dalvikvm: VFY: unable to resolve new-instance 9810 (Lorg/webrtc/SurfaceViewRenderer$5;) in Lorg/webrtc/SurfaceViewRenderer;
01-25 00:49:00.826 25791-25791/com.testapp D/dalvikvm: VFY: replacing opcode 0x22 at 0x002d
01-25 00:49:00.826 25791-25791/com.testapp E/dalvikvm: Could not find class 'org.webrtc.SurfaceViewRenderer$3', referenced from method org.webrtc.SurfaceViewRenderer.tryCreateEglSurface
01-25 00:49:00.826 25791-25791/com.testapp W/dalvikvm: VFY: unable to resolve new-instance 9808 (Lorg/webrtc/SurfaceViewRenderer$3;) in Lorg/webrtc/SurfaceViewRenderer;
01-25 00:49:00.826 25791-25791/com.testapp D/dalvikvm: VFY: replacing opcode 0x22 at 0x0000
01-25 00:49:00.826 25791-25791/com.testapp D/dalvikvm: DexOpt: unable to opt direct call 0xfc4f at 0x0c in Lorg/webrtc/SurfaceViewRenderer;.<init>
01-25 00:49:00.826 25791-25791/com.testapp D/dalvikvm: DexOpt: unable to opt direct call 0xfc76 at 0x44 in Lorg/webrtc/SurfaceViewRenderer;.<init>
01-25 00:49:00.826 25791-25791/com.testapp D/dalvikvm: DexOpt: unable to opt direct call 0xfc77 at 0x4b in Lorg/webrtc/SurfaceViewRenderer;.<init>
01-25 00:49:00.836 25791-25791/com.testapp D/dalvikvm: DexOpt: unable to opt direct call 0xfc4f at 0x0c in Lorg/webrtc/SurfaceViewRenderer;.<init>
01-25 00:49:00.836 25791-25791/com.testapp D/dalvikvm: DexOpt: unable to opt direct call 0xfc76 at 0x44 in Lorg/webrtc/SurfaceViewRenderer;.<init>
01-25 00:49:00.836 25791-25791/com.testapp D/dalvikvm: DexOpt: unable to opt direct call 0xfc77 at 0x4b in Lorg/webrtc/SurfaceViewRenderer;.<init>
01-25 00:49:00.836 25791-25791/com.testapp I/dalvikvm: DexOpt: unable to optimize instance field ref 0x8dda at 0x9a in Lorg/webrtc/SurfaceViewRenderer;.renderFrameOnRenderThread
01-25 00:49:00.836 25791-25791/com.testapp I/dalvikvm: DexOpt: unable to optimize instance field ref 0x8dde at 0xc0 in Lorg/webrtc/SurfaceViewRenderer;.renderFrameOnRenderThread
01-25 00:49:00.836 25791-25791/com.testapp I/dalvikvm: DexOpt: unable to optimize instance field ref 0x8ddd at 0xe6 in Lorg/webrtc/SurfaceViewRenderer;.renderFrameOnRenderThread
01-25 00:49:00.836 25791-25791/com.testapp I/dalvikvm: DexOpt: unable to optimize instance field ref 0x8dd9 at 0xe8 in Lorg/webrtc/SurfaceViewRenderer;.renderFrameOnRenderThread
01-25 00:49:00.846 25791-25791/com.testapp I/dalvikvm: DexOpt: unable to optimize instance field ref 0x8de0 at 0xea in Lorg/webrtc/SurfaceViewRenderer;.renderFrameOnRenderThread
01-25 00:49:00.846 25791-25791/com.testapp I/dalvikvm: DexOpt: unable to optimize instance field ref 0x8ddf at 0xec in Lorg/webrtc/SurfaceViewRenderer;.renderFrameOnRenderThread
01-25 00:49:00.846 25791-25791/com.testapp I/dalvikvm: DexOpt: unable to optimize instance field ref 0x8ddc at 0x15e in Lorg/webrtc/SurfaceViewRenderer;.renderFrameOnRenderThread
01-25 00:49:00.846 25791-25791/com.testapp I/dalvikvm: DexOpt: unable to optimize instance field ref 0x8dd9 at 0x0b in Lorg/webrtc/SurfaceViewRenderer;.updateFrameDimensionsAndReportEvents
01-25 00:49:00.846 25791-25791/com.testapp I/dalvikvm: DexOpt: unable to optimize instance field ref 0x8dda at 0x11 in Lorg/webrtc/SurfaceViewRenderer;.updateFrameDimensionsAndReportEvents
01-25 00:49:00.846 25791-25791/com.testapp I/dalvikvm: DexOpt: unable to optimize instance field ref 0x8ddd at 0x2a in Lorg/webrtc/SurfaceViewRenderer;.updateFrameDimensionsAndReportEvents
01-25 00:49:00.846 25791-25791/com.testapp I/dalvikvm: DexOpt: unable to optimize instance field ref 0x8dd9 at 0x36 in Lorg/webrtc/SurfaceViewRenderer;.updateFrameDimensionsAndReportEvents
01-25 00:49:00.846 25791-25791/com.testapp I/dalvikvm: DexOpt: unable to optimize instance field ref 0x8dda at 0x42 in Lorg/webrtc/SurfaceViewRenderer;.updateFrameDimensionsAndReportEvents
01-25 00:49:00.846 25791-25791/com.testapp I/dalvikvm: DexOpt: unable to optimize instance field ref 0x8ddd at 0x55 in Lorg/webrtc/SurfaceViewRenderer;.updateFrameDimensionsAndReportEvents
01-25 00:49:00.846 25791-25791/com.testapp I/dalvikvm: DexOpt: unable to optimize instance field ref 0x8dd9 at 0x57 in Lorg/webrtc/SurfaceViewRenderer;.updateFrameDimensionsAndReportEvents
01-25 00:49:00.846 25791-25791/com.testapp I/dalvikvm: DexOpt: unable to optimize instance field ref 0x8dda at 0x59 in Lorg/webrtc/SurfaceViewRenderer;.updateFrameDimensionsAndReportEvents
01-25 00:49:00.856 25791-25791/com.testapp I/dalvikvm: DexOpt: unable to optimize instance field ref 0x8ddd at 0x5e in Lorg/webrtc/SurfaceViewRenderer;.updateFrameDimensionsAndReportEvents
01-25 00:49:00.856 25791-25791/com.testapp I/dalvikvm: DexOpt: unable to optimize instance field ref 0x8dd9 at 0x62 in Lorg/webrtc/SurfaceViewRenderer;.updateFrameDimensionsAndReportEvents
01-25 00:49:00.856 25791-25791/com.testapp I/dalvikvm: DexOpt: unable to optimize instance field ref 0x8dda at 0x66 in Lorg/webrtc/SurfaceViewRenderer;.updateFrameDimensionsAndReportEvents
01-25 00:49:00.856 25791-25791/com.testapp D/dalvikvm: DexOpt: unable to opt direct call 0xfc7b at 0x6c in Lorg/webrtc/SurfaceViewRenderer;.updateFrameDimensionsAndReportEvents
01-25 00:49:00.856 25791-25791/com.testapp I/dalvikvm: Failed resolving Lorg/webrtc/GlRectDrawer; interface 9791 'Lorg/webrtc/RendererCommon$GlDrawer;'
01-25 00:49:00.856 25791-25791/com.testapp W/dalvikvm: Link of class 'Lorg/webrtc/GlRectDrawer;' failed
01-25 00:49:00.856 25791-25791/com.testapp D/dalvikvm: DexOpt: unable to opt direct call 0xfb52 at 0x04 in Lorg/webrtc/SurfaceViewRenderer;.init
01-25 00:49:00.856 25791-25791/com.testapp D/dalvikvm: DexOpt: unable to opt direct call 0xfc79 at 0x30 in Lorg/webrtc/SurfaceViewRenderer;.release
01-25 00:49:00.856 25791-25791/com.testapp D/dalvikvm: DexOpt: unable to opt direct call 0xfc7a at 0x2f in Lorg/webrtc/SurfaceViewRenderer;.surfaceDestroyed
01-25 00:49:00.856 25791-25791/com.testapp D/dalvikvm: DexOpt: unable to opt direct call 0xfc78 at 0x02 in Lorg/webrtc/SurfaceViewRenderer;.tryCreateEglSurface
01-25 00:49:00.866 25791-25791/com.testapp E/ActivityThread: Failed to inflate
android.view.InflateException: Binary XML file line #13: Error inflating class org.webrtc.SurfaceViewRenderer
at android.view.LayoutInflater.createView(LayoutInflater.java:620)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:696)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:755)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:758)
at android.view.LayoutInflater.inflate(LayoutInflater.java:492)
at android.view.LayoutInflater.inflate(LayoutInflater.java:397)
at android.view.LayoutInflater.inflate(LayoutInflater.java:353)
at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:343)
at android.app.Activity.setContentView(Activity.java:1929)
at org.appspot.apprtc.CallActivity.onCreate(CallActivity.java:160)
at android.app.Activity.performCreate(Activity.java:5231)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2169)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2265)
at android.app.ActivityThread.access$800(ActivityThread.java:145)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1206)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5081)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:781)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.constructNative(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at android.view.LayoutInflater.createView(LayoutInflater.java:594)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:696) 
at android.view.LayoutInflater.rInflate(LayoutInflater.java:755) 
at android.view.LayoutInflater.rInflate(LayoutInflater.java:758) 
at android.view.LayoutInflater.inflate(LayoutInflater.java:492) 
at android.view.LayoutInflater.inflate(LayoutInflater.java:397) 
at android.view.LayoutInflater.inflate(LayoutInflater.java:353) 
at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:343) 
at android.app.Activity.setContentView(Activity.java:1929) 
at org.appspot.apprtc.CallActivity.onCreate(CallActivity.java:160) 
at android.app.Activity.performCreate(Activity.java:5231) 
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087) 
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2169) 
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2265) 
at android.app.ActivityThread.access$800(ActivityThread.java:145) 
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1206) 
at android.os.Handler.dispatchMessage(Handler.java:102) 
at android.os.Looper.loop(Looper.java:136) 
at android.app.ActivityThread.main(ActivityThread.java:5081) 
at java.lang.reflect.Method.invokeNative(Native Method) 
at java.lang.reflect.Method.invoke(Method.java:515) 
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:781) 
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597) 
at dalvik.system.NativeStart.main(Native Method) 
Caused by: java.lang.NoClassDefFoundError: org.webrtc.RendererCommon$YuvUploader
at org.webrtc.SurfaceViewRenderer.<init>(SurfaceViewRenderer.java:69)
at java.lang.reflect.Constructor.constructNative(Native Method) 
at java.lang.reflect.Constructor.newInstance(Constructor.java:423) 
at android.view.LayoutInflater.createView(LayoutInflater.java:594) 
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:696) 
at android.view.LayoutInflater.rInflate(LayoutInflater.java:755) 
at android.view.LayoutInflater.rInflate(LayoutInflater.java:758) 
at android.view.LayoutInflater.inflate(LayoutInflater.java:492) 
at android.view.LayoutInflater.inflate(LayoutInflater.java:397) 
at android.view.LayoutInflater.inflate(LayoutInflater.java:353) 
at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:343) 
at android.app.Activity.setContentView(Activity.java:1929) 
at org.appspot.apprtc.CallActivity.onCreate(CallActivity.java:160) 
at android.app.Activity.performCreate(Activity.java:5231) 
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087) 
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2169) 
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2265) 
at android.app.ActivityThread.access$800(ActivityThread.java:145) 
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1206) 
at android.os.Handler.dispatchMessage(Handler.java:102) 
at android.os.Looper.loop(Looper.java:136) 
at android.app.ActivityThread.main(ActivityThread.java:5081) 
at java.lang.reflect.Method.invokeNative(Native Method) 
at java.lang.reflect.Method.invoke(Method.java:515) 
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:781) 
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597) 
at dalvik.system.NativeStart.main(Native Method) 
01-25 00:49:00.866 25791-25791/com.testapp D/AndroidRuntime: Shutting down VM
01-25 00:49:00.866 25791-25791/com.testapp W/dalvikvm: threadid=1: thread exiting with uncaught exception (group=0x41913c80)
01-25 00:49:00.886 25791-25791/com.testapp E/AppRTCDemoActivity: Fatal error: org.webrtc.RendererCommon$YuvUploader

Related

Picasso doesn't load some urls on android 4.4

I'm trying to load with Picasso some images that I get from client's backend but on android 4.4 it doesn't work. All other urls from the internet that I tried work fine except for those that I get from backend.
private ImageView imageView;
#Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
imageView = (ImageView) findViewById(R.id.image);
Picasso.with(this)
.load("https://sdo.gsfc.nasa.gov/assets/img/latest/latest_2048_HMIIC.jpg")
.into(imageView);
}
If I replace https://sdo.gsfc.nasa.gov/assets/img/latest/latest_2048_HMIIC.jpg with any other url from web, it will work fine.
Logs that I get:
09-04 08:16:42.261 18094-18094/? D/dalvikvm: Late-enabling CheckJNI
09-04 08:16:42.361 18094-18094/com.witanowski.myapplication I/dalvikvm: Could not find method android.view.Window$Callback.onProvideKeyboardShortcuts, referenced from method android.support.v7.view.WindowCallbackWrapper.onProvideKeyboardShortcuts
09-04 08:16:42.361 18094-18094/com.witanowski.myapplication W/dalvikvm: VFY: unable to resolve interface method 17054: Landroid/view/Window$Callback;.onProvideKeyboardShortcuts (Ljava/util/List;Landroid/view/Menu;I)V
09-04 08:16:42.361 18094-18094/com.witanowski.myapplication D/dalvikvm: VFY: replacing opcode 0x72 at 0x0002
09-04 08:16:42.361 18094-18094/com.witanowski.myapplication W/dalvikvm: VFY: unable to find class referenced in signature (Landroid/view/SearchEvent;)
09-04 08:16:42.361 18094-18094/com.witanowski.myapplication I/dalvikvm: Could not find method android.view.Window$Callback.onSearchRequested, referenced from method android.support.v7.view.WindowCallbackWrapper.onSearchRequested
09-04 08:16:42.361 18094-18094/com.witanowski.myapplication W/dalvikvm: VFY: unable to resolve interface method 17056: Landroid/view/Window$Callback;.onSearchRequested (Landroid/view/SearchEvent;)Z
09-04 08:16:42.361 18094-18094/com.witanowski.myapplication D/dalvikvm: VFY: replacing opcode 0x72 at 0x0002
09-04 08:16:42.361 18094-18094/com.witanowski.myapplication I/dalvikvm: Could not find method android.view.Window$Callback.onWindowStartingActionMode, referenced from method android.support.v7.view.WindowCallbackWrapper.onWindowStartingActionMode
09-04 08:16:42.361 18094-18094/com.witanowski.myapplication W/dalvikvm: VFY: unable to resolve interface method 17060: Landroid/view/Window$Callback;.onWindowStartingActionMode (Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode;
09-04 08:16:42.361 18094-18094/com.witanowski.myapplication D/dalvikvm: VFY: replacing opcode 0x72 at 0x0002
09-04 08:16:42.361 18094-18094/com.witanowski.myapplication I/dalvikvm: Could not find method android.content.res.TypedArray.getChangingConfigurations, referenced from method android.support.v7.widget.TintTypedArray.getChangingConfigurations
09-04 08:16:42.361 18094-18094/com.witanowski.myapplication W/dalvikvm: VFY: unable to resolve virtual method 475: Landroid/content/res/TypedArray;.getChangingConfigurations ()I
09-04 08:16:42.361 18094-18094/com.witanowski.myapplication D/dalvikvm: VFY: replacing opcode 0x6e at 0x0002
09-04 08:16:42.371 18094-18094/com.witanowski.myapplication I/dalvikvm: Could not find method android.content.res.TypedArray.getType, referenced from method android.support.v7.widget.TintTypedArray.getType
09-04 08:16:42.371 18094-18094/com.witanowski.myapplication W/dalvikvm: VFY: unable to resolve virtual method 497: Landroid/content/res/TypedArray;.getType (I)I
09-04 08:16:42.371 18094-18094/com.witanowski.myapplication D/dalvikvm: VFY: replacing opcode 0x6e at 0x0008
09-04 08:16:42.441 18094-18094/com.witanowski.myapplication I/dalvikvm: Could not find method android.widget.FrameLayout.startActionModeForChild, referenced from method android.support.v7.widget.ActionBarContainer.startActionModeForChild
09-04 08:16:42.441 18094-18094/com.witanowski.myapplication W/dalvikvm: VFY: unable to resolve virtual method 17491: Landroid/widget/FrameLayout;.startActionModeForChild (Landroid/view/View;Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode;
09-04 08:16:42.441 18094-18094/com.witanowski.myapplication D/dalvikvm: VFY: replacing opcode 0x6f at 0x0002
09-04 08:16:42.451 18094-18094/com.witanowski.myapplication I/dalvikvm: Could not find method android.content.Context.getColorStateList, referenced from method android.support.v7.content.res.AppCompatResources.getColorStateList
09-04 08:16:42.451 18094-18094/com.witanowski.myapplication W/dalvikvm: VFY: unable to resolve virtual method 284: Landroid/content/Context;.getColorStateList (I)Landroid/content/res/ColorStateList;
09-04 08:16:42.451 18094-18094/com.witanowski.myapplication D/dalvikvm: VFY: replacing opcode 0x6e at 0x0006
09-04 08:16:42.461 18094-18094/com.witanowski.myapplication I/dalvikvm: Could not find method android.content.res.Resources.getDrawable, referenced from method android.support.v7.widget.ResourcesWrapper.getDrawable
09-04 08:16:42.461 18094-18094/com.witanowski.myapplication W/dalvikvm: VFY: unable to resolve virtual method 438: Landroid/content/res/Resources;.getDrawable (ILandroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable;
09-04 08:16:42.461 18094-18094/com.witanowski.myapplication D/dalvikvm: VFY: replacing opcode 0x6e at 0x0002
09-04 08:16:42.461 18094-18094/com.witanowski.myapplication I/dalvikvm: Could not find method android.content.res.Resources.getDrawableForDensity, referenced from method android.support.v7.widget.ResourcesWrapper.getDrawableForDensity
09-04 08:16:42.461 18094-18094/com.witanowski.myapplication W/dalvikvm: VFY: unable to resolve virtual method 440: Landroid/content/res/Resources;.getDrawableForDensity (IILandroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable;
09-04 08:16:42.461 18094-18094/com.witanowski.myapplication D/dalvikvm: VFY: replacing opcode 0x6e at 0x0002
09-04 08:16:42.471 18094-18094/com.witanowski.myapplication E/dalvikvm: Could not find class 'android.graphics.drawable.RippleDrawable', referenced from method android.support.v7.widget.AppCompatImageHelper.hasOverlappingRendering
09-04 08:16:42.471 18094-18094/com.witanowski.myapplication W/dalvikvm: VFY: unable to resolve instanceof 144 (Landroid/graphics/drawable/RippleDrawable;) in Landroid/support/v7/widget/AppCompatImageHelper;
09-04 08:16:42.471 18094-18094/com.witanowski.myapplication D/dalvikvm: VFY: replacing opcode 0x20 at 0x000c
09-04 08:16:42.511 18094-18094/com.witanowski.myapplication W/Settings: Setting airplane_mode_on has moved from android.provider.Settings.System to android.provider.Settings.Global, returning read-only value.
09-04 08:16:42.531 18094-18094/com.witanowski.myapplication D/Picasso: Main created [R0] Request{https://btv.leankr.com/api/v1/thumbs/640x360/RTL9/programs/RTL9__112-Unite-durgence.jpg}
09-04 08:16:42.531 18094-18134/com.witanowski.myapplication D/Picasso: Hunter executing [R0]+9ms
09-04 08:16:42.531 18094-18132/com.witanowski.myapplication D/Picasso: Dispatcher enqueued [R0]+8ms
09-04 08:16:42.601 18094-18094/com.witanowski.myapplication I/Adreno-EGL: <qeglDrvAPI_eglInitialize:410>: EGL 1.4 QUALCOMM build: RGURRAM_AU_LINUX_ANDROID_LNX.LA.3.5.2.2_RB1.04.04.04.087.030+PATCH[ES]_msm8974_LNX.LA.3.5.2.2_RB1__release_ENGG ()
OpenGL ES Shader Compiler Version: E031.24.00.15
Build Date: 08/12/14 Tue
Local Branch:
Remote Branch: quic/LNX.LA.3.5.2.2_rb1
Local Patches: 8b00bd16f3c1d9d35a2fa902df5e679888d2b2e3 Fixes an llvm crash with mini dEQP apk
38bad22e162dead4e008444520a0144c78a347bd Fixes a potential dEQP crash.
ce345e1c45c2ae2d1fb2cb125c8d2574f1af5f95 Rev
09-04 08:16:42.621 18094-18094/com.witanowski.myapplication D/OpenGLRenderer: Enabling debug mode 0
09-04 08:16:42.711 18094-18094/com.witanowski.myapplication I/Timeline: Timeline: Activity_idle id: android.os.BinderProxy#43ae7788 time:21977122
09-04 08:16:43.771 18094-18132/com.witanowski.myapplication D/Picasso: Dispatcher retrying [R0]+1246ms
09-04 08:16:43.781 18094-18164/com.witanowski.myapplication D/Picasso: Hunter executing [R0]+1253ms
09-04 08:16:44.731 18094-18132/com.witanowski.myapplication D/Picasso: Dispatcher retrying [R0]+2201ms
09-04 08:16:44.731 18094-18181/com.witanowski.myapplication D/Picasso: Hunter executing [R0]+2204ms
09-04 08:16:44.751 18094-18132/com.witanowski.myapplication D/Picasso: Dispatcher batched [R0]+2224ms for error
09-04 08:16:44.951 18094-18094/com.witanowski.myapplication D/Picasso: Main errored [R0]+2429ms
09-04 08:16:44.961 18094-18132/com.witanowski.myapplication D/Picasso: Dispatcher delivered [R0]+2430ms
I am thinking that the backend image size is too huge so picasso take's time to load on imageview. so use placeholder and error methods of picasso and wait for 20 sec I think it will be load.
Picasso.get()
.load(url)
.placeholder(R.drawable.user_placeholder)
.error(R.drawable.user_placeholder_error)
.into(imageView);

How to debug an error when I create a string in login method? [duplicate]

This question already has answers here:
Can not find a View with findViewById()
(4 answers)
What is a NullPointerException, and how do I fix it?
(12 answers)
What is a stack trace, and how can I use it to debug my application errors?
(7 answers)
Closed 5 years ago.
03-30 23:49:56.536 15105-15105/? D/dalvikvm: Late-enabling CheckJNI
03-30 23:49:56.560 15105-15111/? E/jdwp: Failed writing handshake
bytes: Broken pipe (-1 of 14) 03-30 23:49:56.560 15105-15111/?
D/dalvikvm: Debugger has detached; object registry had 0 entries 03-30
23:49:56.600 15105-15105/? I/dalvikvm: Could not find method
android.view.Window$Callback.onProvideKeyboardShortcuts, referenced
from method
android.support.v7.view.WindowCallbackWrapper.onProvideKeyboardShortcuts
03-30 23:49:56.600 15105-15105/? W/dalvikvm: VFY: unable to resolve
interface method 21845:
Landroid/view/Window$Callback;.onProvideKeyboardShortcuts
(Ljava/util/List;Landroid/view/Menu;I)V 03-30 23:49:56.600
15105-15105/? D/dalvikvm: VFY: replacing opcode 0x72 at 0x0002 03-30
23:49:56.604 15105-15105/? W/dalvikvm: VFY: unable to find class
referenced in signature (Landroid/view/SearchEvent;) 03-30
23:49:56.604 15105-15105/? I/dalvikvm: Could not find method
android.view.Window$Callback.onSearchRequested, referenced from method
android.support.v7.view.WindowCallbackWrapper.onSearchRequested 03-30
23:49:56.604 15105-15105/? W/dalvikvm: VFY: unable to resolve
interface method 21847:
Landroid/view/Window$Callback;.onSearchRequested
(Landroid/view/SearchEvent;)Z 03-30 23:49:56.604 15105-15105/?
D/dalvikvm: VFY: replacing opcode 0x72 at 0x0002 03-30 23:49:56.604
15105-15105/? I/dalvikvm: Could not find method
android.view.Window$Callback.onWindowStartingActionMode, referenced
from method
android.support.v7.view.WindowCallbackWrapper.onWindowStartingActionMode
03-30 23:49:56.604 15105-15105/? W/dalvikvm: VFY: unable to resolve
interface method 21851:
Landroid/view/Window$Callback;.onWindowStartingActionMode
(Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode; 03-30
23:49:56.604 15105-15105/? D/dalvikvm: VFY: replacing opcode 0x72 at
0x0002 03-30 23:49:56.604 15105-15105/? I/dalvikvm: Could not find
method android.content.res.TypedArray.getChangingConfigurations,
referenced from method
android.support.v7.widget.TintTypedArray.getChangingConfigurations
03-30 23:49:56.604 15105-15105/? W/dalvikvm: VFY: unable to resolve
virtual method 502:
Landroid/content/res/TypedArray;.getChangingConfigurations ()I 03-30
23:49:56.604 15105-15105/? D/dalvikvm: VFY: replacing opcode 0x6e at
0x0002 03-30 23:49:56.604 15105-15105/? I/dalvikvm: Could not find
method android.content.res.TypedArray.getType, referenced from method
android.support.v7.widget.TintTypedArray.getType 03-30 23:49:56.604
15105-15105/? W/dalvikvm: VFY: unable to resolve virtual method 524:
Landroid/content/res/TypedArray;.getType (I)I 03-30 23:49:56.604
15105-15105/? D/dalvikvm: VFY: replacing opcode 0x6e at 0x0008 03-30
23:49:56.636 15105-15105/? I/dalvikvm: Could not find method
android.widget.FrameLayout.startActionModeForChild, referenced from
method
android.support.v7.widget.ActionBarContainer.startActionModeForChild
03-30 23:49:56.636 15105-15105/? W/dalvikvm: VFY: unable to resolve
virtual method 22329:
Landroid/widget/FrameLayout;.startActionModeForChild
(Landroid/view/View;Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode;
03-30 23:49:56.640 15105-15105/? D/dalvikvm: VFY: replacing opcode
0x6f at 0x0002 03-30 23:49:56.640 15105-15105/? I/dalvikvm: Could not
find method android.content.Context.getColorStateList, referenced from
method
android.support.v7.content.res.AppCompatResources.getColorStateList
03-30 23:49:56.640 15105-15105/? W/dalvikvm: VFY: unable to resolve
virtual method 315: Landroid/content/Context;.getColorStateList
(I)Landroid/content/res/ColorStateList; 03-30 23:49:56.640
15105-15105/? D/dalvikvm: VFY: replacing opcode 0x6e at 0x0006 03-30
23:49:56.652 15105-15105/? I/dalvikvm: Could not find method
android.content.res.Resources.getDrawable, referenced from method
android.support.v7.widget.ResourcesWrapper.getDrawable 03-30
23:49:56.652 15105-15105/? W/dalvikvm: VFY: unable to resolve virtual
method 465: Landroid/content/res/Resources;.getDrawable
(ILandroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable;
03-30 23:49:56.652 15105-15105/? D/dalvikvm: VFY: replacing opcode
0x6e at 0x0002 03-30 23:49:56.652 15105-15105/? I/dalvikvm: Could not
find method android.content.res.Resources.getDrawableForDensity,
referenced from method
android.support.v7.widget.ResourcesWrapper.getDrawableForDensity 03-30
23:49:56.652 15105-15105/? W/dalvikvm: VFY: unable to resolve virtual
method 467: Landroid/content/res/Resources;.getDrawableForDensity
(IILandroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable;
03-30 23:49:56.652 15105-15105/? D/dalvikvm: VFY: replacing opcode
0x6e at 0x0002 03-30 23:49:56.660 15105-15105/? E/dalvikvm: Could not
find class 'android.graphics.drawable.RippleDrawable', referenced from
method
android.support.v7.widget.AppCompatImageHelper.hasOverlappingRendering
03-30 23:49:56.660 15105-15105/? W/dalvikvm: VFY: unable to resolve
instanceof 150 (Landroid/graphics/drawable/RippleDrawable;) in
Landroid/support/v7/widget/AppCompatImageHelper; 03-30 23:49:56.660
15105-15105/? D/dalvikvm: VFY: replacing opcode 0x20 at 0x000c 03-30
23:49:56.680 15105-15108/? D/dalvikvm: GC_CONCURRENT freed 234K, 22%
free 2639K/3364K, paused 1ms+2ms, total 9ms 03-30 23:49:56.692
15105-15105/? D/dalvikvm: GC_FOR_ALLOC freed 31K, 21% free
2676K/3364K, paused 3ms, total 3ms 03-30 23:49:56.692 15105-15105/?
I/dalvikvm-heap: Grow heap (frag case) to 3.506MB for 435468-byte
allocation 03-30 23:49:56.692 15105-15114/? D/dalvikvm: GC_FOR_ALLOC
freed 1K, 19% free 3100K/3792K, paused 3ms, total 3ms 03-30
23:49:56.700 15105-15108/? D/dalvikvm: GC_CONCURRENT freed 3K, 19%
free 3097K/3792K, paused 0ms+0ms, total 6ms 03-30 23:49:56.700
15105-15105/? D/dalvikvm: WAIT_FOR_CONCURRENT_GC blocked 5ms 03-30
23:49:56.700 15105-15105/? I/dalvikvm-heap: Grow heap (frag case) to
3.821MB for 333408-byte allocation 03-30 23:49:56.704 15105-15114/? D/dalvikvm: GC_FOR_ALLOC freed <1K, 17% free 3422K/4120K, paused 4ms,
total 4ms 03-30 23:49:56.748 15105-15105/? D/libEGL: loaded
/system/lib/egl/libEGL_genymotion.so
[ 03-30 23:49:56.748 15105:15105 D/ ]
HostConnection::get() New Host Connection established 0xb85b25b0, tid 15105
[ 03-30 23:49:56.752 62: 62 D/ ]
Socket deconnection 03-30 23:49:56.756 15105-15105/? D/libEGL: loaded
/system/lib/egl/libGLESv1_CM_genymotion.so 03-30 23:49:56.756
15105-15105/? D/libEGL: loaded /system/lib/egl/libGLESv2_genymotion.so
03-30 23:49:56.804 15105-15105/? W/EGL_genymotion: eglSurfaceAttrib
not implemented 03-30 23:49:56.804 15105-15105/? E/OpenGLRenderer:
Getting MAX_TEXTURE_SIZE from GradienCache 03-30 23:49:56.812
15105-15105/? E/OpenGLRenderer: Getting MAX_TEXTURE_SIZE from
Caches::initConstraints() 03-30 23:49:56.812 15105-15105/?
D/OpenGLRenderer: Enabling debug mode 0 03-30 23:50:19.456
15105-15105/com.example.samsungvy277.myapp E/InputEventSender:
Exception dispatching finished signal. 03-30 23:50:19.456
15105-15105/com.example.samsungvy277.myapp E/MessageQueue-JNI:
Exception in MessageQueue callback: handleReceiveCallback 03-30
23:50:19.468 15105-15105/com.example.samsungvy277.myapp D/dalvikvm:
GC_FOR_ALLOC freed 806K, 30% free 3127K/4428K, paused 5ms, total 5ms
03-30 23:50:19.468 15105-15105/com.example.samsungvy277.myapp
E/MessageQueue-JNI: java.lang.IllegalStateException: Could not execute
method for android:onClick
at
android.support.v7.app.AppCompatViewInflater$DeclaredOnClickListener.onClick(AppCompatViewInflater.java:293)
at android.view.View.performClick(View.java:4240)
at android.view.View.onKeyUp(View.java:7928)
at android.widget.TextView.onKeyUp(TextView.java:5606)
at android.view.KeyEvent.dispatch(KeyEvent.java:2647)
at android.view.View.dispatchKeyEvent(View.java:7343)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1393)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1393)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1393)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1393)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1393)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1393)
at
com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchKeyEvent(PhoneWindow.java:1933)
at
com.android.internal.policy.impl.PhoneWindow.superDispatchKeyEvent(PhoneWindow.java:1408)
at android.app.Activity.dispatchKeyEvent(Activity.java:2384)
at
android.support.v7.app.AppCompatActivity.dispatchKeyEvent(AppCompatActivity.java:541)
at
android.support.v7.view.WindowCallbackWrapper.dispatchKeyEvent(WindowCallbackWrapper.java:59)
at
android.support.v7.app.AppCompatDelegateImplBase$AppCompatWindowCallbackBase.dispatchKeyEvent(AppCompatDelegateImplBase.java:319)
at
com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchKeyEvent(PhoneWindow.java:1860)
at
android.view.ViewRootImpl$ViewPostImeInputStage.processKeyEvent(ViewRootImpl.java:3791)
at
android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:3774)
at
android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3379)
at
android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3429)
at
android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3398)
at
android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3483)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3406)
at
android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:3540)
at
android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3379)
at
android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3429)
at
android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3398)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3406)
at
android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3379)
at
android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3429)
at
android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3398)
at
android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3516)
at
android.view.ViewRootImpl$ImeInputStage.onFinishedInputEvent(ViewRootImpl.java:3666)
at
android.view.inputmethod.InputMethodManager$PendingEvent.run(InputMethodManager.java:1982)
at
android.view.inputmethod.InputMethodManager.invokeFinishedInputEventCallback(InputMethodManager.java:1698)
at
android.view.inputmethod.InputMethodManager.finishedInputEvent(InputMethodManager.java:1689)
at
android.view.inputmethod.InputMethodManager$ImeInputEventSender.onInputEventFinished(InputMethodManager.java:1959)
at
android.view.InputEventSender.dispatchInputEventFinished(InputEventSender.java:141)
at android.os.MessageQueue.nativePollOnce(Native Method)
at android.os.MessageQueue.next(MessageQueue.java:132)
at android.os.Looper.loop(Looper.java:124)
at android.app.ActivityThread.main(ActivityThread.java:5103)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at an 03-30 23:50:19.468 15105-15105/com.example.samsungvy277.myapp
D/AndroidRuntime: Shutting down VM 03-30 23:50:19.472
15105-15105/com.example.samsungvy277.myapp W/dalvikvm: threadid=1:
thread exiting with uncaught exception (group=0xa4c2e648) 03-30
23:50:19.480 15105-15105/com.example.samsungvy277.myapp
E/AndroidRuntime: FATAL EXCEPTION: main
java.lang.IllegalStateException: Could not execute method for
android:onClick
at
android.support.v7.app.AppCompatViewInflater$DeclaredOnClickListener.onClick(AppCompatViewInflater.java:293)
at android.view.View.performClick(View.java:4240)
at android.view.View.onKeyUp(View.java:7928)
at android.widget.TextView.onKeyUp(TextView.java:5606)
at android.view.KeyEvent.dispatch(KeyEvent.java:2647)
at android.view.View.dispatchKeyEvent(View.java:7343)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1393)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1393)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1393)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1393)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1393)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1393)
at
com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchKeyEvent(PhoneWindow.java:1933)
at
com.android.internal.policy.impl.PhoneWindow.superDispatchKeyEvent(PhoneWindow.java:1408)
at android.app.Activity.dispatchKeyEvent(Activity.java:2384)
at
android.support.v7.app.AppCompatActivity.dispatchKeyEvent(AppCompatActivity.java:541)
at
android.support.v7.view.WindowCallbackWrapper.dispatchKeyEvent(WindowCallbackWrapper.java:59)
at
android.support.v7.app.AppCompatDelegateImplBase$AppCompatWindowCallbackBase.dispatchKeyEvent(AppCompatDelegateImplBase.java:319)
at
com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchKeyEvent(PhoneWindow.java:1860)
at
android.view.ViewRootImpl$ViewPostImeInputStage.processKeyEvent(ViewRootImpl.java:3791)
at
android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:3774)
at
android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3379)
at
android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3429)
at
android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3398)
at
android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3483)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3406)
at
android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:3540)
at
android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3379)
at
android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3429)
at
android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3398)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3406)
at
android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3379)
at
android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3429)
at
android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3398)
at
android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3516)
at
android.view.ViewRootImpl$ImeInputStage.onFinishedInputEvent(ViewRootImpl.java:3666)
at
android.view.inputmethod.InputMethodManager$PendingEvent.run(InputMethodManager.java:1982)
at
android.view.inputmethod.InputMethodManager.invokeFinishedInputEventCallback(InputMethodManager.java:1698)
at
android.view.inputmethod.InputMethodManager.finishedInputEvent(InputMethodManager.java:1689)
at
android.view.inputmethod.InputMethodManager$ImeInputEventSender.onInputEventFinished(InputMethodManager.java:1959)
at
android.view.InputEventSender.dispatchInputEventFinished(InputEventSender.java:141)
at android.os.MessageQueue.nativePollOnce(Native Method)
at android.os.MessageQueue.next(MessageQueue.java:132)
at android.os.Looper.loop(Looper.java:124)
at android.app.ActivityThread.main(ActivityThread.java:5103)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Met 03-30 23:50:22.504
15105-15105/? I/Process: Sending signal. PID: 15105 SIG: 9
Use findViewById after setting your setContentView(R.layout.activity_main)

Snackbar Not working on API 17

I am trying to use Snackbar from the support library but when I lunch the app on an emulator with an API below 21 , the app crush.
I think the support library will make the snackbar work on an older version , is that correct ?
Gradle :
apply plugin: 'com.android.application'
android {
compileSdkVersion 25
buildToolsVersion "25.0.2"
defaultConfig {
applicationId "com.example.user.test"
minSdkVersion 15
targetSdkVersion 25
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:appcompat-v7:25.2.0'
testCompile 'junit:junit:4.12'
compile 'com.android.support:design:25.2.0'
compile 'com.automationrockstars:design:1.0.3'
}
MainActivity.java
package com.example.user.test;
import android.support.design.widget.Snackbar;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.widget.LinearLayout;
public class MainActivity extends AppCompatActivity {
#Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
}
#Override
protected void onStart() {
super.onStart();
LinearLayout l = (LinearLayout) findViewById(R.id.linear1);
Snackbar snackbar = Snackbar.make(l,"Hello",Snackbar.LENGTH_LONG);
snackbar.show();
}
}
Edit (the logcat)
03-04 18:54:49.827 1468-1468/? D/dalvikvm: Late-enabling CheckJNI
03-04 18:54:49.911 1468-1474/? E/jdwp: Failed sending reply to debugger: Broken pipe
03-04 18:54:49.911 1468-1474/? D/dalvikvm: Debugger has detached; object registry had 1 entries
03-04 18:54:49.939 1468-1468/? I/dalvikvm: Could not find method android.view.Window$Callback.onProvideKeyboardShortcuts, referenced from method android.support.v7.view.WindowCallbackWrapper.onProvideKeyboardShortcuts
03-04 18:54:49.951 1468-1468/? W/dalvikvm: VFY: unable to resolve interface method 20911: Landroid/view/Window$Callback;.onProvideKeyboardShortcuts (Ljava/util/List;Landroid/view/Menu;I)V
03-04 18:54:49.951 1468-1468/? D/dalvikvm: VFY: replacing opcode 0x72 at 0x0002
03-04 18:54:49.955 1468-1468/? W/dalvikvm: VFY: unable to find class referenced in signature (Landroid/view/SearchEvent;)
03-04 18:54:49.959 1468-1468/? I/dalvikvm: Could not find method android.view.Window$Callback.onSearchRequested, referenced from method android.support.v7.view.WindowCallbackWrapper.onSearchRequested
03-04 18:54:49.963 1468-1468/? W/dalvikvm: VFY: unable to resolve interface method 20913: Landroid/view/Window$Callback;.onSearchRequested (Landroid/view/SearchEvent;)Z
03-04 18:54:49.963 1468-1468/? D/dalvikvm: VFY: replacing opcode 0x72 at 0x0002
03-04 18:54:49.963 1468-1468/? I/dalvikvm: Could not find method android.view.Window$Callback.onWindowStartingActionMode, referenced from method android.support.v7.view.WindowCallbackWrapper.onWindowStartingActionMode
03-04 18:54:49.963 1468-1468/? W/dalvikvm: VFY: unable to resolve interface method 20917: Landroid/view/Window$Callback;.onWindowStartingActionMode (Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode;
03-04 18:54:49.963 1468-1468/? D/dalvikvm: VFY: replacing opcode 0x72 at 0x0002
03-04 18:54:49.963 1468-1468/? I/dalvikvm: Could not find method android.content.res.TypedArray.getChangingConfigurations, referenced from method android.support.v7.widget.TintTypedArray.getChangingConfigurations
03-04 18:54:49.963 1468-1468/? W/dalvikvm: VFY: unable to resolve virtual method 487: Landroid/content/res/TypedArray;.getChangingConfigurations ()I
03-04 18:54:49.963 1468-1468/? D/dalvikvm: VFY: replacing opcode 0x6e at 0x0002
03-04 18:54:49.963 1468-1468/? I/dalvikvm: Could not find method android.content.res.TypedArray.getType, referenced from method android.support.v7.widget.TintTypedArray.getType
03-04 18:54:49.967 1468-1468/? W/dalvikvm: VFY: unable to resolve virtual method 509: Landroid/content/res/TypedArray;.getType (I)I
03-04 18:54:49.967 1468-1468/? D/dalvikvm: VFY: replacing opcode 0x6e at 0x0008
03-04 18:54:50.059 1468-1468/? I/dalvikvm: Could not find method android.widget.FrameLayout.startActionModeForChild, referenced from method android.support.v7.widget.ActionBarContainer.startActionModeForChild
03-04 18:54:50.059 1468-1468/? W/dalvikvm: VFY: unable to resolve virtual method 21394: Landroid/widget/FrameLayout;.startActionModeForChild (Landroid/view/View;Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode;
03-04 18:54:50.063 1468-1468/? D/dalvikvm: VFY: replacing opcode 0x6f at 0x0002
03-04 18:54:50.071 1468-1468/? I/dalvikvm: Could not find method android.content.Context.getColorStateList, referenced from method android.support.v7.content.res.AppCompatResources.getColorStateList
03-04 18:54:50.087 1468-1468/? W/dalvikvm: VFY: unable to resolve virtual method 301: Landroid/content/Context;.getColorStateList (I)Landroid/content/res/ColorStateList;
03-04 18:54:50.087 1468-1468/? D/dalvikvm: VFY: replacing opcode 0x6e at 0x0006
03-04 18:54:50.095 1468-1468/? I/dalvikvm: Could not find method android.content.res.Resources.getDrawable, referenced from method android.support.v7.widget.ResourcesWrapper.getDrawable
03-04 18:54:50.095 1468-1468/? W/dalvikvm: VFY: unable to resolve virtual method 450: Landroid/content/res/Resources;.getDrawable (ILandroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable;
03-04 18:54:50.095 1468-1468/? D/dalvikvm: VFY: replacing opcode 0x6e at 0x0002
03-04 18:54:50.095 1468-1468/? I/dalvikvm: Could not find method android.content.res.Resources.getDrawableForDensity, referenced from method android.support.v7.widget.ResourcesWrapper.getDrawableForDensity
03-04 18:54:50.095 1468-1468/? W/dalvikvm: VFY: unable to resolve virtual method 452: Landroid/content/res/Resources;.getDrawableForDensity (IILandroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable;
03-04 18:54:50.095 1468-1468/? D/dalvikvm: VFY: replacing opcode 0x6e at 0x0002
03-04 18:54:50.107 1468-1468/? E/dalvikvm: Could not find class 'android.graphics.drawable.RippleDrawable', referenced from method android.support.v7.widget.AppCompatImageHelper.hasOverlappingRendering
03-04 18:54:50.107 1468-1468/? W/dalvikvm: VFY: unable to resolve instanceof 146 (Landroid/graphics/drawable/RippleDrawable;) in Landroid/support/v7/widget/AppCompatImageHelper;
03-04 18:54:50.107 1468-1468/? D/dalvikvm: VFY: replacing opcode 0x20 at 0x000c
03-04 18:54:50.187 1468-1471/? D/dalvikvm: GC_CONCURRENT freed 188K, 10% free 2682K/2980K, paused 2ms+1ms, total 62ms
03-04 18:54:50.187 1468-1468/? D/dalvikvm: WAIT_FOR_CONCURRENT_GC blocked 57ms
03-04 18:54:50.187 1468-1468/? D/AndroidRuntime: Shutting down VM
03-04 18:54:50.187 1468-1468/? W/dalvikvm: threadid=1: thread exiting with uncaught exception (group=0xa61fe908)
03-04 18:54:50.191 1468-1468/? E/AndroidRuntime: FATAL EXCEPTION: main
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.user.test/com.example.user.test.MainActivity}: java.lang.NullPointerException
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2180)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)
at android.app.ActivityThread.access$600(ActivityThread.java:141)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5041)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NullPointerException
at android.support.design.widget.Snackbar.make(Snackbar.java:136)
at com.example.user.test.MainActivity.onStart(MainActivity.java:21)
at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1164)
at android.app.Activity.performStart(Activity.java:5114)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2153)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230) 
at android.app.ActivityThread.access$600(ActivityThread.java:141) 
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234) 
at android.os.Handler.dispatchMessage(Handler.java:99) 
at android.os.Looper.loop(Looper.java:137) 
at android.app.ActivityThread.main(ActivityThread.java:5041) 
at java.lang.reflect.Method.invokeNative(Native Method) 
at java.lang.reflect.Method.invoke(Method.java:511) 
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793) 
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560) 
at dalvik.system.NativeStart.main(Native Method) 
try this code:
LinearLayout l;
#Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
l = (LinearLayout) findViewById(R.id.linear1);
}
#Override
protected void onStart() {
super.onStart();
Snackbar snackbar = Snackbar.make(l,"Hello",Snackbar.LENGTH_LONG);
snackbar.show();
}
if that does not work create snackbar using: android.R.id.content
Snackbar.make(findViewById(android.R.id.content), "Hello", Snackbar.LENGTH_LONG).show();

Fire base native ads not displaying

Am trying to use admob native ads express
https://firebase.google.com/docs/admob/android/native-express
Downloaded the sample app from github.
(https://github.com/googleads/googleads-mobile-android-examples/tree/master/admob/NativeExpressExample)
But the app not showing native ads. I spent a lot of time to find the issue but i failed.
Anyone facing the same issue? or have any ways to display it.
Here is the logcat
06-15 21:07:29.539 9609-9609/com.google.example.gms.ads.nativeexpressexample D/dalvikvm﹕ Late-enabling CheckJNI
06-15 21:07:29.689 9609-9609/com.google.example.gms.ads.nativeexpressexample D/ActivityThread﹕ setTargetHeapUtilization:0.25
06-15 21:07:29.689 9609-9609/com.google.example.gms.ads.nativeexpressexample D/ActivityThread﹕ setTargetHeapIdealFree:8388608
06-15 21:07:29.689 9609-9609/com.google.example.gms.ads.nativeexpressexample D/ActivityThread﹕ setTargetHeapConcurrentStart:2097152
06-15 21:07:29.869 9609-9609/com.google.example.gms.ads.nativeexpressexample I/ActivityThread﹕ Pub com.google.example.gms.ads.nativeexpressexample.firebaseinitprovider: com.google.firebase.provider.FirebaseInitProvider
06-15 21:07:29.959 9609-9609/com.google.example.gms.ads.nativeexpressexample D/FirebaseApp﹕ com.google.firebase.auth.FirebaseAuth is not linked. Skipping initialization.
06-15 21:07:29.969 9609-9609/com.google.example.gms.ads.nativeexpressexample I/dalvikvm﹕ Could not find method android.content.Context.getNoBackupFilesDir, referenced from method com.google.android.gms.common.util.zzx.getNoBackupFilesDir
06-15 21:07:29.969 9609-9609/com.google.example.gms.ads.nativeexpressexample W/dalvikvm﹕ VFY: unable to resolve virtual method 358: Landroid/content/Context;.getNoBackupFilesDir ()Ljava/io/File;
06-15 21:07:29.969 9609-9609/com.google.example.gms.ads.nativeexpressexample D/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x0006
06-15 21:07:30.029 9609-9609/com.google.example.gms.ads.nativeexpressexample D/FirebaseApp﹕ Initialized class com.google.firebase.iid.FirebaseInstanceId.
06-15 21:07:30.029 9609-9609/com.google.example.gms.ads.nativeexpressexample D/FirebaseApp﹕ com.google.firebase.crash.FirebaseCrash is not linked. Skipping initialization.
06-15 21:07:30.079 9609-9609/com.google.example.gms.ads.nativeexpressexample E/dalvikvm﹕ Could not find class 'android.os.UserManager', referenced from method com.google.android.gms.common.zze.zzan
06-15 21:07:30.079 9609-9609/com.google.example.gms.ads.nativeexpressexample W/dalvikvm﹕ VFY: unable to resolve check-cast 267 (Landroid/os/UserManager;) in Lcom/google/android/gms/common/zze;
06-15 21:07:30.079 9609-9609/com.google.example.gms.ads.nativeexpressexample D/dalvikvm﹕ VFY: replacing opcode 0x1f at 0x000c
06-15 21:07:30.089 9609-9609/com.google.example.gms.ads.nativeexpressexample I/dalvikvm﹕ Could not find method android.content.pm.PackageManager.getPackageInstaller, referenced from method com.google.android.gms.common.zze.zzk
06-15 21:07:30.089 9609-9609/com.google.example.gms.ads.nativeexpressexample W/dalvikvm﹕ VFY: unable to resolve virtual method 497: Landroid/content/pm/PackageManager;.getPackageInstaller ()Landroid/content/pm/PackageInstaller;
06-15 21:07:30.089 9609-9609/com.google.example.gms.ads.nativeexpressexample D/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x000b
06-15 21:07:30.149 9609-9609/com.google.example.gms.ads.nativeexpressexample I/FA﹕ App measurement is starting up, version: 9080
06-15 21:07:30.149 9609-9609/com.google.example.gms.ads.nativeexpressexample I/FA﹕ To enable debug logging run: adb shell setprop log.tag.FA VERBOSE
06-15 21:07:30.179 9609-9609/com.google.example.gms.ads.nativeexpressexample E/dalvikvm﹕ Could not find class 'android.app.AppOpsManager', referenced from method com.google.android.gms.internal.zzpv.zzg
06-15 21:07:30.179 9609-9609/com.google.example.gms.ads.nativeexpressexample W/dalvikvm﹕ VFY: unable to resolve check-cast 25 (Landroid/app/AppOpsManager;) in Lcom/google/android/gms/internal/zzpv;
06-15 21:07:30.179 9609-9609/com.google.example.gms.ads.nativeexpressexample D/dalvikvm﹕ VFY: replacing opcode 0x1f at 0x0010
06-15 21:07:30.879 9609-9609/com.google.example.gms.ads.nativeexpressexample D/FirebaseApp﹕ Initialized class com.google.android.gms.measurement.AppMeasurement.
06-15 21:07:30.879 9609-9609/com.google.example.gms.ads.nativeexpressexample I/FirebaseInitProvider﹕ FirebaseApp initialization successful
06-15 21:07:30.959 9609-9644/com.google.example.gms.ads.nativeexpressexample V/GoogleSignatureVerifier﹕ com.google.android.gms signature not valid. Found:
MIIEQzCCAyugAwIBAgIJAMLgh0ZkSjCNMA0GCSqGSIb3DQEBBAUAMHQxCzAJBgNVBAYTAlVTMRMw
EQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtHb29n
bGUgSW5jLjEQMA4GA1UECxMHQW5kcm9pZDEQMA4GA1UEAxMHQW5kcm9pZDAeFw0wODA4MjEyMzEz
MzRaFw0zNjAxMDcyMzEzMzRaMHQxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYw
FAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtHb29nbGUgSW5jLjEQMA4GA1UECxMHQW5k
cm9pZDEQMA4GA1UEAxMHQW5kcm9pZDCCASAwDQYJKoZIhvcNAQEBBQADggENADCCAQgCggEBAKtW
LgDYO6IIrgqWbxJOKdoR8qtW0I9Y4sypEwPpt1TTcvZApxsdyxMJZ2JORland2qSGT2y5b+3JKke
dxiLDmpHpDsz2WCbdxgxRczfey5YZnTJ4VZbH0xqWVW/8lGmPav5xVwnIiJS6HXk+BVKZF+JcWjA
sb/GEuq/eFdpuzSqeYTcfi6idkyugwfYwXFU1+5fZKUaRKYCwkkFQVfcAs1fXA5V+++FGfvjJ/Cx
URaSxaBvGdGDhfXE28LWuT9ozCl5xw4Yq5OGazvV24mZVSoOO0yZ31j7kYvtwYK6NeADwbSxDdJE
qO4k//0zOHKrUiGYXtqw/A0LFFtqoZKFjnkCAQOjgdkwgdYwHQYDVR0OBBYEFMd9jMIhF1Ylmn/T
gt9r45jk14alMIGmBgNVHSMEgZ4wgZuAFMd9jMIhF1Ylmn/Tgt9r45jk14aloXikdjB0MQswCQYD
VQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzEUMBIG
A1UEChMLR29vZ2xlIEluYy4xEDAOBgNVBAsTB0FuZHJvaWQxEDAOBgNVBAMTB0FuZHJvaWSCCQDC
4IdGZEowjTAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBAUAA4IBAQBt0lLO74UwLDYKqs6Tm8/y
zKkEu116FmH4rkaymUIE0P9KaMftGlMexFlaYjzmB2OxZyl6euNXEsQH8gjwyxCUKRJNexBiGcCE
yj6z+a1fuHHvkiaai+KL8W1EyNmgjmyy8AW7P+LLlkR+ho5zEHatRbM/YAnqGcFh5iZBqpknHf1S
KMXFh4dd239FJ1jWYfbMDMy3NS5CTMQ2XFI1MvcyUTdZPErjQfTbQe3aDQsQcafEQPD+nqActifK
Z0Np0IS9L9kR/wbNvyz6ENwPiTrjV2KRkEjH78ZMcUQXg0L3BYHJ3lc69Vs5Ddf9uUGGMYldX3Wf
MBEmh/9iFBDAaTCK
06-15 21:07:30.989 9609-9609/com.google.example.gms.ads.nativeexpressexample W/dalvikvm﹕ VFY: unable to find class referenced in signature (Landroid/view/SearchEvent;)
06-15 21:07:30.989 9609-9609/com.google.example.gms.ads.nativeexpressexample I/dalvikvm﹕ Could not find method android.view.Window$Callback.onSearchRequested, referenced from method android.support.v7.internal.view.WindowCallbackWrapper.onSearchRequested
06-15 21:07:30.989 9609-9609/com.google.example.gms.ads.nativeexpressexample W/dalvikvm﹕ VFY: unable to resolve interface method 14515: Landroid/view/Window$Callback;.onSearchRequested (Landroid/view/SearchEvent;)Z
06-15 21:07:30.989 9609-9609/com.google.example.gms.ads.nativeexpressexample D/dalvikvm﹕ VFY: replacing opcode 0x72 at 0x0002
06-15 21:07:30.999 9609-9609/com.google.example.gms.ads.nativeexpressexample I/dalvikvm﹕ Could not find method android.view.Window$Callback.onWindowStartingActionMode, referenced from method android.support.v7.internal.view.WindowCallbackWrapper.onWindowStartingActionMode
06-15 21:07:30.999 9609-9609/com.google.example.gms.ads.nativeexpressexample W/dalvikvm﹕ VFY: unable to resolve interface method 14519: Landroid/view/Window$Callback;.onWindowStartingActionMode (Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode;
06-15 21:07:30.999 9609-9609/com.google.example.gms.ads.nativeexpressexample D/dalvikvm﹕ VFY: replacing opcode 0x72 at 0x0002
06-15 21:07:31.149 9609-9609/com.google.example.gms.ads.nativeexpressexample I/dalvikvm﹕ Could not find method android.view.ViewGroup.onRtlPropertiesChanged, referenced from method android.support.v7.widget.Toolbar.onRtlPropertiesChanged
06-15 21:07:31.149 9609-9609/com.google.example.gms.ads.nativeexpressexample W/dalvikvm﹕ VFY: unable to resolve virtual method 14410: Landroid/view/ViewGroup;.onRtlPropertiesChanged (I)V
06-15 21:07:31.149 9609-9609/com.google.example.gms.ads.nativeexpressexample D/dalvikvm﹕ VFY: replacing opcode 0x6f at 0x0007
06-15 21:07:31.149 9609-9609/com.google.example.gms.ads.nativeexpressexample I/dalvikvm﹕ Could not find method android.content.res.TypedArray.getChangingConfigurations, referenced from method android.support.v7.internal.widget.TintTypedArray.getChangingConfigurations
06-15 21:07:31.149 9609-9609/com.google.example.gms.ads.nativeexpressexample W/dalvikvm﹕ VFY: unable to resolve virtual method 573: Landroid/content/res/TypedArray;.getChangingConfigurations ()I
06-15 21:07:31.149 9609-9609/com.google.example.gms.ads.nativeexpressexample D/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x0002
06-15 21:07:31.149 9609-9609/com.google.example.gms.ads.nativeexpressexample I/dalvikvm﹕ Could not find method android.content.res.TypedArray.getType, referenced from method android.support.v7.internal.widget.TintTypedArray.getType
06-15 21:07:31.149 9609-9609/com.google.example.gms.ads.nativeexpressexample W/dalvikvm﹕ VFY: unable to resolve virtual method 595: Landroid/content/res/TypedArray;.getType (I)I
06-15 21:07:31.149 9609-9609/com.google.example.gms.ads.nativeexpressexample D/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x0002
06-15 21:07:31.899 9609-9609/com.google.example.gms.ads.nativeexpressexample I/dalvikvm﹕ Could not find method android.security.NetworkSecurityPolicy.getInstance, referenced from method dah.a
06-15 21:07:31.899 9609-9609/com.google.example.gms.ads.nativeexpressexample W/dalvikvm﹕ VFY: unable to resolve static method 1659: Landroid/security/NetworkSecurityPolicy;.getInstance ()Landroid/security/NetworkSecurityPolicy;
06-15 21:07:31.899 9609-9609/com.google.example.gms.ads.nativeexpressexample D/dalvikvm﹕ VFY: replacing opcode 0x71 at 0x0072
06-15 21:07:31.949 9609-9609/com.google.example.gms.ads.nativeexpressexample I/dalvikvm﹕ Could not find method android.content.pm.PackageManager.getPackageInstaller, referenced from method iek.a
06-15 21:07:31.949 9609-9609/com.google.example.gms.ads.nativeexpressexample W/dalvikvm﹕ VFY: unable to resolve virtual method 1063: Landroid/content/pm/PackageManager;.getPackageInstaller ()Landroid/content/pm/PackageInstaller;
06-15 21:07:31.949 9609-9609/com.google.example.gms.ads.nativeexpressexample D/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x000d
06-15 21:07:31.959 9609-9609/com.google.example.gms.ads.nativeexpressexample E/dalvikvm﹕ Could not find class 'android.os.UserManager', referenced from method iek.s
06-15 21:07:31.959 9609-9609/com.google.example.gms.ads.nativeexpressexample W/dalvikvm﹕ VFY: unable to resolve check-cast 383 (Landroid/os/UserManager;) in Liek;
06-15 21:07:31.959 9609-9609/com.google.example.gms.ads.nativeexpressexample D/dalvikvm﹕ VFY: replacing opcode 0x1f at 0x000e
06-15 21:07:32.129 9609-9609/com.google.example.gms.ads.nativeexpressexample I/dalvikvm﹕ Could not find method android.app.Notification$Builder.setLocalOnly, referenced from method iei.a
06-15 21:07:32.129 9609-9609/com.google.example.gms.ads.nativeexpressexample W/dalvikvm﹕ VFY: unable to resolve virtual method 792: Landroid/app/Notification$Builder;.setLocalOnly (Z)Landroid/app/Notification$Builder;
06-15 21:07:32.129 9609-9609/com.google.example.gms.ads.nativeexpressexample D/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x00f4
06-15 21:07:32.129 9609-9609/com.google.example.gms.ads.nativeexpressexample I/dalvikvm﹕ DexOpt: access denied from Liei; to field Landroid/app/Notification;.extras
06-15 21:07:32.129 9609-9609/com.google.example.gms.ads.nativeexpressexample W/dalvikvm﹕ VFY: unable to resolve instance field 521
06-15 21:07:32.129 9609-9609/com.google.example.gms.ads.nativeexpressexample D/dalvikvm﹕ VFY: replacing opcode 0x54 at 0x0113
06-15 21:07:32.149 9609-9609/com.google.example.gms.ads.nativeexpressexample D/ChimeraCfgMgr﹕ Reading stored module config
06-15 21:07:32.289 9609-9609/com.google.example.gms.ads.nativeexpressexample D/dalvikvm﹕ DexOpt: couldn't find static field Landroid/os/Build;.SUPPORTED_64_BIT_ABIS
06-15 21:07:32.289 9609-9609/com.google.example.gms.ads.nativeexpressexample W/dalvikvm﹕ VFY: unable to resolve static field 612 (SUPPORTED_64_BIT_ABIS) in Landroid/os/Build;
06-15 21:07:32.289 9609-9609/com.google.example.gms.ads.nativeexpressexample D/dalvikvm﹕ VFY: replacing opcode 0x62 at 0x0012
06-15 21:07:32.289 9609-9609/com.google.example.gms.ads.nativeexpressexample D/dalvikvm﹕ DexOpt: couldn't find static field Landroid/os/Build;.SUPPORTED_32_BIT_ABIS
06-15 21:07:32.289 9609-9609/com.google.example.gms.ads.nativeexpressexample W/dalvikvm﹕ VFY: unable to resolve static field 611 (SUPPORTED_32_BIT_ABIS) in Landroid/os/Build;
06-15 21:07:32.289 9609-9609/com.google.example.gms.ads.nativeexpressexample D/dalvikvm﹕ VFY: replacing opcode 0x62 at 0x0021
06-15 21:07:32.289 9609-9609/com.google.example.gms.ads.nativeexpressexample D/dalvikvm﹕ DexOpt: couldn't find static field Landroid/os/Build;.SUPPORTED_64_BIT_ABIS
06-15 21:07:32.289 9609-9609/com.google.example.gms.ads.nativeexpressexample W/dalvikvm﹕ VFY: unable to resolve static field 612 (SUPPORTED_64_BIT_ABIS) in Landroid/os/Build;
06-15 21:07:32.289 9609-9609/com.google.example.gms.ads.nativeexpressexample D/dalvikvm﹕ VFY: replacing opcode 0x62 at 0x0008
06-15 21:07:32.309 9609-9609/com.google.example.gms.ads.nativeexpressexample D/dalvikvm﹕ DexOpt: couldn't find static field Landroid/os/Build;.SUPPORTED_ABIS
06-15 21:07:32.309 9609-9609/com.google.example.gms.ads.nativeexpressexample W/dalvikvm﹕ VFY: unable to resolve static field 613 (SUPPORTED_ABIS) in Landroid/os/Build;
06-15 21:07:32.309 9609-9609/com.google.example.gms.ads.nativeexpressexample D/dalvikvm﹕ VFY: replacing opcode 0x62 at 0x0008
06-15 21:07:32.329 9609-9609/com.google.example.gms.ads.nativeexpressexample D/dalvikvm﹕ DexOpt: couldn't find static field Landroid/os/Build;.SUPPORTED_64_BIT_ABIS
06-15 21:07:32.329 9609-9609/com.google.example.gms.ads.nativeexpressexample I/dalvikvm﹕ DexOpt: unable to optimize static field ref 0x0264 at 0x17 in Lcom/google/android/chimera/container/FileApkUtils;.getSupportedAbisForCurrentRuntime
06-15 21:07:32.329 9609-9609/com.google.example.gms.ads.nativeexpressexample D/dalvikvm﹕ DexOpt: couldn't find static field Landroid/os/Build;.SUPPORTED_32_BIT_ABIS
06-15 21:07:32.329 9609-9609/com.google.example.gms.ads.nativeexpressexample I/dalvikvm﹕ DexOpt: unable to optimize static field ref 0x0263 at 0x26 in Lcom/google/android/chimera/container/FileApkUtils;.getSupportedAbisForCurrentRuntime
06-15 21:07:32.329 9609-9609/com.google.example.gms.ads.nativeexpressexample D/dalvikvm﹕ DexOpt: couldn't find static field Landroid/os/Build;.SUPPORTED_64_BIT_ABIS
06-15 21:07:32.329 9609-9609/com.google.example.gms.ads.nativeexpressexample I/dalvikvm﹕ DexOpt: unable to optimize static field ref 0x0264 at 0x0d in Lcom/google/android/chimera/container/FileApkUtils;.is64BitRuntime
06-15 21:07:32.379 9609-9609/com.google.example.gms.ads.nativeexpressexample D/ChimeraFileApk﹕ Primary ABI of requesting process is armeabi-v7a
06-15 21:07:32.379 9609-9609/com.google.example.gms.ads.nativeexpressexample D/ChimeraFileApk﹕ Classloading successful, but code may not be optimized. It will either run in fallback (interpreted mode) or the odex has been found and isDexOptNeeded is misreporting a failure.
06-15 21:07:32.389 9609-9609/com.google.example.gms.ads.nativeexpressexample I/dalvikvm﹕ Could not find method android.content.ContextWrapper.createDisplayContext, referenced from method com.google.android.chimera.ModuleContext.createDisplayContext
06-15 21:07:32.389 9609-9609/com.google.example.gms.ads.nativeexpressexample W/dalvikvm﹕ VFY: unable to resolve virtual method 966: Landroid/content/ContextWrapper;.createDisplayContext (Landroid/view/Display;)Landroid/content/Context;
06-15 21:07:32.389 9609-9609/com.google.example.gms.ads.nativeexpressexample D/dalvikvm﹕ VFY: replacing opcode 0x6f at 0x0000
06-15 21:07:32.389 9609-9609/com.google.example.gms.ads.nativeexpressexample I/dalvikvm﹕ Could not find method android.content.res.Resources.getColor, referenced from method com.google.android.chimera.container.internal.ModuleResources.getColor
06-15 21:07:32.389 9609-9609/com.google.example.gms.ads.nativeexpressexample W/dalvikvm﹕ VFY: unable to resolve virtual method 1087: Landroid/content/res/Resources;.getColor (ILandroid/content/res/Resources$Theme;)I
06-15 21:07:32.389 9609-9609/com.google.example.gms.ads.nativeexpressexample D/dalvikvm﹕ VFY: replacing opcode 0x6f at 0x0006
06-15 21:07:32.389 9609-9609/com.google.example.gms.ads.nativeexpressexample I/dalvikvm﹕ Could not find method android.content.res.Resources.getColor, referenced from method com.google.android.chimera.container.internal.ModuleResources.getColor
06-15 21:07:32.389 9609-9609/com.google.example.gms.ads.nativeexpressexample W/dalvikvm﹕ VFY: unable to resolve virtual method 1087: Landroid/content/res/Resources;.getColor (ILandroid/content/res/Resources$Theme;)I
06-15 21:07:32.389 9609-9609/com.google.example.gms.ads.nativeexpressexample D/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x000d
06-15 21:07:32.389 9609-9609/com.google.example.gms.ads.nativeexpressexample I/dalvikvm﹕ Could not find method android.content.res.Resources.getColorStateList, referenced from method com.google.android.chimera.container.internal.ModuleResources.getColorStateList
06-15 21:07:32.389 9609-9609/com.google.example.gms.ads.nativeexpressexample W/dalvikvm﹕ VFY: unable to resolve virtual method 1089: Landroid/content/res/Resources;.getColorStateList (ILandroid/content/res/Resources$Theme;)Landroid/content/res/ColorStateList;
06-15 21:07:32.389 9609-9609/com.google.example.gms.ads.nativeexpressexample D/dalvikvm﹕ VFY: replacing opcode 0x6f at 0x0006
06-15 21:07:32.389 9609-9609/com.google.example.gms.ads.nativeexpressexample I/dalvikvm﹕ Could not find method android.content.res.Resources.getColorStateList, referenced from method com.google.android.chimera.container.internal.ModuleResources.getColorStateList
06-15 21:07:32.389 9609-9609/com.google.example.gms.ads.nativeexpressexample W/dalvikvm﹕ VFY: unable to resolve virtual method 1089: Landroid/content/res/Resources;.getColorStateList (ILandroid/content/res/Resources$Theme;)Landroid/content/res/ColorStateList;
06-15 21:07:32.389 9609-9609/com.google.example.gms.ads.nativeexpressexample D/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x000d
06-15 21:07:32.389 9609-9609/com.google.example.gms.ads.nativeexpressexample I/dalvikvm﹕ Could not find method android.content.res.Resources.getDrawable, referenced from method com.google.android.chimera.container.internal.ModuleResources.getDrawable
06-15 21:07:32.389 9609-9609/com.google.example.gms.ads.nativeexpressexample W/dalvikvm﹕ VFY: unable to resolve virtual method 1096: Landroid/content/res/Resources;.getDrawable (ILandroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable;
06-15 21:07:32.389 9609-9609/com.google.example.gms.ads.nativeexpressexample D/dalvikvm﹕ VFY: replacing opcode 0x6f at 0x0006
06-15 21:07:32.389 9609-9609/com.google.example.gms.ads.nativeexpressexample I/dalvikvm﹕ Could not find method android.content.res.Resources.getDrawable, referenced from method com.google.android.chimera.container.internal.ModuleResources.getDrawable
06-15 21:07:32.389 9609-9609/com.google.example.gms.ads.nativeexpressexample W/dalvikvm﹕ VFY: unable to resolve virtual method 1096: Landroid/content/res/Resources;.getDrawable (ILandroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable;
06-15 21:07:32.389 9609-9609/com.google.example.gms.ads.nativeexpressexample D/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x000d
06-15 21:07:32.389 9609-9609/com.google.example.gms.ads.nativeexpressexample I/dalvikvm﹕ Could not find method android.content.res.Resources.getDrawableForDensity, referenced from method com.google.android.chimera.container.internal.ModuleResources.getDrawableForDensity
06-15 21:07:32.389 9609-9609/com.google.example.gms.ads.nativeexpressexample W/dalvikvm﹕ VFY: unable to resolve virtual method 1098: Landroid/content/res/Resources;.getDrawableForDensity (IILandroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable;
06-15 21:07:32.389 9609-9609/com.google.example.gms.ads.nativeexpressexample D/dalvikvm﹕ VFY: replacing opcode 0x6f at 0x0006
06-15 21:07:32.389 9609-9609/com.google.example.gms.ads.nativeexpressexample I/dalvikvm﹕ Could not find method android.content.res.Resources.getDrawableForDensity, referenced from method com.google.android.chimera.container.internal.ModuleResources.getDrawableForDensity
06-15 21:07:32.389 9609-9609/com.google.example.gms.ads.nativeexpressexample W/dalvikvm﹕ VFY: unable to resolve virtual method 1098: Landroid/content/res/Resources;.getDrawableForDensity (IILandroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable;
06-15 21:07:32.389 9609-9609/com.google.example.gms.ads.nativeexpressexample D/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x000d
06-15 21:07:32.419 9609-9609/com.google.example.gms.ads.nativeexpressexample D/DynamitePackage﹕ Instantiated singleton DynamitePackage.
06-15 21:07:32.419 9609-9609/com.google.example.gms.ads.nativeexpressexample D/DynamitePackage﹕ Instantiating com.google.android.gms.ads.ChimeraAdManagerCreatorImpl
06-15 21:07:32.469 9609-9609/com.google.example.gms.ads.nativeexpressexample I/dalvikvm﹕ Could not find method android.security.NetworkSecurityPolicy.getInstance, referenced from method aru.a
06-15 21:07:32.469 9609-9609/com.google.example.gms.ads.nativeexpressexample W/dalvikvm﹕ VFY: unable to resolve static method 2392: Landroid/security/NetworkSecurityPolicy;.getInstance ()Landroid/security/NetworkSecurityPolicy;
06-15 21:07:32.469 9609-9609/com.google.example.gms.ads.nativeexpressexample D/dalvikvm﹕ VFY: replacing opcode 0x71 at 0x0072
06-15 21:07:32.499 9609-9609/com.google.example.gms.ads.nativeexpressexample I/dalvikvm﹕ Could not find method android.content.pm.PackageManager.getPackageInstaller, referenced from method brv.a
06-15 21:07:32.499 9609-9609/com.google.example.gms.ads.nativeexpressexample W/dalvikvm﹕ VFY: unable to resolve virtual method 1971: Landroid/content/pm/PackageManager;.getPackageInstaller ()Landroid/content/pm/PackageInstaller;
06-15 21:07:32.499 9609-9609/com.google.example.gms.ads.nativeexpressexample D/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x000e
06-15 21:07:32.499 9609-9609/com.google.example.gms.ads.nativeexpressexample E/dalvikvm﹕ Could not find class 'android.os.UserManager', referenced from method brv.a
06-15 21:07:32.499 9609-9609/com.google.example.gms.ads.nativeexpressexample W/dalvikvm﹕ VFY: unable to resolve check-cast 523 (Landroid/os/UserManager;) in Lbrv;
06-15 21:07:32.499 9609-9609/com.google.example.gms.ads.nativeexpressexample D/dalvikvm﹕ VFY: replacing opcode 0x1f at 0x0040
06-15 21:07:32.499 9609-9609/com.google.example.gms.ads.nativeexpressexample D/dalvikvm﹕ DexOpt: couldn't find static field Lnx;.common_google_play_services_unknown_issue
06-15 21:07:32.499 9609-9609/com.google.example.gms.ads.nativeexpressexample W/dalvikvm﹕ VFY: unable to resolve static field 4140 (common_google_play_services_unknown_issue) in Lnx;
06-15 21:07:32.499 9609-9609/com.google.example.gms.ads.nativeexpressexample D/dalvikvm﹕ VFY: replacing opcode 0x60 at 0x0012
06-15 21:07:32.569 9609-9663/com.google.example.gms.ads.nativeexpressexample D/dalvikvm﹕ DexOpt: couldn't find static field Lnx;.common_google_play_services_updating_text
06-15 21:07:32.569 9609-9663/com.google.example.gms.ads.nativeexpressexample W/dalvikvm﹕ VFY: unable to resolve static field 4146 (common_google_play_services_updating_text) in Lnx;
06-15 21:07:32.569 9609-9663/com.google.example.gms.ads.nativeexpressexample D/dalvikvm﹕ VFY: replacing opcode 0x60 at 0x0021
06-15 21:07:32.569 9609-9663/com.google.example.gms.ads.nativeexpressexample D/dalvikvm﹕ DexOpt: couldn't find static field Lnx;.common_google_play_services_updating_title
06-15 21:07:32.569 9609-9663/com.google.example.gms.ads.nativeexpressexample I/dalvikvm﹕ DexOpt: unable to optimize static field ref 0x1033 at 0x2e in Lazx;.a
06-15 21:07:32.819 9609-9616/com.google.example.gms.ads.nativeexpressexample I/dalvikvm﹕ Total arena pages for JIT: 11
06-15 21:07:32.819 9609-9616/com.google.example.gms.ads.nativeexpressexample I/dalvikvm﹕ Total arena pages for JIT: 12
06-15 21:07:32.819 9609-9616/com.google.example.gms.ads.nativeexpressexample I/dalvikvm﹕ Total arena pages for JIT: 13
06-15 21:07:32.819 9609-9616/com.google.example.gms.ads.nativeexpressexample I/dalvikvm﹕ Total arena pages for JIT: 14
06-15 21:07:32.819 9609-9616/com.google.example.gms.ads.nativeexpressexample I/dalvikvm﹕ Total arena pages for JIT: 15
06-15 21:07:32.819 9609-9616/com.google.example.gms.ads.nativeexpressexample I/dalvikvm﹕ Total arena pages for JIT: 16
06-15 21:07:32.829 9609-9616/com.google.example.gms.ads.nativeexpressexample I/dalvikvm﹕ Total arena pages for JIT: 17
06-15 21:07:32.879 9609-9609/com.google.example.gms.ads.nativeexpressexample I/webclipboard﹕ clipservice: android.sec.clipboard.ClipboardExManager#41ba3480
06-15 21:07:32.889 9609-9663/com.google.example.gms.ads.nativeexpressexample I/dalvikvm﹕ Could not find method java.util.concurrent.ThreadLocalRandom.current, referenced from method ia.a
06-15 21:07:32.889 9609-9663/com.google.example.gms.ads.nativeexpressexample W/dalvikvm﹕ VFY: unable to resolve static method 8340: Ljava/util/concurrent/ThreadLocalRandom;.current ()Ljava/util/concurrent/ThreadLocalRandom;
06-15 21:07:32.889 9609-9663/com.google.example.gms.ads.nativeexpressexample D/dalvikvm﹕ VFY: replacing opcode 0x71 at 0x0000
06-15 21:07:32.929 9609-9616/com.google.example.gms.ads.nativeexpressexample I/dalvikvm﹕ Total arena pages for JIT: 18
06-15 21:07:33.249 9609-9609/com.google.example.gms.ads.nativeexpressexample I/Ads﹕ Starting ad request.
06-15 21:07:33.249 9609-9609/com.google.example.gms.ads.nativeexpressexample I/Ads﹕ Use AdRequest.Builder.addTestDevice("315EA0C5061DFD25EBB0E5BC28752424") to get test ads on this device.
06-15 21:07:33.849 9609-9672/com.google.example.gms.ads.nativeexpressexample V/webkit﹕ BrowserFrame constructor: this=Handler (android.webkit.BrowserFrame) {41b9fa18}
06-15 21:07:33.899 9609-9609/com.google.example.gms.ads.nativeexpressexample D/libEGL﹕ loaded /system/lib/egl/libEGL_adreno200.so
06-15 21:07:33.979 9609-9609/com.google.example.gms.ads.nativeexpressexample D/libEGL﹕ loaded /system/lib/egl/libGLESv1_CM_adreno200.so
06-15 21:07:33.999 9609-9609/com.google.example.gms.ads.nativeexpressexample D/libEGL﹕ loaded /system/lib/egl/libGLESv2_adreno200.so
06-15 21:07:34.009 9609-9609/com.google.example.gms.ads.nativeexpressexample 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
06-15 21:07:34.499 9609-9609/com.google.example.gms.ads.nativeexpressexample D/OpenGLRenderer﹕ Enabling debug mode 0
06-15 21:07:36.979 9609-9609/com.google.example.gms.ads.nativeexpressexample I/dalvikvm﹕ Could not find method android.webkit.WebSettings.setMixedContentMode, referenced from method avu.<init>
06-15 21:07:36.979 9609-9609/com.google.example.gms.ads.nativeexpressexample W/dalvikvm﹕ VFY: unable to resolve virtual method 2662: Landroid/webkit/WebSettings;.setMixedContentMode (I)V
06-15 21:07:36.979 9609-9609/com.google.example.gms.ads.nativeexpressexample D/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x0057
06-15 21:07:36.989 9609-9609/com.google.example.gms.ads.nativeexpressexample I/dalvikvm﹕ Could not find method android.webkit.WebView.evaluateJavascript, referenced from method avu.evaluateJavascript
06-15 21:07:36.989 9609-9609/com.google.example.gms.ads.nativeexpressexample W/dalvikvm﹕ VFY: unable to resolve virtual method 2672: Landroid/webkit/WebView;.evaluateJavascript
The reason for this problem was there is not enough width on the screen to display native ads. When i removed the root Relative layout's margin left and margin right the ad started showing. In native ad Express we don't have much control over ad width that is the reason for this problem.

Android app hanging (not crashing) on real device with illegal method access of RecyclerView

I'm using RecyclerView in my app and my app just hangs (doesn't quit, just animations stop and app becomes completely unresponsive) with the following logs in console:
05-01 09:23:39.075 21296-21296/com.ulouder.ulouder D/dalvikvm: Trying to load lib /data/app-lib/com.ulouder.ulouder-1/libuLouderNative.so 0x41db4c90
05-01 09:23:39.075 21296-21296/com.ulouder.ulouder D/dalvikvm: Added shared lib /data/app-lib/com.ulouder.ulouder-1/libuLouderNative.so 0x41db4c90
05-01 09:23:39.075 21296-21296/com.ulouder.ulouder D/dalvikvm: No JNI_OnLoad found in /data/app-lib/com.ulouder.ulouder-1/libuLouderNative.so 0x41db4c90, skipping init
05-01 09:23:39.345 21296-21296/com.ulouder.ulouder I/Timeline: Timeline: Activity_idle id: android.os.BinderProxy#41dab7c8 time:89397538
05-01 09:23:39.350 2281-2319/system_process I/Timeline: Timeline: Activity_windows_visible id: ActivityRecord{430106a0 u0 com.ulouder.ulouder/com.ulouder.activities.MainActivity t19} time:89397539
05-01 09:23:42.540 21296-21741/com.ulouder.ulouder D/uLouder: [01 23 2016 09:23:42] Fired event with data: feed loaded nearby
05-01 09:23:42.720 21296-21296/com.ulouder.ulouder I/dalvikvm: DexOpt: illegal method access (call Landroid/support/v7/widget/RecyclerView$ViewHolder;.isUpdated ()Z from Lcom/ulouder/viewholders/PostViewHolder;)
05-01 09:23:42.720 21296-21296/com.ulouder.ulouder I/dalvikvm: Could not find method android.support.v7.widget.RecyclerView$ViewHolder.isUpdated, referenced from method com.ulouder.viewholders.PostViewHolder.access$super
05-01 09:23:42.720 21296-21296/com.ulouder.ulouder W/dalvikvm: VFY: unable to resolve virtual method 17616: Landroid/support/v7/widget/RecyclerView$ViewHolder;.isUpdated ()Z
05-01 09:23:42.720 21296-21296/com.ulouder.ulouder D/dalvikvm: VFY: replacing opcode 0x6f at 0x0031
05-01 09:23:42.720 21296-21296/com.ulouder.ulouder I/dalvikvm: DexOpt: illegal method access (call Landroid/support/v7/widget/RecyclerView$ViewHolder;.flagRemovedAndOffsetPosition (IIZ)V from Lcom/ulouder/viewholders/PostViewHolder;)
05-01 09:23:42.720 21296-21296/com.ulouder.ulouder I/dalvikvm: Could not find method android.support.v7.widget.RecyclerView$ViewHolder.flagRemovedAndOffsetPosition, referenced from method com.ulouder.viewholders.PostViewHolder.access$super
05-01 09:23:42.720 21296-21296/com.ulouder.ulouder W/dalvikvm: VFY: unable to resolve virtual method 17600: Landroid/support/v7/widget/RecyclerView$ViewHolder;.flagRemovedAndOffsetPosition (IIZ)V
05-01 09:23:42.720 21296-21296/com.ulouder.ulouder D/dalvikvm: VFY: replacing opcode 0x6f at 0x0053
05-01 09:23:42.720 21296-21296/com.ulouder.ulouder I/dalvikvm: DexOpt: illegal method access (call Landroid/support/v7/widget/RecyclerView$ViewHolder;.isRemoved ()Z from Lcom/ulouder/viewholders/PostViewHolder;)
05-01 09:23:42.720 21296-21296/com.ulouder.ulouder I/dalvikvm: Could not find method android.support.v7.widget.RecyclerView$ViewHolder.isRemoved, referenced from method com.ulouder.viewholders.PostViewHolder.access$super
05-01 09:23:42.720 21296-21296/com.ulouder.ulouder W/dalvikvm: VFY: unable to resolve virtual method 17613: Landroid/support/v7/widget/RecyclerView$ViewHolder;.isRemoved ()Z
05-01 09:23:42.720 21296-21296/com.ulouder.ulouder D/dalvikvm: VFY: replacing opcode 0x6f at 0x0058
05-01 09:23:42.720 21296-21296/com.ulouder.ulouder I/dalvikvm: DexOpt: illegal method access (call Landroid/support/v7/widget/RecyclerView$ViewHolder;.clearPayload ()V from Lcom/ulouder/viewholders/PostViewHolder;)
05-01 09:23:42.720 21296-21296/com.ulouder.ulouder I/dalvikvm: Could not find method android.support.v7.widget.RecyclerView$ViewHolder.clearPayload, referenced from method com.ulouder.viewholders.PostViewHolder.access$super
05-01 09:23:42.720 21296-21296/com.ulouder.ulouder W/dalvikvm: VFY: unable to resolve virtual method 17595: Landroid/support/v7/widget/RecyclerView$ViewHolder;.clearPayload ()V
05-01 09:23:42.720 21296-21296/com.ulouder.ulouder D/dalvikvm: VFY: replacing opcode 0x6f at 0x007c
05-01 09:23:42.720 21296-21296/com.ulouder.ulouder I/dalvikvm: DexOpt: illegal method access (call Landroid/support/v7/widget/RecyclerView$ViewHolder;.isAdapterPositionUnknown ()Z from Lcom/ulouder/viewholders/PostViewHolder;)
05-01 09:23:42.720 21296-21296/com.ulouder.ulouder I/dalvikvm: Could not find method android.support.v7.widget.RecyclerView$ViewHolder.isAdapterPositionUnknown, referenced from method com.ulouder.viewholders.PostViewHolder.access$super
05-01 09:23:42.720 21296-21296/com.ulouder.ulouder W/dalvikvm: VFY: unable to resolve virtual method 17609: Landroid/support/v7/widget/RecyclerView$ViewHolder;.isAdapterPositionUnknown ()Z
05-01 09:23:42.720 21296-21296/com.ulouder.ulouder D/dalvikvm: VFY: replacing opcode 0x6f at 0x0086
...
It just goes on for many methods of RecyclerView, crashing the whole app (or thread) with this at the end of the log:
05-01 09:23:42.730 21296-21296/com.ulouder.ulouder W/dalvikvm: threadid=1: thread exiting with uncaught exception (group=0x41873ce0)
Why am I getting this? This happens on real device (Samsung Galaxy S3) with Android 4.4.4 (API 19) while there's no problem with my emulator with Marshmallow.
Once again, Android was misleading. There was nothing to do with those error messages. There was an actual null pointer exception on view binding which crashed the whole thread, but somehow it wasn't reported correctly to logcat.

Categories

Resources