Abdul azeez VP
Abdul azeez VP

Reputation: 185

How to solve error "FAILURE:Build failed with an exception" in android studio?

FAILURE: Build failed with an exception.

BUILD FAILED in 267ms 5 actionable tasks: 1 executed, 4 up-to-date

Upvotes: 2

Views: 26870

Answers (3)

Muhammad Rabiu
Muhammad Rabiu

Reputation: 1

please how to fix this issues, FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:processDebugGoogleServices'. > No matching client found for package name 'com.example.chat_sms_app' * Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights.

Upvotes: -1

Muhammad Ameen
Muhammad Ameen

Reputation: 165

If all the think is best but not work you add this line

defaultConfig { applicationId "com.sendpulse.sendpulse"

minSdkVersion 15

targetSdkVersion 21

multiDexEnabled true //Add me//

}

Upvotes: 0

Usman Hamidu
Usman Hamidu

Reputation: 37

Go to settings/build, execution, Deployment/ gradle/ and uncheck offline work and run build again

Upvotes: 2

Related Questions