Error: Finish can only be called once

来源:互联网 发布:重庆知联大厦二手房 编辑:程序博客网 时间:2024/04/28 15:19


Android studio 启动或者新建项目:报错“Error: Finish can only be called once


gradle缓存问题: 默认的额缓存路径在:  

on windows : C:\Users\YourUserName)

1、退出studio

2、进入缓存路径,找到   C:\Users\Administrator\.gradle

3、删除   caches 文件夹  或者   删除 。gradle 文件夹

4、重启动  studio 重新构建;


问题可以解决。






2down votefavorite
1

I have a problem with Gradle building. When I build my project, it displays the error:

Finish can only be called once in android studio

Anyone have idea about this error?


Close Android Sudio, on your Home directory (on windows : C:\Users\YourUserName) enter .gradle directory and erase caches directory, then restart Android Studio and the error should be solved.

enter image description here

on windows : C:\Users\YourUserName) enter .gradle directory and erase caches directory










2down votefavorite
1

I have a problem with Gradle building. When I build my project, it displays the error:

Finish can only be called once in android studio

Anyone have idea about this error?

1 0
原创粉丝点击