Update to Android Studio 0.4.0 (Gradle 0.7+, wrapper 1.9).

See http://tools.android.com/recent/androidstudio040released.