Error:Execution failed for task ':app:validateExternalOverrideSigning'

Lee Sang Gil picture Lee Sang Gil · Jan 18, 2016 · Viewed 16.9k times · Source

I am using caldroid library for calendar activity and It works fine.

But I needed to change it's style.

So I added caldroid library(directory) under the application like this.

enter image description here

and I changed my dependencies

dependencies { ... compile 'com.roomorama:caldroid:2.3.1' ... }

to

dependencies { ... compile project(':libraries:caldroid') ... }

Then, It works fine under the debug mode.

But I can't generate signed APK because of this message.

Error:Execution failed for task ':app:validateExternalOverrideSigning'. Keystore file /Users/xxxxxxx.android.keystore not found for signing config 'externalOverride'.

Is there any solution about this error?

Answer

Paulo Linhares - Packapps picture Paulo Linhares - Packapps · Mar 28, 2016

I had this same problem here. The point is that when you created your KeyStore, Android Studio sent it to another place, different from the path of your app. Probably she was saved in

suaHome/documents/android-studio/bin

Just search it in this place and ready. Everything is solved. Tip: never miss this KeyStore view after you publish your APP with it. I have helped.