I have facing the same issue and I have also used apply plugin: 
'com.android.application'.

This is happening in one of my projects other project gradle files are ok.

also there are these errors too:

'main' in 'build' cannot be applied to '(groovy.lang.Closure)' 

'dependencies' cannot be applied to '(groovy.lang.Closure)'

Android studio sometimes behaves randomly. I have to invalidate cache and 
restart it.

On Monday, 29 September 2014 18:29:29 UTC+5:30, [email protected] wrote:
>
> Using apply plugin: 'com.android.application' makes no difference. Android 
> Studio is still flagging all android plugin symbols inside build.grade as 
> "cannot resolve symbol".
>
> On Tuesday, September 23, 2014 10:35:30 AM UTC-4, [email protected] wrote:
>>
>> After downloading and installing Android 0.8.11, I imported my Gradle 
>> based Android project that uses Gradle Android plugin 0.13.0 and Gradle 
>> 2.1. After the import was complete, I opened build.gradle. All of the 
>> Gradle symbols associated with the Gradle Android plugin are marked as 
>> "cannot resolve symbol".  The following issue is open to cover this. This 
>> is also an issue with the latest IntelliJ IDEA 14 EAP build.  The attached 
>> screen shot shows what I am seeing.
>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to