Execution failed for task ':app:mergeDebugResource'. > A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade > invalid stream header: 00000000 code example
Example: Execution failed for task ':app:packageDebug'. > A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade > java.io.IOException: Failed to generate v1 signature
deleting ~/.android/debug.keystore file.