当前位置:网站首页>> Could not create task ‘:app:MyTest. main()‘. > SourceSet with name ‘main‘ not found. Problem repair
> Could not create task ‘:app:MyTest. main()‘. > SourceSet with name ‘main‘ not found. Problem repair
2022-07-05 10:11:00 【A bird carved in the desert】
Android studio Unable to execute Java Class main Methods problems and solutions
FAILURE: Build failed with an exception.
* Where:
Initialization script 'C:\Users\eerdunsang\AppData\Local\Temp\MyTest_main__.gradle' line: 21
* What went wrong:
A problem occurred configuring project ':app'.
> Could not create task ':app:MyTest.main()'.
> SourceSet with name 'main' not found.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 9s
9:10:31: Task execution finished 'MyTest.main()'.
resolvent :
stay .idea Under folder gradle.xml In file <GradleProjectSettings> Add under label <option name="delegatedBuild" value="false" />, Then run it again
<option name="delegatedBuild" value="false" />
边栏推荐
- Meitu lost 300 million yuan in currency speculation for half a year. Huawei was exposed to expand its enrollment in Russia. Alphago's peers have made another breakthrough in chess. Today, more big new
- The essence of persuasion is to remove obstacles
- Charm of code language
- ConstraintLayout的流式布局Flow
- How to correctly evaluate video image quality
- Kotlin Compose 与原生 嵌套使用
- Cerebral cortex: directed brain connection recognition widespread functional network abnormalities in Parkinson's disease
- MySQL digital type learning notes
- 剪掉ImageNet 20%数据量,模型性能不下降!Meta斯坦福等提出新方法,用知识蒸馏给数据集瘦身...
- Wechat applet - simple diet recommendation (3)
猜你喜欢
QT timer realizes dynamic display of pictures
Uncover the practice of Baidu intelligent testing in the field of automatic test execution
Understand the window query function of tdengine in one article
Apache DolphinScheduler 系统架构设计
Those who are good at using soldiers, hide in the invisible, and explain the best promotional value works in depth in 90 minutes
Windows uses commands to run kotlin
Application of data modeling based on wide table
Advanced opencv:bgr pixel intensity map
MySQL字符类型学习笔记
isEmpty 和 isBlank 的用法区别
随机推荐
Windows uses commands to run kotlin
驱动制造业产业升级新思路的领域知识网络,什么来头?
[NTIRE 2022]Residual Local Feature Network for Efficient Super-Resolution
Those who are good at using soldiers, hide in the invisible, and explain the best promotional value works in depth in 90 minutes
LiveData 面试题库、解答---LiveData 面试 7 连问~
The essence of persuasion is to remove obstacles
NCP1342芯片替代料PN8213 65W氮化镓充电器方案
Kotlin Compose 与原生 嵌套使用
.Net之延迟队列
如何写出高质量的代码?
The king of pirated Dall · e? 50000 images per day, crowded hugging face server, and openai ordered to change its name
QT VT100 parser
Swift uses userdefaults and codable to save an array of class objects or structure instances
善用兵者,藏于无形,90 分钟深度讲解最佳推广价值作品
Roll up, break 35 - year - old Anxiety, animation Demonstration CPU recording Function call Process
Unity particle special effects series - the poison spray preform is ready, and the unitypackage package is directly used - on
Android SQLite database encryption
How to get the STW (pause) time of GC (garbage collector)?
Constrained layout flow
How to use sqlcipher tool to decrypt encrypted database under Windows system