Wednesday, 5 September 2018

Android Studio 3.4.1 fixing Execution failed for task ':android:validateSigningDebug'.

This Error normally happens due to misplacement of Key or unavailability of Key which is required to publish .APK to solve this issue follow the below steps.

1. In android studio go to Build-> Generate signed APK
2. Choose create new and select a path to save the file enter the details and remember the Key Alias and password that you enter we will be using this later.

3. Now select the recently created key on the Generate signed APK window.
4. Go to project and select Android right click -> Open Module Setting
5. Select Android under Modules and go to signing tab
6. Give a name and enter the details from step 2 and select the generated key file.
7. No move to build types tab and under debug and release select the config which we created on previous step 7 for Signing config.

8.That's it now clean you project and build it.

No comments:

Post a Comment