Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not find method implementation() for arguments [com.github.kongqw:AndroidSerialPort:1.0.1]... #32

Open
dexterque opened this issue Oct 30, 2020 · 1 comment

Comments

@dexterque
Copy link

报错信息

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
}

gradle-wrapper.properties

#Wed Dec 13 14:32:36 CST 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip

@dexterque
Copy link
Author

@kongqw 还能给看看吗🤣

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant