I have implemented a GridView by following this guide.
It works perfectly.
The problems comes when I call the GridView Fragment from the NavigationDrawer.
When I push the button of the NavDrawer, the app freezes and I get these messages from the Android Monitor:
11-03 14:08:53.349 15968-15968/com.daswaretech.apps.dasware D/AndroidRuntime: Shutting down VM
11-03 14:08:53.349 15968-15968/com.daswaretech.apps.dasware W/dalvikvm: threadid=1: thread exiting with uncaught exception (group=0x4208a898)
The app will stay frozen until I kill it.
Any idea?
More info:
I call the Fragment whis way:
Fragment frag = new Grid_Fragment();
getSupportFragmentManager().beginTransaction().replace(R.id.content_frame, frag).commit();
Full log:
11-03 14:24:46.389 26230-26230/? D/dalvikvm: Late-enabling CheckJNI
11-03 14:24:46.669 26230-26230/com.daswaretech.apps.dasware W/dalvikvm: VFY: unable to find class referenced in signature (Landroid/view/SearchEvent;)
11-03 14:24:46.669 26230-26230/com.daswaretech.apps.dasware I/dalvikvm: Could not find method android.view.Window$Callback.onSearchRequested, referenced from method android.support.v7.internal.view.WindowCallbackWrapper.onSearchRequested
11-03 14:24:46.679 26230-26230/com.daswaretech.apps.dasware W/dalvikvm: VFY: unable to resolve interface method 17126: Landroid/view/Window$Callback;.onSearchRequested (Landroid/view/SearchEvent;)Z
11-03 14:24:46.679 26230-26230/com.daswaretech.apps.dasware D/dalvikvm: VFY: replacing opcode 0x72 at 0x0002
11-03 14:24:46.679 26230-26230/com.daswaretech.apps.dasware I/dalvikvm: Could not find method android.view.Window$Callback.onWindowStartingActionMode, referenced from method android.support.v7.internal.view.WindowCallbackWrapper.onWindowStartingActionMode
11-03 14:24:46.679 26230-26230/com.daswaretech.apps.dasware W/dalvikvm: VFY: unable to resolve interface method 17130: Landroid/view/Window$Callback;.onWindowStartingActionMode (Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode;
11-03 14:24:46.679 26230-26230/com.daswaretech.apps.dasware D/dalvikvm: VFY: replacing opcode 0x72 at 0x0002
11-03 14:24:46.889 26230-26230/com.daswaretech.apps.dasware I/AMain: onResume
11-03 14:24:47.009 26230-26230/com.daswaretech.apps.dasware D/libEGL: loaded /vendor/lib/egl/libEGL_adreno.so
11-03 14:24:47.009 26230-26230/com.daswaretech.apps.dasware D/libEGL: loaded /vendor/lib/egl/libGLESv1_CM_adreno.so
11-03 14:24:47.009 26230-26230/com.daswaretech.apps.dasware D/libEGL: loaded /vendor/lib/egl/libGLESv2_adreno.so
11-03 14:24:47.129 26230-26230/com.daswaretech.apps.dasware I/Adreno-EGL: <qeglDrvAPI_eglInitialize:381>: EGL 1.4 QUALCOMM build: AU_LINUX_ANDROID_JB_3.2_RB2.04.03.00.129.098_msm8226_JB_3.2_RB2__release_AU ()
11-03 14:24:47.129 26230-26230/com.daswaretech.apps.dasware I/Adreno-EGL: OpenGL ES Shader Compiler Version: 20.00.08
11-03 14:24:47.129 26230-26230/com.daswaretech.apps.dasware I/Adreno-EGL: Build Date: 03/04/14 Tue
11-03 14:24:47.129 26230-26230/com.daswaretech.apps.dasware I/Adreno-EGL: Local Branch:
11-03 14:24:47.129 26230-26230/com.daswaretech.apps.dasware I/Adreno-EGL: Remote Branch: quic/jb_3.2_rb2.32
11-03 14:24:47.129 26230-26230/com.daswaretech.apps.dasware I/Adreno-EGL: Local Patches: NONE
11-03 14:24:47.129 26230-26230/com.daswaretech.apps.dasware I/Adreno-EGL: Reconstruct Branch: AU_LINUX_ANDROID_JB_3.2_RB2.04.03.00.129.098 + NOTHING
11-03 14:24:47.249 26230-26230/com.daswaretech.apps.dasware D/OpenGLRenderer: Enabling debug mode 0
11-03 14:24:47.389 26230-26230/com.daswaretech.apps.dasware I/AMain: onResume
11-03 14:24:48.909 26230-26230/com.daswaretech.apps.dasware I/dalvikvm: Could not find method android.content.res.TypedArray.getChangingConfigurations, referenced from method android.support.v7.internal.widget.TintTypedArray.getChangingConfigurations
11-03 14:24:48.909 26230-26230/com.daswaretech.apps.dasware W/dalvikvm: VFY: unable to resolve virtual method 668: Landroid/content/res/TypedArray;.getChangingConfigurations ()I
11-03 14:24:48.909 26230-26230/com.daswaretech.apps.dasware D/dalvikvm: VFY: replacing opcode 0x6e at 0x0002
11-03 14:24:48.909 26230-26230/com.daswaretech.apps.dasware I/dalvikvm: Could not find method android.content.res.TypedArray.getType, referenced from method android.support.v7.internal.widget.TintTypedArray.getType
11-03 14:24:48.909 26230-26230/com.daswaretech.apps.dasware W/dalvikvm: VFY: unable to resolve virtual method 690: Landroid/content/res/TypedArray;.getType (I)I
11-03 14:24:48.909 26230-26230/com.daswaretech.apps.dasware D/dalvikvm: VFY: replacing opcode 0x6e at 0x0002
11-03 14:24:49.019 26230-26230/com.daswaretech.apps.dasware I/dalvikvm: Could not find method android.app.Notification$Builder.setLocalOnly, referenced from method com.google.android.gms.common.GooglePlayServicesUtil.zza
11-03 14:24:49.019 26230-26230/com.daswaretech.apps.dasware W/dalvikvm: VFY: unable to resolve virtual method 252: Landroid/app/Notification$Builder;.setLocalOnly (Z)Landroid/app/Notification$Builder;
11-03 14:24:49.019 26230-26230/com.daswaretech.apps.dasware D/dalvikvm: VFY: replacing opcode 0x6e at 0x00c2
11-03 14:24:49.019 26230-26230/com.daswaretech.apps.dasware I/dalvikvm: Could not find method android.app.AppOpsManager.checkPackage, referenced from method com.google.android.gms.common.GooglePlayServicesUtil.zza
11-03 14:24:49.019 26230-26230/com.daswaretech.apps.dasware W/dalvikvm: VFY: unable to resolve virtual method 130: Landroid/app/AppOpsManager;.checkPackage (ILjava/lang/String;)V
11-03 14:24:49.019 26230-26230/com.daswaretech.apps.dasware D/dalvikvm: VFY: replacing opcode 0x6e at 0x0010
11-03 14:24:49.019 26230-26230/com.daswaretech.apps.dasware I/dalvikvm: Could not find method android.content.pm.PackageManager.getPackageInstaller, referenced from method com.google.android.gms.common.GooglePlayServicesUtil.zzh
11-03 14:24:49.019 26230-26230/com.daswaretech.apps.dasware W/dalvikvm: VFY: unable to resolve virtual method 593: Landroid/content/pm/PackageManager;.getPackageInstaller ()Landroid/content/pm/PackageInstaller;
11-03 14:24:49.019 26230-26230/com.daswaretech.apps.dasware D/dalvikvm: VFY: replacing opcode 0x6e at 0x000b
11-03 14:24:49.019 26230-26230/com.daswaretech.apps.dasware I/GAv4: Google Analytics 7.8.95 is starting up. To enable debug logging on a device run:
11-03 14:24:49.019 26230-26230/com.daswaretech.apps.dasware I/GAv4: adb shell setprop log.tag.GAv4 DEBUG
11-03 14:24:49.019 26230-26230/com.daswaretech.apps.dasware I/GAv4: adb logcat -s GAv4
11-03 14:24:49.039 26230-26230/com.daswaretech.apps.dasware W/GAv4: AnalyticsReceiver is not registered or is disabled. Register the receiver for reliable dispatching on non-Google Play devices. See http://goo.gl/8Rd3yj for instructions.
11-03 14:24:49.049 26230-26341/com.daswaretech.apps.dasware W/GAv4: AnalyticsService not registered in the app manifest. Hits might not be delivered reliably. See http://goo.gl/8Rd3yj for instructions.
11-03 14:24:49.049 26230-26230/com.daswaretech.apps.dasware I/AMain: connectBleService
11-03 14:24:52.819 26230-26230/com.daswaretech.apps.dasware D/AndroidRuntime: Shutting down VM
11-03 14:24:52.819 26230-26230/com.daswaretech.apps.dasware W/dalvikvm: threadid=1: thread exiting with uncaught exception (group=0x4208a898)
We should be able to see the Error level exception log causing the issue.
Check if you accidentaly enabled a catch-all-exception handler:
"AndroidRuntime: Shutting down VM" with nothing else
Without a proper exception log it's too much guessing (maybe the R.id.content_frame is not defined in the XML layout?)
Related
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);
I have an app with many EditText, I want to make a function to add errors to them, for example, if a particular EditText.lenght() == 0, then it has to set an error "Error, field must not be empty" or so.
What I've tried
I have a function:
fun errorEmpty(et: EditText) {
if(et.length() > 0)
et.error = null
else {
et.error = "Error, field must not be empty"
et.requestFocus()
}
}
This one breaks the app:
var et = someEditText
errorEmpty(et)
This is the log for the last one
05-17 17:53:18.841 21899-21899/? D/dalvikvm: Late-enabling CheckJNI
05-17 17:53:19.091 21899-21899/com.example.name.exampleapp I/dalvikvm: Could not find method android.view.Window$Callback.onPointerCaptureChanged, referenced from method android.support.v7.view.WindowCallbackWrapper.onPointerCaptureChanged
05-17 17:53:19.091 21899-21899/com.example.name.exampleapp W/dalvikvm: VFY: unable to resolve interface method 21221: Landroid/view/Window$Callback;.onPointerCaptureChanged (Z)V
05-17 17:53:19.091 21899-21899/com.example.name.exampleapp D/dalvikvm: VFY: replacing opcode 0x72 at 0x0002
05-17 17:53:19.091 21899-21899/com.example.name.exampleapp I/dalvikvm: Could not find method android.view.Window$Callback.onProvideKeyboardShortcuts, referenced from method android.support.v7.view.WindowCallbackWrapper.onProvideKeyboardShortcuts
05-17 17:53:19.091 21899-21899/com.example.name.exampleapp W/dalvikvm: VFY: unable to resolve interface method 21223: Landroid/view/Window$Callback;.onProvideKeyboardShortcuts (Ljava/util/List;Landroid/view/Menu;I)V
05-17 17:53:19.091 21899-21899/com.example.name.exampleapp D/dalvikvm: VFY: replacing opcode 0x72 at 0x0002
05-17 17:53:19.101 21899-21899/com.example.name.exampleapp W/dalvikvm: VFY: unable to find class referenced in signature (Landroid/view/SearchEvent;)
05-17 17:53:19.101 21899-21899/com.example.name.exampleapp I/dalvikvm: Could not find method android.view.Window$Callback.onSearchRequested, referenced from method android.support.v7.view.WindowCallbackWrapper.onSearchRequested
05-17 17:53:19.101 21899-21899/com.example.name.exampleapp W/dalvikvm: VFY: unable to resolve interface method 21225: Landroid/view/Window$Callback;.onSearchRequested (Landroid/view/SearchEvent;)Z
05-17 17:53:19.101 21899-21899/com.example.name.exampleapp D/dalvikvm: VFY: replacing opcode 0x72 at 0x0002
05-17 17:53:19.101 21899-21899/com.example.name.exampleapp I/dalvikvm: Could not find method android.view.Window$Callback.onWindowStartingActionMode, referenced from method android.support.v7.view.WindowCallbackWrapper.onWindowStartingActionMode
05-17 17:53:19.101 21899-21899/com.example.name.exampleapp W/dalvikvm: VFY: unable to resolve interface method 21229: Landroid/view/Window$Callback;.onWindowStartingActionMode (Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode;
05-17 17:53:19.101 21899-21899/com.example.name.exampleapp D/dalvikvm: VFY: replacing opcode 0x72 at 0x0002
05-17 17:53:19.101 21899-21899/com.example.name.exampleapp I/dalvikvm: Could not find method android.content.res.TypedArray.getChangingConfigurations, referenced from method android.support.v7.widget.TintTypedArray.getChangingConfigurations
05-17 17:53:19.101 21899-21899/com.example.name.exampleapp W/dalvikvm: VFY: unable to resolve virtual method 747: Landroid/content/res/TypedArray;.getChangingConfigurations ()I
05-17 17:53:19.101 21899-21899/com.example.name.exampleapp D/dalvikvm: VFY: replacing opcode 0x6e at 0x0002
05-17 17:53:19.101 21899-21899/com.example.name.exampleapp I/dalvikvm: Could not find method android.content.res.TypedArray.getType, referenced from method android.support.v7.widget.TintTypedArray.getType
05-17 17:53:19.101 21899-21899/com.example.name.exampleapp W/dalvikvm: VFY: unable to resolve virtual method 769: Landroid/content/res/TypedArray;.getType (I)I
05-17 17:53:19.101 21899-21899/com.example.name.exampleapp D/dalvikvm: VFY: replacing opcode 0x6e at 0x0008
05-17 17:53:19.101 21899-21919/com.example.name.exampleapp E/Qmage: onDecode : QmageDecodeFrame 20140421 Rev.6376
This is decoding
decoding stream->hasLength()
onDecode : QmageDecParseHeader call : QM
Qmage parsing for decoding ok
onDecode : QmageHeader.NinePatched 0
onDecode : QmageHeader Height() 12 Width() : 522 sampleSize : 1
Qmage Make Color table
SkBitmap::kIndex8_Config == config && 1 == sampleSize
onDecode : return true QM
05-17 17:53:19.111 21899-21899/com.example.name.exampleapp I/dalvikvm: Could not find method android.content.Context.createDeviceProtectedStorageContext, referenced from method android.support.v4.content.ContextCompat.createDeviceProtectedStorageContext
05-17 17:53:19.111 21899-21899/com.example.name.exampleapp W/dalvikvm: VFY: unable to resolve virtual method 527: Landroid/content/Context;.createDeviceProtectedStorageContext ()Landroid/content/Context;
05-17 17:53:19.111 21899-21899/com.example.name.exampleapp D/dalvikvm: VFY: replacing opcode 0x6e at 0x0006
05-17 17:53:19.111 21899-21899/com.example.name.exampleapp I/dalvikvm: Could not find method android.content.Context.getCodeCacheDir, referenced from method android.support.v4.content.ContextCompat.getCodeCacheDir
05-17 17:53:19.111 21899-21899/com.example.name.exampleapp W/dalvikvm: VFY: unable to resolve virtual method 533: Landroid/content/Context;.getCodeCacheDir ()Ljava/io/File;
05-17 17:53:19.111 21899-21920/com.example.name.exampleapp E/Qmage: onDecode : QmageDecodeFrame 20140421 Rev.6376
05-17 17:53:19.111 21899-21899/com.example.name.exampleapp D/dalvikvm: VFY: replacing opcode 0x6e at 0x0006
05-17 17:53:19.111 21899-21920/com.example.name.exampleapp E/Qmage: This is decoding
decoding stream->hasLength()
05-17 17:53:19.111 21899-21899/com.example.name.exampleapp I/dalvikvm: Could not find method android.content.Context.getColor, referenced from method android.support.v4.content.ContextCompat.getColor
05-17 17:53:19.111 21899-21899/com.example.name.exampleapp W/dalvikvm: VFY: unable to resolve virtual method 534: Landroid/content/Context;.getColor (I)I
05-17 17:53:19.111 21899-21899/com.example.name.exampleapp D/dalvikvm: VFY: replacing opcode 0x6e at 0x0006
05-17 17:53:19.111 21899-21899/com.example.name.exampleapp I/dalvikvm: Could not find method android.content.Context.getColorStateList, referenced from method android.support.v4.content.ContextCompat.getColorStateList
05-17 17:53:19.111 21899-21899/com.example.name.exampleapp W/dalvikvm: VFY: unable to resolve virtual method 535: Landroid/content/Context;.getColorStateList (I)Landroid/content/res/ColorStateList;
05-17 17:53:19.111 21899-21899/com.example.name.exampleapp D/dalvikvm: VFY: replacing opcode 0x6e at 0x0006
05-17 17:53:19.111 21899-21899/com.example.name.exampleapp I/dalvikvm: Could not find method android.content.Context.getDataDir, referenced from method android.support.v4.content.ContextCompat.getDataDir
05-17 17:53:19.111 21899-21899/com.example.name.exampleapp W/dalvikvm: VFY: unable to resolve virtual method 537: Landroid/content/Context;.getDataDir ()Ljava/io/File;
05-17 17:53:19.111 21899-21899/com.example.name.exampleapp D/dalvikvm: VFY: replacing opcode 0x6e at 0x0006
05-17 17:53:19.111 21899-21899/com.example.name.exampleapp I/dalvikvm: Could not find method android.content.Context.getDrawable, referenced from method android.support.v4.content.ContextCompat.getDrawable
05-17 17:53:19.111 21899-21899/com.example.name.exampleapp W/dalvikvm: VFY: unable to resolve virtual method 538: Landroid/content/Context;.getDrawable (I)Landroid/graphics/drawable/Drawable;
05-17 17:53:19.111 21899-21899/com.example.name.exampleapp D/dalvikvm: VFY: replacing opcode 0x6e at 0x0006
05-17 17:53:19.111 21899-21899/com.example.name.exampleapp I/dalvikvm: Could not find method android.content.Context.getNoBackupFilesDir, referenced from method android.support.v4.content.ContextCompat.getNoBackupFilesDir
05-17 17:53:19.111 21899-21899/com.example.name.exampleapp W/dalvikvm: VFY: unable to resolve virtual method 545: Landroid/content/Context;.getNoBackupFilesDir ()Ljava/io/File;
05-17 17:53:19.111 21899-21899/com.example.name.exampleapp D/dalvikvm: VFY: replacing opcode 0x6e at 0x0006
05-17 17:53:19.111 21899-21899/com.example.name.exampleapp I/dalvikvm: Could not find method android.content.Context.isDeviceProtectedStorage, referenced from method android.support.v4.content.ContextCompat.isDeviceProtectedStorage
05-17 17:53:19.111 21899-21899/com.example.name.exampleapp W/dalvikvm: VFY: unable to resolve virtual method 558: Landroid/content/Context;.isDeviceProtectedStorage ()Z
05-17 17:53:19.111 21899-21899/com.example.name.exampleapp D/dalvikvm: VFY: replacing opcode 0x6e at 0x0006
05-17 17:53:19.111 21899-21899/com.example.name.exampleapp I/dalvikvm: Could not find method android.content.Context.startForegroundService, referenced from method android.support.v4.content.ContextCompat.startForegroundService
05-17 17:53:19.111 21899-21899/com.example.name.exampleapp W/dalvikvm: VFY: unable to resolve virtual method 573: Landroid/content/Context;.startForegroundService (Landroid/content/Intent;)Landroid/content/ComponentName;
05-17 17:53:19.111 21899-21899/com.example.name.exampleapp D/dalvikvm: VFY: replacing opcode 0x6e at 0x0006
05-17 17:53:19.111 21899-21920/com.example.name.exampleapp E/Qmage: onDecode : QmageDecParseHeader call : QM
Qmage parsing for decoding ok
onDecode : QmageHeader.NinePatched 0
onDecode : QmageHeader Height() 135 Width() : 522 sampleSize : 1
normal image decoding
onDecode : QmageDecodeFrame call : QM
05-17 17:53:19.161 21899-21899/com.example.name.exampleapp I/dalvikvm: Could not find method android.support.design.widget.AppBarLayout.setKeyboardNavigationCluster, referenced from method android.support.design.widget.AppBarLayout.<init>
05-17 17:53:19.161 21899-21899/com.example.name.exampleapp W/dalvikvm: VFY: unable to resolve virtual method 3053: Landroid/support/design/widget/AppBarLayout;.setKeyboardNavigationCluster (Z)V
05-17 17:53:19.161 21899-21899/com.example.name.exampleapp D/dalvikvm: VFY: replacing opcode 0x6e at 0x006e
05-17 17:53:19.161 21899-21899/com.example.name.exampleapp I/dalvikvm: Could not find method android.support.design.widget.AppBarLayout.setTouchscreenBlocksFocus, referenced from method android.support.design.widget.AppBarLayout.<init>
05-17 17:53:19.161 21899-21899/com.example.name.exampleapp W/dalvikvm: VFY: unable to resolve virtual method 3056: Landroid/support/design/widget/AppBarLayout;.setTouchscreenBlocksFocus (Z)V
05-17 17:53:19.161 21899-21899/com.example.name.exampleapp D/dalvikvm: VFY: replacing opcode 0x6e at 0x007f
05-17 17:53:19.181 21899-21899/com.example.name.exampleapp I/dalvikvm: Could not find method android.content.Context.getColorStateList, referenced from method android.support.v7.content.res.AppCompatResources.getColorStateList
05-17 17:53:19.181 21899-21899/com.example.name.exampleapp W/dalvikvm: VFY: unable to resolve virtual method 535: Landroid/content/Context;.getColorStateList (I)Landroid/content/res/ColorStateList;
05-17 17:53:19.181 21899-21899/com.example.name.exampleapp D/dalvikvm: VFY: replacing opcode 0x6e at 0x0006
05-17 17:53:19.181 21899-21920/com.example.name.exampleapp E/Qmage: onDecode : return true QM
05-17 17:53:19.201 21899-21899/com.example.name.exampleapp E/dalvikvm: Could not find class 'android.graphics.drawable.RippleDrawable', referenced from method android.support.v7.widget.AppCompatImageHelper.hasOverlappingRendering
05-17 17:53:19.201 21899-21899/com.example.name.exampleapp W/dalvikvm: VFY: unable to resolve instanceof 206 (Landroid/graphics/drawable/RippleDrawable;) in Landroid/support/v7/widget/AppCompatImageHelper;
05-17 17:53:19.201 21899-21899/com.example.name.exampleapp D/dalvikvm: VFY: replacing opcode 0x20 at 0x000c
05-17 17:53:19.221 21899-21899/com.example.name.exampleapp W/dalvikvm: VFY: unable to find class referenced in signature (Landroid/graphics/drawable/Icon;)
05-17 17:53:19.221 21899-21899/com.example.name.exampleapp I/dalvikvm: Could not find method android.widget.ImageButton.setImageIcon, referenced from method android.support.v7.widget.AppCompatImageButton.setImageIcon
05-17 17:53:19.221 21899-21899/com.example.name.exampleapp W/dalvikvm: VFY: unable to resolve virtual method 21769: Landroid/widget/ImageButton;.setImageIcon (Landroid/graphics/drawable/Icon;)V
05-17 17:53:19.221 21899-21899/com.example.name.exampleapp D/dalvikvm: VFY: replacing opcode 0x6f at 0x0000
05-17 17:53:19.221 21899-21899/com.example.name.exampleapp I/dalvikvm: Could not find method android.content.res.Resources.getDrawable, referenced from method android.support.v7.widget.ResourcesWrapper.getDrawable
05-17 17:53:19.221 21899-21899/com.example.name.exampleapp W/dalvikvm: VFY: unable to resolve virtual method 710: Landroid/content/res/Resources;.getDrawable (ILandroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable;
05-17 17:53:19.221 21899-21899/com.example.name.exampleapp D/dalvikvm: VFY: replacing opcode 0x6e at 0x0002
05-17 17:53:19.221 21899-21899/com.example.name.exampleapp I/dalvikvm: Could not find method android.content.res.Resources.getDrawableForDensity, referenced from method android.support.v7.widget.ResourcesWrapper.getDrawableForDensity
05-17 17:53:19.221 21899-21899/com.example.name.exampleapp W/dalvikvm: VFY: unable to resolve virtual method 712: Landroid/content/res/Resources;.getDrawableForDensity (IILandroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable;
05-17 17:53:19.221 21899-21899/com.example.name.exampleapp D/dalvikvm: VFY: replacing opcode 0x6e at 0x0002
05-17 17:53:19.221 21899-21899/com.example.name.exampleapp I/dalvikvm: Could not find method android.widget.TextView.getAutoSizeMaxTextSize, referenced from method android.support.v7.widget.AppCompatTextView.getAutoSizeMaxTextSize
05-17 17:53:19.221 21899-21899/com.example.name.exampleapp W/dalvikvm: VFY: unable to resolve virtual method 22111: Landroid/widget/TextView;.getAutoSizeMaxTextSize ()I
05-17 17:53:19.231 21899-21899/com.example.name.exampleapp D/dalvikvm: VFY: replacing opcode 0x6f at 0x0006
05-17 17:53:19.231 21899-21899/com.example.name.exampleapp I/dalvikvm: Could not find method android.widget.TextView.getAutoSizeMinTextSize, referenced from method android.support.v7.widget.AppCompatTextView.getAutoSizeMinTextSize
05-17 17:53:19.231 21899-21899/com.example.name.exampleapp W/dalvikvm: VFY: unable to resolve virtual method 22112: Landroid/widget/TextView;.getAutoSizeMinTextSize ()I
05-17 17:53:19.231 21899-21899/com.example.name.exampleapp D/dalvikvm: VFY: replacing opcode 0x6f at 0x0006
05-17 17:53:19.231 21899-21899/com.example.name.exampleapp I/dalvikvm: Could not find method android.widget.TextView.getAutoSizeStepGranularity, referenced from method android.support.v7.widget.AppCompatTextView.getAutoSizeStepGranularity
05-17 17:53:19.231 21899-21899/com.example.name.exampleapp W/dalvikvm: VFY: unable to resolve virtual method 22113: Landroid/widget/TextView;.getAutoSizeStepGranularity ()I
05-17 17:53:19.231 21899-21899/com.example.name.exampleapp D/dalvikvm: VFY: replacing opcode 0x6f at 0x0006
05-17 17:53:19.231 21899-21899/com.example.name.exampleapp I/dalvikvm: Could not find method android.widget.TextView.getAutoSizeTextAvailableSizes, referenced from method android.support.v7.widget.AppCompatTextView.getAutoSizeTextAvailableSizes
05-17 17:53:19.231 21899-21899/com.example.name.exampleapp W/dalvikvm: VFY: unable to resolve virtual method 22114: Landroid/widget/TextView;.getAutoSizeTextAvailableSizes ()[I
05-17 17:53:19.231 21899-21899/com.example.name.exampleapp D/dalvikvm: VFY: replacing opcode 0x6f at 0x0006
05-17 17:53:19.231 21899-21899/com.example.name.exampleapp I/dalvikvm: Could not find method android.widget.TextView.getAutoSizeTextType, referenced from method android.support.v7.widget.AppCompatTextView.getAutoSizeTextType
05-17 17:53:19.231 21899-21899/com.example.name.exampleapp W/dalvikvm: VFY: unable to resolve virtual method 22115: Landroid/widget/TextView;.getAutoSizeTextType ()I
05-17 17:53:19.231 21899-21899/com.example.name.exampleapp D/dalvikvm: VFY: replacing opcode 0x6f at 0x0007
05-17 17:53:19.231 21899-21899/com.example.name.exampleapp I/dalvikvm: Could not find method android.widget.TextView.setAutoSizeTextTypeUniformWithConfiguration, referenced from method android.support.v7.widget.AppCompatTextView.setAutoSizeTextTypeUniformWithConfiguration
05-17 17:53:19.231 21899-21899/com.example.name.exampleapp W/dalvikvm: VFY: unable to resolve virtual method 22165: Landroid/widget/TextView;.setAutoSizeTextTypeUniformWithConfiguration (IIII)V
05-17 17:53:19.231 21899-21899/com.example.name.exampleapp D/dalvikvm: VFY: replacing opcode 0x6f at 0x0006
05-17 17:53:19.231 21899-21899/com.example.name.exampleapp I/dalvikvm: Could not find method android.widget.TextView.setAutoSizeTextTypeUniformWithPresetSizes, referenced from method android.support.v7.widget.AppCompatTextView.setAutoSizeTextTypeUniformWithPresetSizes
05-17 17:53:19.231 21899-21899/com.example.name.exampleapp W/dalvikvm: VFY: unable to resolve virtual method 22166: Landroid/widget/TextView;.setAutoSizeTextTypeUniformWithPresetSizes ([II)V
05-17 17:53:19.231 21899-21899/com.example.name.exampleapp D/dalvikvm: VFY: replacing opcode 0x6f at 0x0006
05-17 17:53:19.231 21899-21899/com.example.name.exampleapp I/dalvikvm: Could not find method android.widget.TextView.setAutoSizeTextTypeWithDefaults, referenced from method android.support.v7.widget.AppCompatTextView.setAutoSizeTextTypeWithDefaults
05-17 17:53:19.231 21899-21899/com.example.name.exampleapp W/dalvikvm: VFY: unable to resolve virtual method 22167: Landroid/widget/TextView;.setAutoSizeTextTypeWithDefaults (I)V
05-17 17:53:19.231 21899-21899/com.example.name.exampleapp D/dalvikvm: VFY: replacing opcode 0x6f at 0x0006
05-17 17:53:19.241 21899-21899/com.example.name.exampleapp I/dalvikvm: Could not find method android.widget.TextView.getAutoSizeStepGranularity, referenced from method android.support.v7.widget.AppCompatTextHelper.loadFromAttributes
05-17 17:53:19.241 21899-21899/com.example.name.exampleapp W/dalvikvm: VFY: unable to resolve virtual method 22113: Landroid/widget/TextView;.getAutoSizeStepGranularity ()I
05-17 17:53:19.241 21899-21899/com.example.name.exampleapp D/dalvikvm: VFY: replacing opcode 0x6e at 0x0163
05-17 17:53:19.241 21899-21899/com.example.name.exampleapp I/dalvikvm: Could not find method android.text.StaticLayout$Builder.obtain, referenced from method android.support.v7.widget.AppCompatTextViewAutoSizeHelper.createStaticLayoutForMeasuring
05-17 17:53:19.241 21899-21899/com.example.name.exampleapp W/dalvikvm: VFY: unable to resolve static method 20411: Landroid/text/StaticLayout$Builder;.obtain (Ljava/lang/CharSequence;IILandroid/text/TextPaint;I)Landroid/text/StaticLayout$Builder;
05-17 17:53:19.241 21899-21899/com.example.name.exampleapp D/dalvikvm: VFY: replacing opcode 0x71 at 0x0014
05-17 17:53:19.311 21899-21899/com.example.name.exampleapp D/GC: <tid=21899> OES20 ===> GC Version : GC Ver rls_pxa988_KK44_GC13.20
05-17 17:53:19.361 21899-21899/com.example.name.exampleapp D/OpenGLRenderer: Enabling debug mode 0
05-17 17:53:19.391 21899-21899/com.example.name.exampleapp W/dalvikvm: VFY: unable to find class referenced in signature (Landroid/graphics/drawable/Icon;)
05-17 17:53:19.391 21899-21899/com.example.name.exampleapp I/dalvikvm: Could not find method android.widget.ImageView.setImageIcon, referenced from method android.support.v7.widget.AppCompatImageView.setImageIcon
05-17 17:53:19.391 21899-21899/com.example.name.exampleapp W/dalvikvm: VFY: unable to resolve virtual method 21814: Landroid/widget/ImageView;.setImageIcon (Landroid/graphics/drawable/Icon;)V
05-17 17:53:19.391 21899-21899/com.example.name.exampleapp D/dalvikvm: VFY: replacing opcode 0x6f at 0x0000
This one just doesn't do anything (it does not break the app):
errrorEmpty(someEditText)
Thanks in advance!
EDIT:
I've also tried:
fun errorEmpty(et: EditText): EditText {
if(et.length() > 0)
et.error = null
else {
et.error = "Error, field must not be empty"
et.requestFocus()
}
}return et
And then assigned the result to an EditText:
et = errorEmpty(et)
and it also breaks the app, this is the log:
05-17 18:46:38.262 22870-22870/com.example.name.exampleapp D/dalvikvm: VFY: replacing opcode 0x71 at 0x0014
05-17 18:46:38.322 22870-22890/com.example.name.exampleapp E/Qmage: onDecode : QmageDecodeFrame 20140421 Rev.6376
This is decoding
decoding stream->hasLength()
onDecode : QmageDecParseHeader call : QM
Qmage parsing for decoding ok
onDecode : QmageHeader.NinePatched 0
onDecode : QmageHeader Height() 12 Width() : 522 sampleSize : 1
Qmage Make Color table
SkBitmap::kIndex8_Config == config && 1 == sampleSize
onDecode : return true QM
05-17 18:46:38.322 22870-22891/com.example.name.exampleapp E/Qmage: onDecode : QmageDecodeFrame 20140421 Rev.6376
05-17 18:46:38.342 22870-22891/com.example.name.exampleapp E/Qmage: This is decoding
decoding stream->hasLength()
05-17 18:46:38.352 22870-22870/com.example.name.exampleapp D/GC: <tid=22870> OES20 ===> GC Version : GC Ver rls_pxa988_KK44_GC13.20
05-17 18:46:38.352 22870-22891/com.example.name.exampleapp E/Qmage: onDecode : QmageDecParseHeader call : QM
05-17 18:46:38.362 22870-22891/com.example.name.exampleapp E/Qmage: Qmage parsing for decoding ok
onDecode : QmageHeader.NinePatched 0
onDecode : QmageHeader Height() 135 Width() : 522 sampleSize : 1
05-17 18:46:38.453 22870-22870/com.example.name.exampleapp D/OpenGLRenderer: Enabling debug mode 0
05-17 18:46:38.483 22870-22891/com.example.name.exampleapp E/Qmage: normal image decoding
onDecode : QmageDecodeFrame call : QM
05-17 18:46:38.533 22870-22870/com.example.name.exampleapp W/dalvikvm: VFY: unable to find class referenced in signature (Landroid/graphics/drawable/Icon;)
05-17 18:46:38.533 22870-22870/com.example.name.exampleapp I/dalvikvm: Could not find method android.widget.ImageView.setImageIcon, referenced from method android.support.v7.widget.AppCompatImageView.setImageIcon
05-17 18:46:38.543 22870-22870/com.example.name.exampleapp W/dalvikvm: VFY: unable to resolve virtual method 21814: Landroid/widget/ImageView;.setImageIcon (Landroid/graphics/drawable/Icon;)V
05-17 18:46:38.543 22870-22870/com.example.name.exampleapp D/dalvikvm: VFY: replacing opcode 0x6f at 0x0000
05-17 18:46:38.813 22870-22891/com.example.name.exampleapp E/Qmage: onDecode : return true QM
(I'm only posting what I think is the important part because of character restrictions)
Can anyone kindly help me, please with this error?
07-06 21:22:04.794 8489-8489/? D/dalvikvm: Late-enabling CheckJNI
07-06 21:22:04.944 8489-8489/? I/dalvikvm: Could not find method android.view.Window$Callback.onProvideKeyboardShortcuts, referenced from method android.support.v7.view.WindowCallbackWrapper.onProvideKeyboardShortcuts
07-06 21:22:04.944 8489-8489/? W/dalvikvm: VFY: unable to resolve interface method 15403: Landroid/view/Window$Callback;.onProvideKeyboardShortcuts (Ljava/util/List;Landroid/view/Menu;I)V
07-06 21:22:04.944 8489-8489/? D/dalvikvm: VFY: replacing opcode 0x72 at 0x0002
07-06 21:22:04.944 8489-8489/? W/dalvikvm: VFY: unable to find class referenced in signature (Landroid/view/SearchEvent;)
07-06 21:22:04.944 8489-8489/? I/dalvikvm: Could not find method android.view.Window$Callback.onSearchRequested, referenced from method android.support.v7.view.WindowCallbackWrapper.onSearchRequested
07-06 21:22:04.944 8489-8489/? W/dalvikvm: VFY: unable to resolve interface method 15405: Landroid/view/Window$Callback;.onSearchRequested (Landroid/view/SearchEvent;)Z
07-06 21:22:04.944 8489-8489/? D/dalvikvm: VFY: replacing opcode 0x72 at 0x0002
07-06 21:22:04.944 8489-8489/? I/dalvikvm: Could not find method android.view.Window$Callback.onWindowStartingActionMode, referenced from method android.support.v7.view.WindowCallbackWrapper.onWindowStartingActionMode
07-06 21:22:04.944 8489-8489/? W/dalvikvm: VFY: unable to resolve interface method 15409: Landroid/view/Window$Callback;.onWindowStartingActionMode (Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode;
07-06 21:22:04.944 8489-8489/? D/dalvikvm: VFY: replacing opcode 0x72 at 0x0002
07-06 21:22:04.954 8489-8489/? I/dalvikvm: Could not find method android.content.res.TypedArray.getChangingConfigurations, referenced from method android.support.v7.widget.TintTypedArray.getChangingConfigurations
07-06 21:22:04.954 8489-8489/? W/dalvikvm: VFY: unable to resolve virtual method 477: Landroid/content/res/TypedArray;.getChangingConfigurations ()I
07-06 21:22:04.954 8489-8489/? D/dalvikvm: VFY: replacing opcode 0x6e at 0x0002
07-06 21:22:04.954 8489-8489/? I/dalvikvm: Could not find method android.content.res.TypedArray.getType, referenced from method android.support.v7.widget.TintTypedArray.getType
07-06 21:22:04.954 8489-8489/? W/dalvikvm: VFY: unable to resolve virtual method 499: Landroid/content/res/TypedArray;.getType (I)I
07-06 21:22:04.954 8489-8489/? D/dalvikvm: VFY: replacing opcode 0x6e at 0x0008
07-06 21:22:04.954 8489-8489/? I/dalvikvm: Could not find method android.content.Context.createDeviceProtectedStorageContext, referenced from method android.support.v4.content.ContextCompat.createDeviceProtectedStorageContext
07-06 21:22:04.954 8489-8489/? W/dalvikvm: VFY: unable to resolve virtual method 268: Landroid/content/Context;.createDeviceProtectedStorageContext ()Landroid/content/Context;
07-06 21:22:04.954 8489-8489/? D/dalvikvm: VFY: replacing opcode 0x6e at 0x0006
07-06 21:22:04.954 8489-8489/? I/dalvikvm: Could not find method android.content.Context.getCodeCacheDir, referenced from method android.support.v4.content.ContextCompat.getCodeCacheDir
07-06 21:22:04.954 8489-8489/? W/dalvikvm: VFY: unable to resolve virtual method 273: Landroid/content/Context;.getCodeCacheDir ()Ljava/io/File;
07-06 21:22:04.954 8489-8489/? D/dalvikvm: VFY: replacing opcode 0x6e at 0x0006
07-06 21:22:04.954 8489-8489/? I/dalvikvm: Could not find method android.content.Context.getColor, referenced from method android.support.v4.content.ContextCompat.getColor
07-06 21:22:04.964 8489-8489/? W/dalvikvm: VFY: unable to resolve virtual method 274: Landroid/content/Context;.getColor (I)I
07-06 21:22:04.964 8489-8489/? D/dalvikvm: VFY: replacing opcode 0x6e at 0x0006
07-06 21:22:04.964 8489-8489/? I/dalvikvm: Could not find method android.content.Context.getColorStateList, referenced from method android.support.v4.content.ContextCompat.getColorStateList
07-06 21:22:04.964 8489-8489/? W/dalvikvm: VFY: unable to resolve virtual method 275: Landroid/content/Context;.getColorStateList (I)Landroid/content/res/ColorStateList;
07-06 21:22:04.964 8489-8489/? D/dalvikvm: VFY: replacing opcode 0x6e at 0x0006
07-06 21:22:04.964 8489-8489/? I/dalvikvm: Could not find method android.content.Context.getDataDir, referenced from method android.support.v4.content.ContextCompat.getDataDir
07-06 21:22:04.964 8489-8489/? W/dalvikvm: VFY: unable to resolve virtual method 277: Landroid/content/Context;.getDataDir ()Ljava/io/File;
07-06 21:22:04.964 8489-8489/? D/dalvikvm: VFY: replacing opcode 0x6e at 0x0006
07-06 21:22:04.964 8489-8489/? I/dalvikvm: Could not find method android.content.Context.getDrawable, referenced from method android.support.v4.content.ContextCompat.getDrawable
07-06 21:22:04.964 8489-8489/? W/dalvikvm: VFY: unable to resolve virtual method 278: Landroid/content/Context;.getDrawable (I)Landroid/graphics/drawable/Drawable;
07-06 21:22:04.964 8489-8489/? D/dalvikvm: VFY: replacing opcode 0x6e at 0x0006
07-06 21:22:04.964 8489-8489/? I/dalvikvm: Could not find method android.content.Context.getNoBackupFilesDir, referenced from method android.support.v4.content.ContextCompat.getNoBackupFilesDir
07-06 21:22:04.964 8489-8489/? W/dalvikvm: VFY: unable to resolve virtual method 285: Landroid/content/Context;.getNoBackupFilesDir ()Ljava/io/File;
07-06 21:22:04.964 8489-8489/? D/dalvikvm: VFY: replacing opcode 0x6e at 0x0006
07-06 21:22:04.964 8489-8489/? I/dalvikvm: Could not find method android.content.Context.isDeviceProtectedStorage, referenced from method android.support.v4.content.ContextCompat.isDeviceProtectedStorage
07-06 21:22:04.964 8489-8489/? W/dalvikvm: VFY: unable to resolve virtual method 298: Landroid/content/Context;.isDeviceProtectedStorage ()Z
07-06 21:22:04.964 8489-8489/? D/dalvikvm: VFY: replacing opcode 0x6e at 0x0006
07-06 21:22:04.984 8489-8489/? D/AndroidRuntime: Shutting down VM
07-06 21:22:04.984 8489-8489/? W/dalvikvm: threadid=1: thread exiting with uncaught exception (group=0x41692c08)
07-06 21:22:04.994 8489-8489/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.example.lenovo.app, PID: 8489
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.lenovo.app/com.example.lenovo.app.MainActivity}: java.lang.IllegalStateException: This app has been built with an incorrect configuration. Please configure your build for VectorDrawableCompat.
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2339)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2391)
at android.app.ActivityThread.access$900(ActivityThread.java:166)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1281)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:146)
at android.app.ActivityThread.main(ActivityThread.java:5511)
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:1283)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.IllegalStateException: This app has been built with an incorrect configuration. Please configure your build for VectorDrawableCompat.
at android.support.v7.widget.AppCompatDrawableManager.checkVectorDrawableSetup(AppCompatDrawableManager.java:713)
at android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:194)
at android.support.v7.widget.TintTypedArray.getDrawableIfKnown(TintTypedArray.java:81)
at android.support.v7.app.AppCompatDelegateImplBase.<init>(AppCompatDelegateImplBase.java:129)
at android.support.v7.app.AppCompatDelegateImplV9.<init>(AppCompatDelegateImplV9.java:152)
at android.support.v7.app.AppCompatDelegateImplV11.<init>(AppCompatDelegateImplV11.java:29)
at android.support.v7.app.AppCompatDelegateImplV14.<init>(AppCompatDelegateImplV14.java:53)
at android.support.v7.app.AppCompatDelegate.create(AppCompatDelegate.java:204)
at android.support.v7.app.AppCompatDelegate.create(AppCompatDelegate.java:184)
at android.support.v7.app.AppCompatActivity.getDelegate(AppCompatActivity.java:518)
at android.support.v7.app.AppCompatActivity.onCreate(AppCompatActivity.java:70)
at com.example.lenovo.app.MainActivity.onCreate(MainActivity.java:10)
at android.app.Activity.performCreate(Activity.java:5322)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1093)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2303)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2391)
at android.app.ActivityThread.access$900(ActivityThread.java:166)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1281)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:146)
at android.app.ActivityThread.main(ActivityThread.java:5511)
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:1283)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
at dalvik.system.NativeStart.main(Native Method)
07-06 21:22:07.814 8489-8489/? I/Process: Sending signal. PID: 8489 SIG: 9
add this code to your app.gradle :
android {
//....something
defaultConfig {
generatedDensities = []
}
aaptOptions {
additionalParameters "--no-version-vectors"
}
Yo need to implement correctly VectorDrawableCompat:
1- Make sure that your gradle is updated at less at v2.3.3
dependencies {
classpath 'com.android.tools.build:gradle:2.3.3'
}
2- In your Gradle:
android {
defaultConfig {
vectorDrawables.useSupportLibrary = true
}
}
dependencies {
compile 'com.android.support:appcompat-v7:23.2.0'
}
3- In your Application class:
#Override
public void onCreate() {
super.onCreate();
AppCompatDelegate.setCompatVectorFromResourcesEnabled(true);
}
4- In your xmls use app:srcCompat instead of android:src
Note:
If you are enabling vector compat in each activity like this
static {
AppCompatDelegate.setCompatVectorFromResourcesEnabled(true);
}
please don't forget extend your activity from AppCompatActivity
If still not works please provide us more information about your project
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.
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.