ERROR: Unable to load class 'org.gradle.api.internal.component.Usage'.

1.错误如下:

ERROR: Unable to load class 'org.gradle.api.internal.component.Usage'

2.解决方法:

将:

classpath 'com.novoda:bintray-release:0.3.4'

改为:

classpath 'com.novoda:bintray-release:0.5.0'

 然后同步一下

// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
    repositories {
        google()
        jcenter()
        maven { url "https://jitpack.io" }//必须添加这行
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.5.2'
//        classpath 'com.android.tools.build:gradle:3.5.1'
//        classpath 'com.novoda:bintray-release:0.3.4'
        classpath 'com.novoda:bintray-release:0.5.0'
        // 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" }//必须添加这行
    }
}

task clean(type: Delete) {
    delete rootProject.buildDir
}

 

3.涉及到的项目:

https://github.com/guangzq/StepDialog

一行代码实现ofo app首次注册时的步骤控件

https://github.com/eoinfogarty/Onboarding

向用户介绍您的应用程序的一种好方法

https://www.jianshu.com/p/4caff07b6dca          十四个功能强大的 Android 引导视图 分享

当然你可以在github上搜索Onboarding

主要用于APP引导、启动等功能

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值