I\'m trying to Implement GCM Client in Android Studio following the steps on this website: Implementing GCM Client on Android
As mentioned under \"Set Up Google Play Se
Have you tried to check your "buildToolsVersion"? If not, go to setting->app->properties->check your build version to see if you find it, if not use the max version you have or update it.
Regarding this error:"finished with non-zero exit value 1" there are several reason, if it caused by RAM, try restart your device, if it caused by your java environment, maybe you should reinstall.