Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android: Cannot resolve symbol 'compile'

I was adding a new activity "Settings" with help from android studios Add New wizard. Right after that I get this

Error:(47) A problem occurred evaluating project ':AppName'. Could not find property 'compile' on org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler_Decorated@395e73e7.

And it says cannot resolve symbol 'compile'.

Any ideas?

like image 821
Jonas Borggren Avatar asked Jul 05 '14 15:07

Jonas Borggren


1 Answers

Check 'build.gradle' file. It probably has formatting errors where 'compile' is used.

like image 124
Vasudev Avatar answered Sep 21 '22 03:09

Vasudev