I have a project, which i want to configure on my computer.
On anothe computer it works, but with old version of Android Studio 0.4.0 whenever I use 0.5.2
Th
project.tasks.withType(com.android.build.gradle.tasks.Dex) {
additionalParameters=['--core-library']
}
does not work proper,and get the error:
Could not get unknown property 'com' for object of type com.android.build.gradle.AppExtension.
I solve the problem by adding this to android block.
dexOptions {
preDexLibraries = false
additionalParameters=['--core-library']
}
Hoping this is helpful to you!