I have this error when trying to make a module of a project
apply plugin: \'com.android.library\'
android {
compileSdkVersion 17
buildToolsVersion \
As stated here this can happen when using the Gradle Tools v1.1.0. After updating to v1.1.3, this has not happened anymore.
I had the same problem.
It was caused by a corrupted file. If you added some new Drawable before getting this error, check them to see if they are correctly display in Android Studio Viewer.
Today I also met this problem. Here is how I solved it:
xxx.9.png
. xxx9.png
and rebuilt. There were no errors, and the java files with the red wave under the name are gone too.Clean the project and build it again