خرید بک لینک

Vote count: 0

I am using android studio 2.0 and in last time I upgrade jdk 7 to jdk 8 and I'm making some changes to file gradle but now I am getting this error

    04-26 15:46:22.407 21739-21739/com.mstr.malik.elbalaapps E/InstantRun: Could not find slices in APK; aborting.
04-26 15:46:22.415 21739-21739/com.mstr.malik.elbalaapps I/dalvikvm: Could not find method android.content.Context.getSystemService, referenced from method com.mstr.malik.elbalaapps.ControlPanel.access$super
04-26 15:46:22.415 21739-21739/com.mstr.malik.elbalaapps W/dalvikvm: VFY: unable to resolve virtual method 435: Landroid/content/Context;.getSystemService (Ljava/lang/Class;)Ljava/lang/Object;
04-26 15:46:22.415 21739-21739/com.mstr.malik.elbalaapps D/dalvikvm: VFY: replacing opcode 0x6f at 0x004b
04-26 15:46:22.415 21739-21739/com.mstr.malik.elbalaapps I/dalvikvm: Could not find method android.app.Activity.stopLockTask, referenced from method com.mstr.malik.elbalaapps.ControlPanel.access$super
04-26 15:46:22.415 21739-21739/com.mstr.malik.elbalaapps W/dalvikvm: VFY: unable to resolve virtual method 231: Landroid/app/Activity;.stopLockTask ()V
04-26 15:46:22.415 21739-21739/com.mstr.malik.elbalaapps D/dalvikvm: VFY: replacing opcode 0x6f at 0x00b9
04-26 15:46:22.415 21739-21739/com.mstr.malik.elbalaapps E/dalvikvm: Could not find class 'android.os.PersistableBundle', referenced from method com.mstr.malik.elbalaapps.ControlPanel.access$super
04-26 15:46:22.415 21739-21739/com.mstr.malik.elbalaapps W/dalvikvm: VFY: unable to resolve check-cast 224 (Landroid/os/PersistableBundle;) in Lcom/mstr/malik/elbalaapps/ControlPanel;
04-26 15:46:22.415 21739-21739/com.mstr.malik.elbalaapps D/dalvikvm: VFY: replacing opcode 0x1f at 0x00f1
04-26 15:46:22.415 21739-21739/com.mstr.malik.elbalaapps I/dalvikvm: Could not find method android.content.Context.getColorStateList, referenced from method com.mstr.malik.elbalaapps.ControlPanel.access$super
04-26 15:46:22.415 21739-21739/com.mstr.malik.elbalaapps W/dalvikvm: VFY: unable to resolve virtual method 417: Landroid/content/Context;.getColorStateList (I)Landroid/content/res/ColorStateList;
04-26 15:46:22.415 21739-21739/com.mstr.malik.elbalaapps D/dalvikvm: VFY: replacing opcode 0x6f at 0x0101
04-26 15:46:22.415 21739-21739/com.mstr.malik.elbalaapps I/dalvikvm: Could not find method android.app.Activity.onVisibleBehindCanceled, referenced from method com.mstr.malik.elbalaapps.ControlPanel.access$super
04-26 15:46:22.415 21739-21739/com.mstr.malik.elbalaapps W/dalvikvm: VFY: unable to resolve virtual method 154: Landroid/app/Activity;.onVisibleBehindCanceled ()V
04-26 15:46:22.415 21739-21739/com.mstr.malik.elbalaapps D/dalvikvm: VFY: replacing opcode 0x6f at 0x0111
04-26 15:46:22.419 21739-21739/com.mstr.malik.elbalaapps I/dalvikvm: Could not find method android.app.Activity.onWindowStartingActionMode, referenced from method com.mstr.malik.elbalaapps.ControlPanel.access$super
04-26 15:46:22.419 21739-21739/com.mstr.malik.elbalaapps W/dalvikvm: VFY: unable to resolve virtual method 158: Landroid/app/Activity;.onWindowStartingActionMode (Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode;
04-26 15:46:22.419 21739-21739/com.mstr.malik.elbalaapps D/dalvikvm: VFY: replacing opcode 0x6f at 0x0137
04-26 15:46:22.419 21739-21739/com.mstr.malik.elbalaapps E/dalvikvm: Could not find class 'android.os.PersistableBundle', referenced from method com.mstr.malik.elbalaapps.ControlPanel.access$super
04-26 15:46:22.419 21739-21739/com.mstr.malik.elbalaapps W/dalvikvm: VFY: unable to resolve check-cast 224 (Landroid/os/PersistableBundle;) in Lcom/mstr/malik/elbalaapps/ControlPanel;
04-26 15:46:22.419 21739-21739/com.mstr.malik.elbalaapps D/dalvikvm: VFY: replacing opcode 0x1f at 0x019a

An this is gradle file

apply plugin: 'com.android.application'

android {
    compileSdkVersion 23
    buildToolsVersion "24.0.0 rc3"

    defaultConfig {
        applicationId "com.mstr.malik.elbalaapps"
        minSdkVersion 18
        targetSdkVersion 23
        versionCode 1
        versionName "1.0"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    testCompile 'junit:junit:4.12'
    compile 'com.android.support:appcompat-v7:23.3.0'
}

How can I handle the error, I have tried to chanfe version of compile compile 'com.android.support:appcompat-v7:23.3.0' to compile 'com.android.support:appcompat-v7:23.0.0' It also crash, How can I do it? thanks in advance

asked 51 secs ago

برچسب: نویسنده: استخدام کار تاريخ: چهارشنبه 8 ارديبهشت 1395 ساعت: 3:23

صفحه بندی