Android 显示ClassNotFoundException

Android 显示ClassNotFoundException,android,classnotfoundexception,Android,Classnotfoundexception,我已经实现了一个在棉花糖版本上成功运行的应用程序,但是当我在kitkat版本上运行时,它会显示异常,即java.lang.ClassNotFoundException。我不知道为什么在我使用min sdk版本为16,max版本为25时会出现此异常。请检查下图 在Mainfest上飞溅 <activity android:name="com.devbhoomimedia.maangal.SplashActivity" android:label="Maan

我已经实现了一个在棉花糖版本上成功运行的应用程序,但是当我在kitkat版本上运行时,它会显示异常,即java.lang.ClassNotFoundException。我不知道为什么在我使用min sdk版本为16,max版本为25时会出现此异常。请检查下图

在Mainfest上飞溅

 <activity
        android:name="com.devbhoomimedia.maangal.SplashActivity"
        android:label="Maangal.com"
        android:theme="@style/AppTheme">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>

从gradle文件中删除
multiDexEnabled=true

以文本形式而不是图像发布日志。发布gradle文件并添加清单条目请检查我的更新question@user6734679从gradle文件中删除
multiDexEnabled=true
android {
compileSdkVersion 24
buildToolsVersion '26.0.2'
defaultConfig {
    applicationId "com.devbhoomimedia.mgltest"
    minSdkVersion 16
    targetSdkVersion 24
    versionCode 1
    versionName "1.0"
    multiDexEnabled true
    vectorDrawables.useSupportLibrary = true

}
buildTypes {
    release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 
 'proguard-rules.pro'
    }
}
sourceSets { main { assets.srcDirs = ['src/main/assets', 'src/main/assets/'] 
 } 
 }
}

dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:24.2.0'
compile 'com.android.support:design:24.2.0'
compile 'com.android.support:cardview-v7:24.2.0'
compile 'com.squareup.picasso:picasso:2.5.2'
compile 'de.hdodenhof:circleimageview:2.1.0'
compile 'com.mcxiaoke.volley:library-aar:1.0.0'
compile 'com.weiwangcn.betterspinner:library-material:1.1.0'
compile 'com.android.support:recyclerview-v7:24.2.0'
compile 'com.android.support:support-v4:24.2.0'
compile project(path: ':library')
compile 'com.google.android.gms:play-services-appindexing:8.1.0'
compile 'com.android.support:recyclerview-v7:24.1.0'
compile project(':library_spinner')
}