Whever I try to debug and deploy my android application (in Android Studio 0.9) I get the following error:
Execution failed for task \':app:packageAllDebugCl
1.update google play service
2.add
compile 'com.google.android.gms:play-services-fitness:8.1.0'
compile 'com.google.android.gms:play-services-wearable:8.1.0'
instead of compile 'com.google.android.gms:play-services:8.1.0'
in build.gradle file.
3.
defaultConfig {
multiDexEnabled true
}
dependencies {
compile 'com.android.support:multidex:1.0.1'
}