You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Build file 'D:\myapps\AndroidSerialPort\build.gradle' line: 25
A problem occurred evaluating root project 'AndroidSerialPort'.
> Could not find method implementation() for arguments [com.github.kongqw:AndroidSerialPort:1.0.1] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
build.gradle
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:+'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
maven { url 'https://jitpack.io' }
}
}
dependencies {
implementation 'com.github.kongqw:AndroidSerialPort:1.0.1'
}
task clean(type: Delete) {
delete rootProject.buildDir
}
报错信息
build.gradle
gradle-wrapper.properties
The text was updated successfully, but these errors were encountered: