Im trying to generate signed APK Using AndroidStudio but I get this error:
Error:A problem was found with the configuration of task \':app:packageRelease
Try rebuilding the project. So go to Build-> Clean Project. Then generate the signed APK file again (Build -> Generate Signed APK).