I'm having an issue building an app for Android that runs fine on iOS. The error reads:
* What went wrong: A problem occurred evaluating project ':app'.
Could not find method classpath() for arguments [org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
Here are my dependencies in the build.gradle in the app module:
dependencies {
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'}
Thank you for your help!