Alright, I got it to work by changing "androidTestCompile" to "compile."
However, this shows inconsistency because when selecting the scope of 
dependencies from the "Project Structure" to be testCompile, the same error 
remains.
Hopefully, this is transient and should be finalized soon.


On Friday, July 24, 2015 at 7:10:09 PM UTC-5, Farley Lai wrote:
>
> Gradle is updated to v2.5 and all the build.gradle scripts follow the 
> instructions:
>
> http://tools.android.com/tech-docs/new-build-system/gradle-experimental
>
>
> However, the same dependencies failed with the following error message.
>
> Gradle sync failed: Gradle DSL method not found: 'androidTestCompile()'
>>
>
> Here are the dependencies.
>
> dependencies {
>     compile project(':MSL')
>     compile fileTree(dir: 'libs', include: ['*.jar'])
>     compile 'com.android.support:appcompat-v7:22.2.0'
>     androidTestCompile 'com.android.support.test:rules:0.3'
> }
>
>
> The androidTest cannot compile without the dependency. Am I missing 
> something for the update?
>
> BTW, the AS is also updated to 1.3 rc3.
>

-- 
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