Android Studioでビルドしようとしたら、こんなエラーが
Error:(47, 0) Gradle DSL method not found: 'compile()'
Possible causes:<ul><li>The project 'XXXXXXX' may be using a version of Gradle that does not contain the method.
<a href="openGradleSettings">Gradle settings</a></li><li>The build file may be missing a Gradle plugin.
<a href="apply.gradle.plugin">Apply Gradle plugin</a></li>
build.gradle
dependencies {
...
compile "com.android.support:support-v4:${SUPPORT_LIB_VER}" compile "com.android.support:appcompat-v7:${SUPPORT_LIB_VER}"
compile "com.android.support:support-annotations:${SUPPORT_LIB_VER}"
compile "com.android.support:design:${SUPPORT_LIB_VER}"
...
}
改行がなくなってて、2行が一行になってた。
10分くらい気づかなかった…