当前位置:网站首页>> Could not create task ‘:app:MyTest.main()‘. > SourceSet with name ‘main‘ not found.问题修复
> Could not create task ‘:app:MyTest.main()‘. > SourceSet with name ‘main‘ not found.问题修复
2022-07-05 09:41:00 【沙漠一只雕得儿得儿】
Android studio 无法执行Java类的main方法问题及解决方法
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()'.解决方法:
在.idea文件夹下的gradle.xml文件中 <GradleProjectSettings>标签下添加<option name="delegatedBuild" value="false" />,然后重新运行就可以了
<option name="delegatedBuild" value="false" />
边栏推荐
- Cut off 20% of Imagenet data volume, and the performance of the model will not decline! Meta Stanford et al. Proposed a new method, using knowledge distillation to slim down the data set
- Roll up, break through 35 year old anxiety, and animate the CPU to record the function call process
- 高级 OpenCV:BGR 像素强度图
- 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
- Oracle combines multiple rows of data into one row of data
- How to implement complex SQL such as distributed database sub query and join?
- Optimize database queries using the cursor object of SQLite
- Swift uses userdefaults and codable to save an array of class objects or structure instances
- Coordinate system of view
- Tdengine can read and write through dataX, a data synchronization tool
猜你喜欢

Node red series (29): use slider and chart nodes to realize double broken line time series diagram

QT realizes signal transmission and reception between two windows
![[tips] get the x-axis and y-axis values of cdfplot function in MATLAB](/img/08/2d039df6ea3ace8685512b2af8281d.png)
[tips] get the x-axis and y-axis values of cdfplot function in MATLAB

Understand the window query function of tdengine in one article

A high density 256 channel electrode cap for dry EEG

Coordinate system of view

idea用debug调试出现com.intellij.rt.debugger.agent.CaptureAgent,导致无法进行调试

Small program startup performance optimization practice

Hard core, have you ever seen robots play "escape from the secret room"? (code attached)

Is it really reliable for AI to make complex decisions for enterprises? Participate in the live broadcast, Dr. Stanford to share his choice | qubit · viewpoint
随机推荐
MySQL数字类型学习笔记
oracle和mysql批量Merge对比
Theme. AppCompat. Light. Darkactionbar not found
TDengine × Intel edge insight software package accelerates the digital transformation of traditional industries
C#函数返回多个值方法
Those who are good at using soldiers, hide in the invisible, and explain the best promotional value works in depth in 90 minutes
Cerebral Cortex:有向脑连接识别帕金森病中广泛存在的功能网络异常
From "chemist" to developer, from Oracle to tdengine, two important choices in my life
Solve the problem of no all pattern found during Navicat activation and registration
Six simple cases of QT
Observation cloud and tdengine have reached in-depth cooperation to optimize the cloud experience of enterprises
90%的人都不懂的泛型,泛型的缺陷和应用场景
把欧拉的创新带向世界 SUSE 要做那个引路人
Tdengine connector goes online Google Data Studio app store
Oracle combines multiple rows of data into one row of data
基于单片机步进电机控制器设计(正转反转指示灯挡位)
A high density 256 channel electrode cap for dry EEG
Analysis on the wallet system architecture of Baidu trading platform
How to use sqlcipher tool to decrypt encrypted database under Windows system
(1) Complete the new construction of station in Niagara vykon N4 supervisor 4.8 software