1.Unsupported method: NativeArtifact.getSourceFolders().

报错信息:

Unsupported method: NativeArtifact.getSourceFolders().
The version of Gradle you connect to does not support that method.
To resolve the problem you can change/upgrade the target version of Gradle you connect to.
Alternatively, you can ignore this exception and read other information from the model.

解决方法:
更换gradle版本,我使用的3.3出的问题,改成3.2.1(因为我其他项目使用的这个版本)问题消失,总之换个版本试试,不一定高版本的就比高版本的全。

发布了224 篇原创文章 · 获赞 390 · 访问量 29万+

猜你喜欢

转载自blog.csdn.net/cui130/article/details/89963947