B站课堂的喜马拉雅项目P3,在添加依赖、同步之后一直报错,内容如下:
我用的是Android Studio 3.5.2版本,gradle版本为5.4.1。
缺少的内容也去官网下载了,复制粘贴过去之后依然不可以。
下载得到的demo也跑不起来,之前告诉我需要gradle 5.1.1,但是下载好、放到正确位置之后,就会一直卡在configure build这里

项目报错错误内容如下:
ERROR: java.lang.String cannot be cast to java.util.Iterator
Possible causes for this unexpected error include:
Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)
Re-download dependencies and sync project (requires network)
The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this problem.
Stop Gradle build processes (requires restart)
Your project may be using a third-party plugin which is not compatible with the other plugins in the project or the version of Gradle requested by the project.
In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes.
建议卸载干净Android studio。之后再重装,具体卸载请点击链接https://blog.csdn.net/bzlj2912009596/article/details/87279794