Android:无法解析符号'compile' [英] Android: Cannot resolve symbol 'compile'
本文介绍了Android:无法解析符号'compile'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在android studio添加新的向导中添加了一个新的活动设置。之后,我得到这个
I was adding a new activity "Settings" with help from android studios Add New wizard. Right after that I get this
错误:(47)评估项目':AppName'时出现问题。
无法在org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler_Decorated@395e73e7上找到属性compile。
Error:(47) A problem occurred evaluating project ':AppName'. Could not find property 'compile' on org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler_Decorated@395e73e7.
它说不能解析符号'compile'。
And it says cannot resolve symbol 'compile'.
任何想法?
推荐答案
检查build.gradle文件。它可能有使用'compile'的格式化错误。
Check 'build.gradle' file. It probably has formatting errors where 'compile' is used.
这篇关于Android:无法解析符号'compile'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文