jcenter

Android Studio 3.1: Could not find gradle-core.jar (gradle-core-3.1.0.jar)

时间秒杀一切 提交于 2019-12-08 18:30:28
问题 I've just installed Android Studio 3.1 over previous version of android. When I try to create new project, during project build it stops and prompts below error. I've used many solution but it did not help. Here is the error message: Error:Could not find gradle-core.jar (com.android.tools.build:gradle-core:3.1.0). Searched in the following locations: https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle-core/3.1.0/gradle-core-3.1.0.jar When I check the log it shows, altough

Add Warning “A newer version of … is available” for custom library

浪子不回头ぞ 提交于 2019-12-08 01:57:27
问题 I've just released my library with version 1.2.1, code is in Github As you can see in the picture: I'm getting "Warning" that i'm using old version of appcompat library but there's no warning for my library. I've distribute my library via Bintray to maven & jcenter. Does anyone knows how to enable this Note/Warning on my library line? 回答1: The problem is that regardless of which repository your library is resolved from (being it jcenter() , mavenCentral() or any other repository), the check

AS中加载gradle时出现Gradle sync failed: Could not find com.android.tools.build:gradle.的错误

可紊 提交于 2019-12-07 23:41:28
时间:2019/12/7 这次接着整理加载gradle时出现的错误 出现的错误: 1 Gradle sync failed: Could not find com.android.tools.build:gradle:3.5.0. 2 Searched in the following locations: 3 file:/F:/studio/studio2.0/gradle/m2repository/com/android/tools/build/gradle/2.8/gradle-2.8.pom 4 file:/F:/studio/studio2.0/gradle/m2repository/com/android/tools/build/gradle/2.8/gradle-2.8.jar 5 https://jcenter.bintray.com/com/android/tools/build/gradle/2.8/gradle-2.8.pom 6 https://jcenter.bintray.com/com/android/tools/build/gradle/2.8/gradle-2.8.jar 7 Required by: 8 :TestApk:unspecified 9 Consult IDE log for more details (Help | Show Log

常用 Maven 仓库地址

风流意气都作罢 提交于 2019-12-07 15:12:33
版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。 本文链接: https://blog.csdn.net/niuzhucedenglu/article/details/80406099 在使用 Nexus 搭建自己的 Maven 仓库时,我们需要为一些公共的 Maven 仓库做镜像,这就需要这些仓库的真实地址了,下面是这些仓库的地址: 仓库名称 仓库地址 gradle 引用方式 jcenter https://jcenter.bintray.com jcenter() mavenCentral https://repo1.maven.org/maven2 或 http://central.maven.org/maven2/ (比较慢) mavenCentral() google https://dl.google.com/dl/android/maven2/ google() 阿里云 http://maven.aliyun.com/nexus/content/repositories/jcenter/ 或 http://maven.aliyun.com/nexus/content/groups/public/ maven {url ‘阿里地址’} 注: 1. mavenCentral 官网地址 http:/

Spring Boot 2 NoSuchMethodException: org.springframework.mobile.device.Device.<init>()

核能气质少年 提交于 2019-12-07 06:46:06
问题 Recently I tried to update my Spring Boot application version from 1.5.10.RELEASE to 2.0.0.RELEASE Project Environment JDK version 1.8 jcenter() repository in Gradle IDE Spring tool Suite (STS) Version: 3.9.2 I have encountered two issues I got the completion issue below. Could not resolve all files for configuration ':compileClasspath'. Could not find org.springframework.boot:spring-boot-starter-mobile: Then I checked the latest version of spring-boot-starter-mobile library and there’s no

Publish android library to jcenter: gradle bintrayUpload does not find libraries

徘徊边缘 提交于 2019-12-07 04:41:08
问题 I'm trying to publish an Android library to jcenter. I've followed https://github.com/danielemaddaluno/gradle-jcenter-publish tutorial. Everything works fine until I try to execute gradle bintrayUpload When I do so I get a BUILD FAILED. When I look into the errors I see package com.android.volley does not exist Therefore the libraries that I have included as a gradle dependency are not being found dependencies { compile 'com.mcxiaoke.volley:library:1.+' (...) } The same happends with other

Add Warning “A newer version of … is available” for custom library

不羁岁月 提交于 2019-12-06 12:59:33
I've just released my library with version 1.2.1, code is in Github As you can see in the picture: I'm getting "Warning" that i'm using old version of appcompat library but there's no warning for my library. I've distribute my library via Bintray to maven & jcenter. Does anyone knows how to enable this Note/Warning on my library line? The problem is that regardless of which repository your library is resolved from (being it jcenter() , mavenCentral() or any other repository), the check for the latest version is hardcoded to go to Maven Central . That's plain wrong, if you ask me, but it is

如何导入别人的android studio项目,解决gradle版本不兼容问题

拜拜、爱过 提交于 2019-12-05 11:23:32
一般下载下来的项目都有这些文件夹,在导入项目之前,首先删除gradle文件夹和下面红框的几个文件夹 其次打开整个项目的build.gradle文件,可以直接用记事本打开,就是下图中红圈里面的 打开之后找到下图中的这一块,然后修改后面的版本号,我图里面的是2.2.2,自己可以看一下你平时项目的这个文件使用的版本号,然后进行修改。 例如: 根目录下面的build.gradle buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:2.2.3' } } allprojects { repositories { jcenter() } } app目录下的build.gradle: android { compileSdkVersion 19 buildToolsVersion "25.0.2" ... } 修改完成之后,才可开始导入,但是导入的时候会弹出一个窗口。 是否使用gradle wrapper,必须取消,就是每次导入其他人的项目特别慢的根源所在 取消之后会让你手动选择gradle版本,一般是在Android studio 的安装目录的gradle文件夹下面 例如: C:\Program Files\Android\Android Studio

Spring Boot 2 NoSuchMethodException: org.springframework.mobile.device.Device.<init>()

删除回忆录丶 提交于 2019-12-05 10:20:21
Recently I tried to update my Spring Boot application version from 1.5.10.RELEASE to 2.0.0.RELEASE Project Environment JDK version 1.8 jcenter() repository in Gradle IDE Spring tool Suite (STS) Version: 3.9.2 I have encountered two issues I got the completion issue below. Could not resolve all files for configuration ':compileClasspath'. Could not find org.springframework.boot:spring-boot-starter-mobile: Then I checked the latest version of spring-boot-starter-mobile library and there’s no stable version of spring-boot-starter-mobile for Spring Boot 2. So I had to declare milestone URL using

Publish android library to jcenter: gradle bintrayUpload does not find libraries

微笑、不失礼 提交于 2019-12-05 08:46:16
I'm trying to publish an Android library to jcenter. I've followed https://github.com/danielemaddaluno/gradle-jcenter-publish tutorial. Everything works fine until I try to execute gradle bintrayUpload When I do so I get a BUILD FAILED. When I look into the errors I see package com.android.volley does not exist Therefore the libraries that I have included as a gradle dependency are not being found dependencies { compile 'com.mcxiaoke.volley:library:1.+' (...) } The same happends with other libraries included. How can I fix this problem? I Attach the module build.gradle apply plugin: 'com