/Library/Java/JavaVirtualMachines/jdk1.7.0_60.jdk/Contents/Home/bin/java \"- com.intellij.rt.execution.application.AppMain org.gradle.launcher.GradleMain --build-fil
Instead of using runProguard in your gradle file, try using minifyEnabled. This should fix the issue. runProguard is deprecated and soon be stop working.
NOTE - To use minifyEnabled, gradle should be updated to version 2.2 or above.
I had the same problem after updating android studio to 1.0 RC 3. I couldn't import my project to new version. i had to create a new project and add the files to the new project from the previous project manually.
After that I found a change in the gradle build file.
Here is the change:
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
Instead of "runProguard false" use "minifyEnabled false"
don't forget to change all renderscriptSupportMode to renderscriptSupportModeEnabled !
Also thoose who are in all your libs's project
There is an update with Android Studio, you need to migrate your Gradle configurations : http://tools.android.com/tech-docs/new-build-system/migrating-to-1-0-0
Works for me (after updating to 1.0 "final"):
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
Should to be updated too: Gradle 2.2 (or above), "SDK-Tools", Support Repository, Support Library, Play Services, etc,etc,
you need to do couple of things to migrate from 0.9 to 1.0 see http://tools.android.com/tech-docs/new-build-system/migrating-to-1-0-0