2016-10-27 14 views
0

私は activeandroid使用しようとしていますが、すべてがアンドロイド6および7 で正常に動作しますが、私は上でそれを実行しようとすると、 OS 5私が手:ActiveAndroid「java.lang.NoClassDefFoundErrorが:android.support.v4.hardware.fingerprint.FingerprintManagerCompatAp」

ます。java.lang.NoClassDefFoundError:android.support.v4.hardware.fingerprint.FingerprintManagerCompatApi23を

android { 
    compileSdkVersion 24 
    buildToolsVersion "24.0.2" 
    defaultConfig { 
     applicationId "com.koa.testactive" 
     minSdkVersion 16 
     targetSdkVersion 24 
     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(dir: 'libs', include: ['*.jar']) 
    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:24.2.1' 
    compile 'com.android.support:design:24.2.1' 
    compile 'com.android.support:cardview-v7:24.2.1' 
    compile 'com.android.support:multidex:1.0.0' 
    compile 'com.android.support:support-v4:24.2.1' 

    testCompile 'junit:junit:4.12' 

    //compile 'com.github.satyan:sugar:1.5' 
    compile 'com.michaelpardo:activeandroid:3.1.0-SNAPSHOT' 
} 
+0

これでOS 4で試してみました。 – user987760

答えて

0

は多分ActiveAndroidは目を引き起こしました問題が発生した場合は、そのバージョンを最新のものに変更して、再試行してください。

+0

最新のバージョン – user987760

+0

最新のActiveAndroidバージョンは何ですか? – user987760

関連する問題