SourceSet with name ‘main‘ not found
问题描述:Android Studio 上运行 main 方法报错:What went wrong:A problem occurred configuring project ‘:app’.Could not create task ‘:app:StringHandle.main()’.SourceSet with name ‘main’ not found.解决办法:在.idea文件夹下的gr
·
问题描述:
- Android Studio 上运行 main 方法报错:
What went wrong:
A problem occurred configuring project ‘:app’.
Could not create task ‘:app:StringHandle.main()’.
SourceSet with name ‘main’ not found.
解决办法:
- 在.idea文件夹下的gradle.xml文件中添加,然后重新运行就可以了。

更多推荐




所有评论(0)