教你把自己Adnroid代码上传到JCenter
##上传项目到JCenter //引用方式如下 compile '项目组ID:项目名称:项目版本号' //引用示例 compile 'com.android.support:recyclerview-v7:23.3.0' 1.去JCenter官网注册个账号,这里有一个问题,就是国内的邮箱好像不行,xxxxxxx@163.com xxxxxx@qq.com都不可以。 这里推荐一个:outlook邮箱。…… 因为我就是用这个的 (´・_・`) 当时找了好久才找到 JCenter注册地址 https://bintray.com/signup/oss 2.新建一个项目: [Add New Repository] → Name:填写 maven → Type:选择 Maven → 点击:Create 3.鼠标移到右上角,你的账号上,会自动下拉出一个列表: 点击 Edit Profile ** → 点击 : [API Key] → 输入你的密码,就能得到你的 [API Key]**,复制保存下来以后会用到 ###编辑你的项目 Module的 build.gradle apply plugin: 'com.android.library' apply plugin: 'maven' apply plugin: 'com.novoda.bintray-release' android { ...