I have a simple ‘HelloWorld’ android app.
I installed gradle and added build.gradle file in my project with following dependency
compile fileTree(dir: ‘libs’, include: [’*.jar’]) }
But when running gradle build I get the following error Could not find method compile() for arguments [com.android.support:appcompat-v7:19.0.0] on root project ‘SampleApp’.
Can someone help me resolve this issue?
Thanks in advance!!