Error: (2, 0) Plugin with id ' com.github.dcendents.android-maven ' not found workaround

Source: Internet
Author: User
Tags jfrog

When importing open source projects, you always report this mistake.

Error: (2, 0) Plugin with id ' com.github.dcendents.android-maven ' not found

Workaround:

First add global dependencies to the Build.grade under project
Buildscript {    repositories {        jcenter ()    }    dependencies {        ' Com.android.tools.build:gradle : 1.5.0 '        //1. Automated Maven Packaging plugin             ' com.github.dcendents:android-maven-gradle-plugin:1.3 ' //2. Automatic upload to Bintray platform plugin "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.0"//Note:do not place your application dependencies here; They belong //In the individual module Build.gradle files }} /c7>

In order, first add
' com.github.dcendents:android-maven-gradle-plugin:1.3 '
After the sync is added, the event log under Android Studio will appear with Com.jfrog.bintray not found error, and MAVEN that error message is no longer added
"Com.jfrog.bintray.gradle:gradle-bintray-plugin:1.0"
Point synchronization, waiting for synchronization to complete

Error: (2, 0) Plugin with id ' com.github.dcendents.android-maven ' not found workaround

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.