Disable pre-dexing, causes exceptions on some systems

This commit is contained in:
Dominik Schürmann 2014-06-23 13:44:25 +02:00
parent 514a4c668b
commit e8b96d1035
2 changed files with 6 additions and 2 deletions

View File

@ -29,7 +29,6 @@ dependencies {
testCompile 'com.squareup:fest-android:1.0.8'
testCompile 'com.google.android:android:4.1.1.4'
// compile dependencies are automatically also included in testCompile
}
android {
@ -79,6 +78,11 @@ android {
htmlReport true
htmlOutput file("lint-report.html")
}
// Disable preDexing, causes com.android.dx.cf.iface.ParseException: bad class file magic (cafebabe) or version (0034.0000) on some systems
dexOptions {
preDexLibraries = false
}
}
// NOTE: This disables Lint!