找不到类'android.transition.Transition'

时间:2016-08-18 02:27:06

标签: android gradle logcat

我有一个只有一个活动的Android应用程序和7个片段inisde活动,我不知道为什么每次我在Fragments之间更改它会引发以下错误:

应用程序没有崩溃,但我认为它正在减慢它。

logcat抛出此错误:

08-17 21:21:49.637 27378-27378/com.limecream.myday E/dalvikvm: Could not find class 'android.transition.Transition', referenced from method com.limecream.myday.configuracionFragmento.access$super
08-17 21:21:49.657 27378-27378/com.limecream.myday E/dalvikvm: Could not find class 'android.transition.Transition', referenced from method com.limecream.myday.configuracionFragmento.access$super
08-17 21:21:49.667 27378-27378/com.limecream.myday E/dalvikvm: Could not find class 'android.app.SharedElementCallback', referenced from method com.limecream.myday.configuracionFragmento.access$super
08-17 21:21:49.677 27378-27378/com.limecream.myday E/dalvikvm: Could not find class 'android.transition.Transition', referenced from method com.limecream.myday.configuracionFragmento.access$super
08-17 21:21:49.677 27378-27378/com.limecream.myday E/dalvikvm: Could not find class 'android.transition.Transition', referenced from method com.limecream.myday.configuracionFragmento.access$super
08-17 21:21:49.677 27378-27378/com.limecream.myday E/dalvikvm: Could not find class 'android.app.SharedElementCallback', referenced from method com.limecream.myday.configuracionFragmento.access$super
08-17 21:21:49.687 27378-27378/com.limecream.myday E/dalvikvm: Could not find class 'android.transition.Transition', referenced from method com.limecream.myday.configuracionFragmento.access$super
08-17 21:21:49.697 27378-27378/com.limecream.myday E/dalvikvm: Could not find class 'android.transition.Transition', referenced from method com.limecream.myday.configuracionFragmento.access$super

这是我的傻瓜:

apply plugin: 'com.android.application'

android {
    compileSdkVersion 23
    buildToolsVersion '22.0.1'
    defaultConfig {
        applicationId "com.limecream.myday"
        minSdkVersion 15
        targetSdkVersion 23
        versionCode 1
        versionName "1.0"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
    productFlavors {
    }
}

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    compile 'com.android.support:appcompat-v7:23.0.1'
    compile 'de.hdodenhof:circleimageview:1.2.1'
    compile 'com.loopj.android:android-async-http:1.4.9'
    testCompile 'junit:junit:4.12'
    compile 'com.android.support:design:23.0.0'
    compile 'com.mcxiaoke.volley:library-aar:1.0.0'
    compile 'com.makeramen:roundedimageview:2.2.1'
    compile 'net.gotev:uploadservice:2.1'
    compile 'com.squareup.picasso:picasso:2.5.2'
}

android {
    useLibrary 'org.apache.http.legacy'
}

有什么问题?

0 个答案:

没有答案