Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compile error #3

Open
bugparty opened this issue May 17, 2016 · 0 comments
Open

compile error #3

bugparty opened this issue May 17, 2016 · 0 comments

Comments

@bugparty
Copy link

Error:Execution failed for task ':demo:transformClassesWithInstantRunForDebug'.

JSR/RET are not supported with computeFrames option

I am using jdk8, the full gradle configuration is below

apply plugin: 'com.android.application'
apply plugin: 'com.meituan.roboaspectj'

android {
    compileSdkVersion 23
    buildToolsVersion "23.0.1"
    useLibrary 'org.apache.http.legacy'
    defaultConfig {
        applicationId "com.meituan.common.analyse.demo"
        minSdkVersion 15
        targetSdkVersion 23
        versionCode 1
        versionName "1.0"


    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_7
        targetCompatibility JavaVersion.VERSION_1_7
    }
}


// AspectJ
aspectj {
    disableWhenDebug false

    javartNeeded true

    compileOptions {
        defaultJavaVersion = JavaVersion.VERSION_1_8
    }
}

dependencies {
    compile fileTree(include: ['*.jar'], dir: 'libs')
    testCompile 'junit:junit:4.12'
    compile('com.meituan.android:mtmpsdk:0.9.9.6+') {
        transitive = true
    }
    compile 'com.android.support:appcompat-v7:23.3.0'
    compile 'com.android.support:cardview-v7:23.3.0'
    compile 'com.android.support:design:23.3.0'
    compile 'com.android.support:support-v4:23.3.0'
    compile(group: 'com.meituan.android.common.locate', name: 'impl', version: '0.2.6_8.4') {
        exclude module: 'support-v4'
    }
    compile project(':library')
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant