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
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)
I am developing an android native app that uses a SyncAdapter to check a restful API and manipulate the local SQLiteDatabase accordingly.
The app is working completely fine on emulator, but when I generate APK and install it on an android phone, the internet connection does not get established and therefore no API call is made.
Any ideas on what the issue might be? The INTERNET permission is added to my AndroidManifest.xml by the way.
The following is the device's LogCat:
12-11 04:15:28.396 2973-2973/? D/dalvikvm: Zygote::ForkAndSpecialize : 0
12-11 04:15:28.397 2973-2973/? E/cutils: to chown(/mnt/shell/emulated/0, 0, 0)
12-11 04:15:28.398 2973-2973/? E/cutils: to chown(/mnt/shell/emulated/obb, 0, 0)
12-11 04:15:28.399 2973-2973/? E/cutils: to chown(/storage/emulated/0/Android, 0, 0)
12-11 04:15:28.399 2973-2973/? E/cutils: to chown(/storage/emulated/0/Android/obb, 0, 0)
12-11 04:15:28.400 2973-2973/? D/dalvikvm: zygote get new systemTid : 2973
12-11 04:15:28.400 2973-2973/? D/dalvikvm: Late-enabling CheckJNI
12-11 04:15:28.400 2973-2978/? D/dalvikvm: threadid=2: interp stack at 0x4f6a8000
12-11 04:15:28.401 2973-2979/? D/dalvikvm: threadid=3: interp stack at 0x4f7b0000
12-11 04:15:28.401 2973-2979/? D/dalvikvm: Elevating priority from 0 to -8
12-11 04:15:28.401 2973-2973/? D/jdwp: prepping for JDWP over ADB
12-11 04:15:28.401 2973-2973/? D/jdwp: ADB transport startup
12-11 04:15:28.402 2973-2980/? D/dalvikvm: threadid=4: interp stack at 0x4f8b8000
12-11 04:15:28.402 2973-2980/? D/jdwp: JDWP: thread running
12-11 04:15:28.403 2973-2980/? D/jdwp: acceptConnection
12-11 04:15:28.403 2973-2980/? D/jdwp: trying to receive file descriptor from ADB
12-11 04:15:28.403 2973-2981/tech.dalvandi.dataplay1 D/dalvikvm: threadid=5: interp stack at 0x545f8000
12-11 04:15:28.404 2973-2973/tech.dalvandi.dataplay1 D/dalvikvm: zygote get thread init done
12-11 04:15:28.404 2973-2973/tech.dalvandi.dataplay1 D/dalvikvm: create interp thread : stack size=32KB
12-11 04:15:28.404 2973-2973/tech.dalvandi.dataplay1 D/dalvikvm: create new thread
12-11 04:15:28.404 2973-2973/tech.dalvandi.dataplay1 D/dalvikvm: new thread created
12-11 04:15:28.404 2973-2973/tech.dalvandi.dataplay1 D/dalvikvm: update thread list
12-11 04:15:28.404 2973-2982/tech.dalvandi.dataplay1 D/dalvikvm: threadid=6: interp stack at 0x54600000
12-11 04:15:28.404 2973-2982/tech.dalvandi.dataplay1 D/dalvikvm: threadid=6: created from interp
12-11 04:15:28.404 2973-2973/tech.dalvandi.dataplay1 D/dalvikvm: start new thread
12-11 04:15:28.404 2973-2973/tech.dalvandi.dataplay1 D/dalvikvm: create interp thread : stack size=32KB
12-11 04:15:28.404 2973-2973/tech.dalvandi.dataplay1 D/dalvikvm: create new thread
12-11 04:15:28.404 2973-2982/tech.dalvandi.dataplay1 D/dalvikvm: threadid=6: notify debugger
12-11 04:15:28.404 2973-2982/tech.dalvandi.dataplay1 D/dalvikvm: threadid=6 (ReferenceQueueDaemon): calling run()
12-11 04:15:28.405 2973-2973/tech.dalvandi.dataplay1 D/dalvikvm: new thread created
12-11 04:15:28.405 2973-2973/tech.dalvandi.dataplay1 D/dalvikvm: update thread list
12-11 04:15:28.405 2973-2983/tech.dalvandi.dataplay1 D/dalvikvm: threadid=7: interp stack at 0x54708000
12-11 04:15:28.405 2973-2983/tech.dalvandi.dataplay1 D/dalvikvm: threadid=7: created from interp
12-11 04:15:28.405 2973-2973/tech.dalvandi.dataplay1 D/dalvikvm: start new thread
12-11 04:15:28.405 2973-2973/tech.dalvandi.dataplay1 D/dalvikvm: create interp thread : stack size=32KB
12-11 04:15:28.405 2973-2973/tech.dalvandi.dataplay1 D/dalvikvm: create new thread
12-11 04:15:28.405 2973-2973/tech.dalvandi.dataplay1 D/dalvikvm: new thread created
12-11 04:15:28.405 2973-2973/tech.dalvandi.dataplay1 D/dalvikvm: update thread list
12-11 04:15:28.405 2973-2983/tech.dalvandi.dataplay1 D/dalvikvm: threadid=7: notify debugger
12-11 04:15:28.405 2973-2983/tech.dalvandi.dataplay1 D/dalvikvm: threadid=7 (FinalizerDaemon): calling run()
12-11 04:15:28.405 2973-2984/tech.dalvandi.dataplay1 D/dalvikvm: threadid=8: interp stack at 0x54810000
12-11 04:15:28.405 2973-2984/tech.dalvandi.dataplay1 D/dalvikvm: threadid=8: created from interp
12-11 04:15:28.405 2973-2973/tech.dalvandi.dataplay1 D/dalvikvm: start new thread
12-11 04:15:28.405 2973-2984/tech.dalvandi.dataplay1 D/dalvikvm: threadid=8: notify debugger
12-11 04:15:28.405 2973-2984/tech.dalvandi.dataplay1 D/dalvikvm: threadid=8 (FinalizerWatchdogDaemon): calling run()
12-11 04:15:28.410 2973-2980/tech.dalvandi.dataplay1 D/jdwp: received file descriptor 33 from ADB
12-11 04:15:28.411 2973-2985/tech.dalvandi.dataplay1 D/dalvikvm: threadid=9: interp stack at 0x54c16000
12-11 04:15:28.412 2973-2986/tech.dalvandi.dataplay1 D/dalvikvm: threadid=10: interp stack at 0x54d1e000
12-11 04:15:28.415 2973-2980/tech.dalvandi.dataplay1 D/jdwp: processIncoming
12-11 04:15:28.415 2973-2980/tech.dalvandi.dataplay1 D/jdwp: processIncoming
12-11 04:15:28.415 2973-2980/tech.dalvandi.dataplay1 D/jdwp: handlePacket : cmd=0x1, cmdSet=0xC7, len=0x13, id=0x40000081, flags=0x0, dataLen=0x8
12-11 04:15:28.417 2973-2980/tech.dalvandi.dataplay1 D/jdwp: processIncoming
12-11 04:15:28.418 2973-2980/tech.dalvandi.dataplay1 D/jdwp: handlePacket : cmd=0x1, cmdSet=0xC7, len=0x17, id=0x40000082, flags=0x0, dataLen=0xC
12-11 04:15:28.418 2973-2973/tech.dalvandi.dataplay1 D/jdwp: sendBufferedRequest : len=0x3D
12-11 04:15:28.418 2973-2980/tech.dalvandi.dataplay1 D/jdwp: processIncoming
12-11 04:15:28.418 2973-2980/tech.dalvandi.dataplay1 D/jdwp: handlePacket : cmd=0x1, cmdSet=0xC7, len=0x13, id=0x40000083, flags=0x0, dataLen=0x8
12-11 04:15:28.419 2973-2980/tech.dalvandi.dataplay1 D/jdwp: processIncoming
12-11 04:15:28.419 2973-2980/tech.dalvandi.dataplay1 D/jdwp: handlePacket : cmd=0x1, cmdSet=0xC7, len=0x13, id=0x40000084, flags=0x0, dataLen=0x8
12-11 04:15:28.419 2973-2980/tech.dalvandi.dataplay1 D/jdwp: processIncoming
12-11 04:15:28.419 2973-2980/tech.dalvandi.dataplay1 D/jdwp: handlePacket : cmd=0x1, cmdSet=0xC7, len=0x14, id=0x40000085, flags=0x0, dataLen=0x9
12-11 04:15:28.438 2973-2973/tech.dalvandi.dataplay1 D/jdwp: sendBufferedRequest : len=0x49
12-11 04:15:28.444 2973-2973/tech.dalvandi.dataplay1 D/dalvikvm: open_cached_dex_file : /data/app/tech.dalvandi.dataplay1-2.apk /data/dalvik-cache/data#app#tech.dalvandi.dataplay1-2.apk#classes.dex
12-11 04:15:28.451 2973-2973/tech.dalvandi.dataplay1 D/dalvikvm: create interp thread : stack size=32KB
12-11 04:15:28.451 2973-2973/tech.dalvandi.dataplay1 D/dalvikvm: create new thread
12-11 04:15:28.452 2973-2973/tech.dalvandi.dataplay1 D/dalvikvm: new thread created
12-11 04:15:28.452 2973-2973/tech.dalvandi.dataplay1 D/dalvikvm: update thread list
12-11 04:15:28.452 2973-2987/tech.dalvandi.dataplay1 D/dalvikvm: threadid=11: interp stack at 0x551d5000
12-11 04:15:28.452 2973-2987/tech.dalvandi.dataplay1 D/dalvikvm: threadid=11: created from interp
12-11 04:15:28.452 2973-2973/tech.dalvandi.dataplay1 D/dalvikvm: start new thread
12-11 04:15:28.452 2973-2987/tech.dalvandi.dataplay1 D/dalvikvm: threadid=11: notify debugger
12-11 04:15:28.452 2973-2987/tech.dalvandi.dataplay1 D/dalvikvm: threadid=11 (Stetho-Listener): calling run()
12-11 04:15:28.454 2973-2987/tech.dalvandi.dataplay1 I/stetho: Listening on #stetho_tech.dalvandi.dataplay1_devtools_remote
12-11 04:15:28.466 2973-2973/tech.dalvandi.dataplay1 I/dalvikvm: Could not find method android.view.Window$Callback.onPointerCaptureChanged, referenced from method android.support.v7.view.WindowCallbackWrapper.onPointerCaptureChanged
12-11 04:15:28.466 2973-2973/tech.dalvandi.dataplay1 W/dalvikvm: VFY: unable to resolve interface method 16088: Landroid/view/Window$Callback;.onPointerCaptureChanged (Z)V
12-11 04:15:28.466 2973-2973/tech.dalvandi.dataplay1 D/dalvikvm: VFY: replacing opcode 0x72 at 0x0002
12-11 04:15:28.467 2973-2973/tech.dalvandi.dataplay1 I/dalvikvm: Could not find method android.view.Window$Callback.onProvideKeyboardShortcuts, referenced from method android.support.v7.view.WindowCallbackWrapper.onProvideKeyboardShortcuts
12-11 04:15:28.467 2973-2973/tech.dalvandi.dataplay1 W/dalvikvm: VFY: unable to resolve interface method 16090: Landroid/view/Window$Callback;.onProvideKeyboardShortcuts (Ljava/util/List;Landroid/view/Menu;I)V
12-11 04:15:28.467 2973-2973/tech.dalvandi.dataplay1 D/dalvikvm: VFY: replacing opcode 0x72 at 0x0002
12-11 04:15:28.467 2973-2973/tech.dalvandi.dataplay1 W/dalvikvm: VFY: unable to find class referenced in signature (Landroid/view/SearchEvent;)
12-11 04:15:28.467 2973-2973/tech.dalvandi.dataplay1 I/dalvikvm: Could not find method android.view.Window$Callback.onSearchRequested, referenced from method android.support.v7.view.WindowCallbackWrapper.onSearchRequested
12-11 04:15:28.467 2973-2973/tech.dalvandi.dataplay1 W/dalvikvm: VFY: unable to resolve interface method 16092: Landroid/view/Window$Callback;.onSearchRequested (Landroid/view/SearchEvent;)Z
12-11 04:15:28.467 2973-2973/tech.dalvandi.dataplay1 D/dalvikvm: VFY: replacing opcode 0x72 at 0x0002
12-11 04:15:28.467 2973-2973/tech.dalvandi.dataplay1 I/dalvikvm: Could not find method android.view.Window$Callback.onWindowStartingActionMode, referenced from method android.support.v7.view.WindowCallbackWrapper.onWindowStartingActionMode
12-11 04:15:28.467 2973-2973/tech.dalvandi.dataplay1 W/dalvikvm: VFY: unable to resolve interface method 16096: Landroid/view/Window$Callback;.onWindowStartingActionMode (Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode;
12-11 04:15:28.467 2973-2973/tech.dalvandi.dataplay1 D/dalvikvm: VFY: replacing opcode 0x72 at 0x0002
12-11 04:15:28.470 2973-2973/tech.dalvandi.dataplay1 I/dalvikvm: Could not find method android.content.res.TypedArray.getChangingConfigurations, referenced from method android.support.v7.widget.TintTypedArray.getChangingConfigurations
12-11 04:15:28.470 2973-2973/tech.dalvandi.dataplay1 W/dalvikvm: VFY: unable to resolve virtual method 744: Landroid/content/res/TypedArray;.getChangingConfigurations ()I
12-11 04:15:28.470 2973-2973/tech.dalvandi.dataplay1 D/dalvikvm: VFY: replacing opcode 0x6e at 0x0002
12-11 04:15:28.472 2973-2973/tech.dalvandi.dataplay1 I/dalvikvm: Could not find method android.content.res.TypedArray.getType, referenced from method android.support.v7.widget.TintTypedArray.getType
12-11 04:15:28.472 2973-2973/tech.dalvandi.dataplay1 W/dalvikvm: VFY: unable to resolve virtual method 766: Landroid/content/res/TypedArray;.getType (I)I
12-11 04:15:28.472 2973-2973/tech.dalvandi.dataplay1 D/dalvikvm: VFY: replacing opcode 0x6e at 0x0008
12-11 04:15:28.480 2973-2973/tech.dalvandi.dataplay1 I/dalvikvm: Could not find method android.content.Context.createDeviceProtectedStorageContext, referenced from method android.support.v4.content.ContextCompat.createDeviceProtectedStorageContext
12-11 04:15:28.480 2973-2973/tech.dalvandi.dataplay1 W/dalvikvm: VFY: unable to resolve virtual method 511: Landroid/content/Context;.createDeviceProtectedStorageContext ()Landroid/content/Context;
12-11 04:15:28.480 2973-2973/tech.dalvandi.dataplay1 D/dalvikvm: VFY: replacing opcode 0x6e at 0x0006
12-11 04:15:28.480 2973-2973/tech.dalvandi.dataplay1 I/dalvikvm: Could not find method android.content.Context.getCodeCacheDir, referenced from method android.support.v4.content.ContextCompat.getCodeCacheDir
12-11 04:15:28.480 2973-2973/tech.dalvandi.dataplay1 W/dalvikvm: VFY: unable to resolve virtual method 518: Landroid/content/Context;.getCodeCacheDir ()Ljava/io/File;
12-11 04:15:28.480 2973-2973/tech.dalvandi.dataplay1 D/dalvikvm: VFY: replacing opcode 0x6e at 0x0006
12-11 04:15:28.481 2973-2973/tech.dalvandi.dataplay1 I/dalvikvm: Could not find method android.content.Context.getColor, referenced from method android.support.v4.content.ContextCompat.getColor
12-11 04:15:28.481 2973-2973/tech.dalvandi.dataplay1 W/dalvikvm: VFY: unable to resolve virtual method 519: Landroid/content/Context;.getColor (I)I
12-11 04:15:28.481 2973-2973/tech.dalvandi.dataplay1 D/dalvikvm: VFY: replacing opcode 0x6e at 0x0006
12-11 04:15:28.481 2973-2973/tech.dalvandi.dataplay1 I/dalvikvm: Could not find method android.content.Context.getColorStateList, referenced from method android.support.v4.content.ContextCompat.getColorStateList
12-11 04:15:28.481 2973-2973/tech.dalvandi.dataplay1 W/dalvikvm: VFY: unable to resolve virtual method 520: Landroid/content/Context;.getColorStateList (I)Landroid/content/res/ColorStateList;
12-11 04:15:28.481 2973-2973/tech.dalvandi.dataplay1 D/dalvikvm: VFY: replacing opcode 0x6e at 0x0006
12-11 04:15:28.481 2973-2973/tech.dalvandi.dataplay1 I/dalvikvm: Could not find method android.content.Context.getDataDir, referenced from method android.support.v4.content.ContextCompat.getDataDir
12-11 04:15:28.481 2973-2973/tech.dalvandi.dataplay1 W/dalvikvm: VFY: unable to resolve virtual method 522: Landroid/content/Context;.getDataDir ()Ljava/io/File;
12-11 04:15:28.481 2973-2973/tech.dalvandi.dataplay1 D/dalvikvm: VFY: replacing opcode 0x6e at 0x0006
12-11 04:15:28.481 2973-2973/tech.dalvandi.dataplay1 I/dalvikvm: Could not find method android.content.Context.getDrawable, referenced from method android.support.v4.content.ContextCompat.getDrawable
12-11 04:15:28.481 2973-2973/tech.dalvandi.dataplay1 W/dalvikvm: VFY: unable to resolve virtual method 524: Landroid/content/Context;.getDrawable (I)Landroid/graphics/drawable/Drawable;
12-11 04:15:28.481 2973-2973/tech.dalvandi.dataplay1 D/dalvikvm: VFY: replacing opcode 0x6e at 0x0006
12-11 04:15:28.481 2973-2973/tech.dalvandi.dataplay1 I/dalvikvm: Could not find method android.content.Context.getExternalCacheDirs, referenced from method android.support.v4.content.ContextCompat.getExternalCacheDirs
12-11 04:15:28.481 2973-2973/tech.dalvandi.dataplay1 W/dalvikvm: VFY: unable to resolve virtual method 526: Landroid/content/Context;.getExternalCacheDirs ()[Ljava/io/File;
12-11 04:15:28.481 2973-2973/tech.dalvandi.dataplay1 D/dalvikvm: VFY: replacing opcode 0x6e at 0x0006
12-11 04:15:28.481 2973-2973/tech.dalvandi.dataplay1 I/dalvikvm: Could not find method android.content.Context.getExternalFilesDirs, referenced from method android.support.v4.content.ContextCompat.getExternalFilesDirs
12-11 04:15:28.481 2973-2973/tech.dalvandi.dataplay1 W/dalvikvm: VFY: unable to resolve virtual method 528: Landroid/content/Context;.getExternalFilesDirs (Ljava/lang/String;)[Ljava/io/File;
12-11 04:15:28.481 2973-2973/tech.dalvandi.dataplay1 D/dalvikvm: VFY: replacing opcode 0x6e at 0x0006
12-11 04:15:28.481 2973-2973/tech.dalvandi.dataplay1 I/dalvikvm: Could not find method android.content.Context.getNoBackupFilesDir, referenced from method android.support.v4.content.ContextCompat.getNoBackupFilesDir
12-11 04:15:28.481 2973-2973/tech.dalvandi.dataplay1 W/dalvikvm: VFY: unable to resolve virtual method 532: Landroid/content/Context;.getNoBackupFilesDir ()Ljava/io/File;
12-11 04:15:28.481 2973-2973/tech.dalvandi.dataplay1 D/dalvikvm: VFY: replacing opcode 0x6e at 0x0006
12-11 04:15:28.481 2973-2973/tech.dalvandi.dataplay1 I/dalvikvm: Could not find method android.content.Context.getObbDirs, referenced from method android.support.v4.content.ContextCompat.getObbDirs
12-11 04:15:28.482 2973-2973/tech.dalvandi.dataplay1 W/dalvikvm: VFY: unable to resolve virtual method 534: Landroid/content/Context;.getObbDirs ()[Ljava/io/File;
12-11 04:15:28.482 2973-2973/tech.dalvandi.dataplay1 D/dalvikvm: VFY: replacing opcode 0x6e at 0x0006
12-11 04:15:28.482 2973-2973/tech.dalvandi.dataplay1 I/dalvikvm: Could not find method android.content.Context.isDeviceProtectedStorage, referenced from method android.support.v4.content.ContextCompat.isDeviceProtectedStorage
12-11 04:15:28.482 2973-2973/tech.dalvandi.dataplay1 W/dalvikvm: VFY: unable to resolve virtual method 545: Landroid/content/Context;.isDeviceProtectedStorage ()Z
12-11 04:15:28.482 2973-2973/tech.dalvandi.dataplay1 D/dalvikvm: VFY: replacing opcode 0x6e at 0x0006
12-11 04:15:28.482 2973-2973/tech.dalvandi.dataplay1 I/dalvikvm: Could not find method android.content.Context.startForegroundService, referenced from method android.support.v4.content.ContextCompat.startForegroundService
12-11 04:15:28.482 2973-2973/tech.dalvandi.dataplay1 W/dalvikvm: VFY: unable to resolve virtual method 560: Landroid/content/Context;.startForegroundService (Landroid/content/Intent;)Landroid/content/ComponentName;
12-11 04:15:28.482 2973-2973/tech.dalvandi.dataplay1 D/dalvikvm: VFY: replacing opcode 0x6e at 0x0006
12-11 04:15:28.494 2973-2973/tech.dalvandi.dataplay1 D/skia: Flag is not 10
12-11 04:15:28.516 2973-2973/tech.dalvandi.dataplay1 I/dalvikvm: Could not find method android.widget.FrameLayout.startActionModeForChild, referenced from method android.support.v7.widget.ActionBarContainer.startActionModeForChild
12-11 04:15:28.516 2973-2973/tech.dalvandi.dataplay1 W/dalvikvm: VFY: unable to resolve virtual method 16558: Landroid/widget/FrameLayout;.startActionModeForChild (Landroid/view/View;Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode;
12-11 04:15:28.516 2973-2973/tech.dalvandi.dataplay1 D/dalvikvm: VFY: replacing opcode 0x6f at 0x0002
12-11 04:15:28.525 2973-2973/tech.dalvandi.dataplay1 I/dalvikvm: Could not find method android.content.Context.getColorStateList, referenced from method android.support.v7.content.res.AppCompatResources.getColorStateList
12-11 04:15:28.525 2973-2973/tech.dalvandi.dataplay1 W/dalvikvm: VFY: unable to resolve virtual method 520: Landroid/content/Context;.getColorStateList (I)Landroid/content/res/ColorStateList;
12-11 04:15:28.525 2973-2973/tech.dalvandi.dataplay1 D/dalvikvm: VFY: replacing opcode 0x6e at 0x0006
12-11 04:15:28.531 2973-2973/tech.dalvandi.dataplay1 W/dalvikvm: VFY: unable to find class referenced in signature (Landroid/graphics/drawable/Icon;)
12-11 04:15:28.531 2973-2973/tech.dalvandi.dataplay1 I/dalvikvm: Could not find method android.widget.ImageButton.setImageIcon, referenced from method android.support.v7.widget.AppCompatImageButton.setImageIcon
12-11 04:15:28.531 2973-2973/tech.dalvandi.dataplay1 W/dalvikvm: VFY: unable to resolve virtual method 16581: Landroid/widget/ImageButton;.setImageIcon (Landroid/graphics/drawable/Icon;)V
12-11 04:15:28.531 2973-2973/tech.dalvandi.dataplay1 D/dalvikvm: VFY: replacing opcode 0x6f at 0x0000
12-11 04:15:28.532 2973-2973/tech.dalvandi.dataplay1 I/dalvikvm: Could not find method android.content.res.Resources.getDrawable, referenced from method android.support.v7.widget.ResourcesWrapper.getDrawable
12-11 04:15:28.532 2973-2973/tech.dalvandi.dataplay1 W/dalvikvm: VFY: unable to resolve virtual method 707: Landroid/content/res/Resources;.getDrawable (ILandroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable;
12-11 04:15:28.532 2973-2973/tech.dalvandi.dataplay1 D/dalvikvm: VFY: replacing opcode 0x6e at 0x0002
12-11 04:15:28.532 2973-2973/tech.dalvandi.dataplay1 I/dalvikvm: Could not find method android.content.res.Resources.getDrawableForDensity, referenced from method android.support.v7.widget.ResourcesWrapper.getDrawableForDensity
12-11 04:15:28.532 2973-2973/tech.dalvandi.dataplay1 W/dalvikvm: VFY: unable to resolve virtual method 709: Landroid/content/res/Resources;.getDrawableForDensity (IILandroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable;
12-11 04:15:28.532 2973-2973/tech.dalvandi.dataplay1 D/dalvikvm: VFY: replacing opcode 0x6e at 0x0002
12-11 04:15:28.535 2973-2973/tech.dalvandi.dataplay1 D/skia: Flag is not 10
12-11 04:15:28.538 2973-2973/tech.dalvandi.dataplay1 D/skia: Flag is not 10
12-11 04:15:28.539 2973-2973/tech.dalvandi.dataplay1 D/skia: Flag is not 10
12-11 04:15:28.545 2973-2973/tech.dalvandi.dataplay1 D/skia: Flag is not 10
12-11 04:15:28.549 2973-2973/tech.dalvandi.dataplay1 E/dalvikvm: Could not find class 'android.graphics.drawable.RippleDrawable', referenced from method android.support.v7.widget.AppCompatImageHelper.hasOverlappingRendering
12-11 04:15:28.549 2973-2973/tech.dalvandi.dataplay1 W/dalvikvm: VFY: unable to resolve instanceof 214 (Landroid/graphics/drawable/RippleDrawable;) in Landroid/support/v7/widget/AppCompatImageHelper;
12-11 04:15:28.549 2973-2973/tech.dalvandi.dataplay1 D/dalvikvm: VFY: replacing opcode 0x20 at 0x000c
12-11 04:15:28.557 2973-2973/tech.dalvandi.dataplay1 D/skia: Flag is not 10
12-11 04:15:28.567 2973-2973/tech.dalvandi.dataplay1 I/dalvikvm: Could not find method android.widget.TextView.getAutoSizeMaxTextSize, referenced from method android.support.v7.widget.AppCompatTextView.getAutoSizeMaxTextSize
12-11 04:15:28.567 2973-2973/tech.dalvandi.dataplay1 W/dalvikvm: VFY: unable to resolve virtual method 16881: Landroid/widget/TextView;.getAutoSizeMaxTextSize ()I
12-11 04:15:28.567 2973-2973/tech.dalvandi.dataplay1 D/dalvikvm: VFY: replacing opcode 0x6f at 0x0006
12-11 04:15:28.567 2973-2973/tech.dalvandi.dataplay1 I/dalvikvm: Could not find method android.widget.TextView.getAutoSizeMinTextSize, referenced from method android.support.v7.widget.AppCompatTextView.getAutoSizeMinTextSize
12-11 04:15:28.567 2973-2973/tech.dalvandi.dataplay1 W/dalvikvm: VFY: unable to resolve virtual method 16882: Landroid/widget/TextView;.getAutoSizeMinTextSize ()I
12-11 04:15:28.567 2973-2973/tech.dalvandi.dataplay1 D/dalvikvm: VFY: replacing opcode 0x6f at 0x0006
12-11 04:15:28.567 2973-2973/tech.dalvandi.dataplay1 I/dalvikvm: Could not find method android.widget.TextView.getAutoSizeStepGranularity, referenced from method android.support.v7.widget.AppCompatTextView.getAutoSizeStepGranularity
12-11 04:15:28.568 2973-2973/tech.dalvandi.dataplay1 W/dalvikvm: VFY: unable to resolve virtual method 16883: Landroid/widget/TextView;.getAutoSizeStepGranularity ()I
12-11 04:15:28.568 2973-2973/tech.dalvandi.dataplay1 D/dalvikvm: VFY: replacing opcode 0x6f at 0x0006
12-11 04:15:28.568 2973-2973/tech.dalvandi.dataplay1 I/dalvikvm: Could not find method android.widget.TextView.getAutoSizeTextAvailableSizes, referenced from method android.support.v7.widget.AppCompatTextView.getAutoSizeTextAvailableSizes
12-11 04:15:28.568 2973-2973/tech.dalvandi.dataplay1 W/dalvikvm: VFY: unable to resolve virtual method 16884: Landroid/widget/TextView;.getAutoSizeTextAvailableSizes ()[I
12-11 04:15:28.568 2973-2973/tech.dalvandi.dataplay1 D/dalvikvm: VFY: replacing opcode 0x6f at 0x0006
12-11 04:15:28.568 2973-2973/tech.dalvandi.dataplay1 I/dalvikvm: Could not find method android.widget.TextView.getAutoSizeTextType, referenced from method android.support.v7.widget.AppCompatTextView.getAutoSizeTextType
12-11 04:15:28.568 2973-2973/tech.dalvandi.dataplay1 W/dalvikvm: VFY: unable to resolve virtual method 16885: Landroid/widget/TextView;.getAutoSizeTextType ()I
12-11 04:15:28.568 2973-2973/tech.dalvandi.dataplay1 D/dalvikvm: VFY: replacing opcode 0x6f at 0x0008
12-11 04:15:28.568 2973-2973/tech.dalvandi.dataplay1 I/dalvikvm: Could not find method android.widget.TextView.setAutoSizeTextTypeUniformWithConfiguration, referenced from method android.support.v7.widget.AppCompatTextView.setAutoSizeTextTypeUniformWithConfiguration
12-11 04:15:28.568 2973-2973/tech.dalvandi.dataplay1 W/dalvikvm: VFY: unable to resolve virtual method 16929: Landroid/widget/TextView;.setAutoSizeTextTypeUniformWithConfiguration (IIII)V
12-11 04:15:28.569 2973-2973/tech.dalvandi.dataplay1 D/dalvikvm: VFY: replacing opcode 0x6f at 0x0006
12-11 04:15:28.569 2973-2973/tech.dalvandi.dataplay1 I/dalvikvm: Could not find method android.widget.TextView.setAutoSizeTextTypeUniformWithPresetSizes, referenced from method android.support.v7.widget.AppCompatTextView.setAutoSizeTextTypeUniformWithPresetSizes
12-11 04:15:28.569 2973-2973/tech.dalvandi.dataplay1 W/dalvikvm: VFY: unable to resolve virtual method 16930: Landroid/widget/TextView;.setAutoSizeTextTypeUniformWithPresetSizes ([II)V
12-11 04:15:28.569 2973-2973/tech.dalvandi.dataplay1 D/dalvikvm: VFY: replacing opcode 0x6f at 0x0006
12-11 04:15:28.569 2973-2973/tech.dalvandi.dataplay1 I/dalvikvm: Could not find method android.widget.TextView.setAutoSizeTextTypeWithDefaults, referenced from method android.support.v7.widget.AppCompatTextView.setAutoSizeTextTypeWithDefaults
12-11 04:15:28.569 2973-2973/tech.dalvandi.dataplay1 W/dalvikvm: VFY: unable to resolve virtual method 16931: Landroid/widget/TextView;.setAutoSizeTextTypeWithDefaults (I)V
12-11 04:15:28.569 2973-2973/tech.dalvandi.dataplay1 D/dalvikvm: VFY: replacing opcode 0x6f at 0x0006
12-11 04:15:28.575 2973-2973/tech.dalvandi.dataplay1 I/dalvikvm: Could not find method android.widget.TextView.getAutoSizeStepGranularity, referenced from method android.support.v7.widget.AppCompatTextHelper.loadFromAttributes
12-11 04:15:28.575 2973-2973/tech.dalvandi.dataplay1 W/dalvikvm: VFY: unable to resolve virtual method 16883: Landroid/widget/TextView;.getAutoSizeStepGranularity ()I
12-11 04:15:28.575 2973-2973/tech.dalvandi.dataplay1 D/dalvikvm: VFY: replacing opcode 0x6e at 0x0197
12-11 04:15:28.578 2973-2973/tech.dalvandi.dataplay1 I/dalvikvm: Could not find method android.text.StaticLayout$Builder.obtain, referenced from method android.support.v7.widget.AppCompatTextViewAutoSizeHelper.createStaticLayoutForMeasuring
12-11 04:15:28.578 2973-2973/tech.dalvandi.dataplay1 W/dalvikvm: VFY: unable to resolve static method 15352: Landroid/text/StaticLayout$Builder;.obtain (Ljava/lang/CharSequence;IILandroid/text/TextPaint;I)Landroid/text/StaticLayout$Builder;
12-11 04:15:28.578 2973-2973/tech.dalvandi.dataplay1 D/dalvikvm: VFY: replacing opcode 0x71 at 0x0014
12-11 04:15:28.580 2973-2973/tech.dalvandi.dataplay1 I/dalvikvm: Could not find method android.widget.TextView.isInLayout, referenced from method android.support.v7.widget.AppCompatTextViewAutoSizeHelper.setRawTextSize
12-11 04:15:28.580 2973-2973/tech.dalvandi.dataplay1 W/dalvikvm: VFY: unable to resolve virtual method 16920: Landroid/widget/TextView;.isInLayout ()Z
12-11 04:15:28.580 2973-2973/tech.dalvandi.dataplay1 D/dalvikvm: VFY: replacing opcode 0x6e at 0x0021
12-11 04:15:28.599 2973-2973/tech.dalvandi.dataplay1 D/skia: Flag is not 10
12-11 04:15:28.610 2973-2973/tech.dalvandi.dataplay1 D/skia: Flag is not 10
12-11 04:15:28.639 2973-2973/tech.dalvandi.dataplay1 D/skia: Flag is not 10
12-11 04:15:28.644 2973-2973/tech.dalvandi.dataplay1 D/skia: Flag is not 10
12-11 04:15:28.647 2973-2973/tech.dalvandi.dataplay1 D/skia: Flag is not 10
12-11 04:15:28.649 2973-2973/tech.dalvandi.dataplay1 D/skia: Flag is not 10
12-11 04:15:28.652 2973-2973/tech.dalvandi.dataplay1 D/skia: Flag is not 10
12-11 04:15:28.655 2973-2973/tech.dalvandi.dataplay1 D/AbsListView: checkAbsListViewlLogProperty get invalid command
12-11 04:15:28.656 2973-2973/tech.dalvandi.dataplay1 D/skia: Flag is not 10
12-11 04:15:28.753 2973-2973/tech.dalvandi.dataplay1 D/libEGL: loaded /vendor/lib/egl/libEGL_mtk.so
12-11 04:15:28.794 2973-2973/tech.dalvandi.dataplay1 D/libEGL: loaded /vendor/lib/egl/libGLESv1_CM_mtk.so
12-11 04:15:28.802 2973-2973/tech.dalvandi.dataplay1 D/libEGL: loaded /vendor/lib/egl/libGLESv2_mtk.so
12-11 04:15:28.869 2973-2973/tech.dalvandi.dataplay1 D/OpenGLRenderer: Enabling debug mode 0
12-11 04:15:28.885 2973-2973/tech.dalvandi.dataplay1 W/dalvikvm: VFY: unable to find class referenced in signature (Landroid/graphics/drawable/Icon;)
12-11 04:15:28.885 2973-2973/tech.dalvandi.dataplay1 I/dalvikvm: Could not find method android.widget.ImageView.setImageIcon, referenced from method android.support.v7.widget.AppCompatImageView.setImageIcon
12-11 04:15:28.885 2973-2973/tech.dalvandi.dataplay1 W/dalvikvm: VFY: unable to resolve virtual method 16619: Landroid/widget/ImageView;.setImageIcon (Landroid/graphics/drawable/Icon;)V
12-11 04:15:28.885 2973-2973/tech.dalvandi.dataplay1 D/dalvikvm: VFY: replacing opcode 0x6f at 0x0000
12-11 04:15:31.511 2973-2973/tech.dalvandi.dataplay1 V/InputMethodManager: onWindowFocus: null softInputMode=272 first=true flags=#1810100
12-11 04:15:31.511 2973-2973/tech.dalvandi.dataplay1 V/InputMethodManager: START INPUT: com.android.internal.policy.impl.PhoneWindow$DecorView{418e4dd8 V.E..... R......D 0,0-800,1216} ic=null tba=android.view.inputmethod.EditorInfo#41a72b08 controlFlags=#104
12-11 04:15:31.514 2973-2973/tech.dalvandi.dataplay1 V/InputMethodManager: Starting input: Bind result=InputBindResult{null com.google.android.inputmethod.latin/com.android.inputmethod.latin.LatinIME #2}
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();
I have created one Accessibility Service but if I switch off the accessibility service(for my app) from settings panel, and the app is not alive, onUnbind of service is not called. onUnbind is called everytime if app is alive.
07-13 11:47:24.327 10974-10974/com.example.tarun.myappforkeyevent I/dalvikvm: Could not find method android.content.Context.getSystemService, referenced from method service.MyAccessibilityService.access$super
07-13 11:47:24.327 10974-10974/com.example.tarun.myappforkeyevent W/dalvikvm: VFY: unable to resolve virtual method 502: Landroid/content/Context;.getSystemService (Ljava/lang/Class;)Ljava/lang/Object;
07-13 11:47:24.329 10974-10974/com.example.tarun.myappforkeyevent D/dalvikvm: VFY: replacing opcode 0x6f at 0x0035
07-13 11:47:24.329 10974-10974/com.example.tarun.myappforkeyevent I/dalvikvm: Could not find method android.content.Context.getColorStateList, referenced from method service.MyAccessibilityService.access$super
07-13 11:47:24.330 10974-10974/com.example.tarun.myappforkeyevent W/dalvikvm: VFY: unable to resolve virtual method 484: Landroid/content/Context;.getColorStateList (I)Landroid/content/res/ColorStateList;
07-13 11:47:24.331 10974-10974/com.example.tarun.myappforkeyevent D/dalvikvm: VFY: replacing opcode 0x6f at 0x004f
07-13 11:47:24.331 10974-10974/com.example.tarun.myappforkeyevent I/dalvikvm: Could not find method android.accessibilityservice.AccessibilityService.getWindows, referenced from method service.MyAccessibilityService.access$super
07-13 11:47:24.332 10974-10974/com.example.tarun.myappforkeyevent W/dalvikvm: VFY: unable to resolve virtual method 25: Landroid/accessibilityservice/AccessibilityService;.getWindows ()Ljava/util/List;
07-13 11:47:24.333 10974-10974/com.example.tarun.myappforkeyevent D/dalvikvm: VFY: replacing opcode 0x6f at 0x0080
07-13 11:47:24.333 10974-10974/com.example.tarun.myappforkeyevent I/dalvikvm: Could not find method android.content.ContextWrapper.getCodeCacheDir, referenced from method service.MyAccessibilityService.access$super
07-13 11:47:24.334 10974-10974/com.example.tarun.myappforkeyevent W/dalvikvm: VFY: unable to resolve virtual method 555: Landroid/content/ContextWrapper;.getCodeCacheDir ()Ljava/io/File;
07-13 11:47:24.335 10974-10974/com.example.tarun.myappforkeyevent D/dalvikvm: VFY: replacing opcode 0x6f at 0x00e6
Why is it showing these errors instead of calling onUnbind?