This error means that a file that Gradle has downloaded has become corrupted.
Delete the .gradle directories in both your home directory and in your project's root directory and try building again.
you need to delete cache of android studio and restart build of the project . go to file in android studio and click in invalidate cache screen
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.