Error:(17, 0) Gradle DSL method not found: 'compile()'
Possible causes:The project 'Simple-Android-OCR-master' may be using a version of Gradle that does not contain the method.
Open Gradle wrapper file
The build file may be missing a Gradle plugin.
Apply Gradle plugin
Error:(35, 0) Could not find property 'Os' on task ':tesstwo:ndkBuild'.
Open File
Error:(7, 0) Gradle DSL method not found: 'compile()'
Possible causes:The project 'Simple-Android-OCR-master' may be using a version of the Android Gradle plug-in that does not contain the method (e.g. 'testCompile' was added in 1.1.0).
Fix plugin version and sync project
The project 'Simple-Android-OCR-master' may be using a version of Gradle that does not contain the method.
Open Gradle wrapper file
The build file may be missing a Gradle plugin.
Apply Gradle plugin
에러는 늘어가고...
검색어 : there are unrecoverable errors which must be corrected first android studio.
The error is saying that your project depends on google_Play_Service_Lib and android studio is not able to find that dependency, but what android studio did is giving you the path where you can paste that library and then you will able to import that project.
Somebody should have told that already. Great! After doing minifyEnabled, need to do this as well in buld.gradle of all the external library projects as well. – sud007Mar 17 '15 at 8:28