错误日志:-
2018-12-10 16:30:43,373 [e-1136-b06] INFO - ild.invoker.GradleBuildInvoker - About to execute Gradle tasks: [assemble]
2018-12-10 16:30:43,373 [e-1136-b06] INFO - idea.project.IndexingSuspender - Consuming IndexingSuspender activation event: BUILD_EXECUTOR_CREATED
2018-12-10 16:30:43,607 [ thread 29] INFO - s.plugins.gradle.GradleManager - Instructing gradle to use java from C:/Program Files/Android/Android Studio/jre
2018-12-10 16:30:43,622 [ thread 29] INFO - ild.invoker.GradleBuildInvoker - Build command line options: [-Pandroid.injected.invoked.from.ide=true]
2018-12-10 16:30:43,794 [e-1136-b06] INFO - idea.project.IndexingSuspender - Consuming IndexingSuspender activation event: BUILD_STARTED
2018-12-10 16:30:43,794 [e-1136-b06] INFO - idea.project.IndexingSuspender - Starting batch update for project: Project 'C:UsersMr.BingApkProjectsCalculator' Calculator
2018-12-10 16:30:47,466 [e-1136-b06] INFO - idea.project.IndexingSuspender - Consuming IndexingSuspender deactivation event: BUILD_FINISHED
2018-12-10 16:30:47,466 [e-1136-b06] INFO - idea.project.IndexingSuspender - Finishing batch update for project: Project 'C:UsersMr.BingApkProjectsCalculator' Calculator
2018-12-10 16:30:47,529 [e-1136-b06] INFO - ild.invoker.GradleBuildInvoker - Gradle build finished with 1 error(s) in3 s 861 ms
2018-12-10 16:30:47,748 [ thread 31] INFO - #com.jetbrains.cidr.lang - Clearing symbols finished in 0.110 s.
2018-12-10 16:30:47,748 [ thread 31] INFO - #com.jetbrains.cidr.lang - Building symbols in FAST mode, 0 source files from total 0 project files
2018-12-10 16:30:47,763 [ thread 31] INFO - #com.jetbrains.cidr.lang - Loading symbols finished in 0.015 s.
2018-12-10 16:30:47,763 [ thread 31] INFO - #com.jetbrains.cidr.lang - Loading Header Maps finished in 0.000 s.
2018-12-10 16:30:48,045 [ thread 31] INFO - #com.jetbrains.cidr.lang - Loading Module Maps finished in 0.282 s.
2018-12-10 16:30:48,123 [ thread 31] INFO - #com.jetbrains.cidr.lang - Saving Module Maps finished in 0.046 s.
2018-12-10 16:30:48,123 [ thread 31] INFO - #com.jetbrains.cidr.lang - Loaded 0 tables for 0 files (0 project files)
2018-12-10 16:30:48,138 [ thread 31] INFO - #com.jetbrains.cidr.lang - Building symbols for 0 source files
2018-12-10 16:30:48,170 [ thread 31] INFO - #com.jetbrains.cidr.lang - Building symbols for 0 unused headers
2018-12-10 16:30:48,170 [ thread 31] INFO - #com.jetbrains.cidr.lang - Building symbols finished in 0.032 s.
2018-12-10 16:30:48,185 [ thread 31] INFO - #com.jetbrains.cidr.lang - Saving modified symbols for 0 files (0 tables of total 0)
2018-12-10 16:30:48,185 [ thread 31] INFO - #com.jetbrains.cidr.lang - Saving symbols finished in 0.000 s.
2018-12-10 16:31:04,811 [e-1136-b06] INFO - ide.actions.ShowFilePathAction -
Exit code 1
我不知道这个问题是怎么回事,所以也解决不了我是安卓工作室和堆栈溢出的新手。
尝试提供本地渐变,但也失败了!
构建正常启动,但随后失败并显示下载等级,但随后抛出错误显示:连接重置
添加到项目
build.gradle(项目:yourNameProject(:
repositories {
google()
jcenter()
}
如果没有,请检查你的gradle和插件版本:在此处输入链接描述