jcenter

Could not find method jcenter() for arguments [] on repository container

匿名 (未验证) 提交于 2019-12-03 02:20:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm new to Gradle and bintray. I want to publish this project so it is readily available to Maven and SBT users. I am not the original author of this package; it appears to have been abandoned ; I just want to publish the current HEAD. ~/.gradle/gradle.properties is something like: bintrayUser=mslinn bintrayKey=blahblah build.gradle looks like this.: buildscript { repositories { jcenter() } dependencies { classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.0' } } apply plugin: 'com.jfrog.bintray' allprojects { apply plugin: 'idea'

Android Studio: Gradle sync failed: Could not HEAD '…'. Received status code 502 from server: Bad Gateway [closed]

匿名 (未验证) 提交于 2019-12-03 02:11:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: After update Android Studio to latest version (3.1) and gradle version in my project I get an error (the link is always different): 12:54 Gradle sync started 12:56 Gradle sync failed: Could not HEAD 'https://jcenter.bintray.com/com/android/tools/analytics-library/shared/26.1.0/shared-26.1.0.jar'. Received status code 502 from server: Bad Gateway Consult IDE log for more details (Help | Show Log) (1m 56s 602ms) 12:56 Gradle sync started 12:57 Gradle sync failed: Could not HEAD 'https://jcenter.bintray.com/org/codehaus/mojo/animal-sniffer

Peer not authenticated while importing Gradle project in eclipse

匿名 (未验证) 提交于 2019-12-03 02:11:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: While I am importing gradle project in eclipse, it is giving me this error. FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring root project 'test'. > Could not resolve all dependencies for configuration ':classpath'. > Could not resolve de.richsource.gradle.plugins:gwt-gradle-plugin:0.3. Required by: :test:unspecified > Could not GET 'https://github.com/steffenschaefer/gwt-gradle-plugin/raw/maven-repo/de/richsource/gradle/plugins/gwt-gradle-plugin/0.3/gwt-gradle-plugin-0.3.pom'. > peer not

Gradle eclipse plugin : Could not find method jcenter() for arguments [] on repository container. See error log for details

匿名 (未验证) 提交于 2019-12-03 01:58:03
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am trying to import my gradle project into eclipse and I get the error Could not find method jcenter() for arguments [] on repository container. See error log for details Among other things, my build.gradle contains the following: buildscript { repositories { jcenter() } dependencies { classpath 'org.gradle.api.plugins:gradle-cargo-plugin:1.1' } } The eclipse log contains the following (posting only the tail for brevity): Caused by: org.gradle.api.internal.MissingMethodException: Could not find method jcenter() for arguments [] on

Failed to resolve com.google.android.gms play-services-auth:11.4.0

匿名 (未验证) 提交于 2019-12-03 01:57:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am trying to write code for Android FirebaseUI ― Auth in my android project but from last two days, I am getting errors in my current code and don't know how to fix it. trying hard but nothing happened in the right way. here is my build.gradle(project:FriendlyChat) // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { jcenter() mavenLocal() } dependencies { classpath 'com.android.tools.build:gradle:2.2.2' // NOTE: Do not place your application dependencies here;

Failed to resolve: com.android.support:cardview-v7:26.0.0 android

匿名 (未验证) 提交于 2019-12-03 01:55:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: i try to add recyclerview to my project and get this error appear and i added it from android studio dependencies 回答1: Starting from version 26 of support libraries make sure that the repositories section includes a maven section with the " https://maven.google.com " endpoint. Something like; allprojects { repositories { jcenter() maven { url "https://maven.google.com" } } } 回答2: This is how I have it working. Add maven { url "https://maven.google.com" } as @Gabriele_Mariotti suggests above. allprojects { repositories { jcenter() maven { url

What is included in JCenter repository in Gradle?

匿名 (未验证) 提交于 2019-12-03 01:55:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: From Gradle 1.7 there is new Public repository JCenter. repositories { jcenter() } So I want to ask if all jars from Maven Central are parts of this repo? And if not from what is JCenter repo consists of? And is JCenter more reliable from Maven Central as downtime? 回答1: jcenter() is similar to mavenCentral() . Have a look at https://bintray.com/bintray/jcenter for more details. The jCenter guys claim that they have a better performance than Maven Central. 回答2: As mentioned in https://bintray.com/bintray/jcenter : JCenter is the place to find

Connection Refused Error at Run ReactNative Project

匿名 (未验证) 提交于 2019-12-03 01:39:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I create new react-native project with command: react-native init myProject But When I want run it on emulator or real device with this command: react-native run-android I got this error and app not build: FAILURE: Build failed with an exception. * What went wrong: fresco/1.10.0/fresco-1.10.0.pom'. > Could not GET 'https://jcenter.bintray.com/com/facebook/fresco/fresco /1.10.0/fresco-1.10.0.pom'. > Connect to 127.0.0.1:9595 [/127.0.0.1] failed: Connection refused: connect In build.gradle I added google() but did not solve problem. This is my

Could not find com.android.support:support-annotations:26.1.0

匿名 (未验证) 提交于 2019-12-03 01:38:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I have a project whose compileSdkVersion and targetSdkVersion is 25. When I tried to upgrade the version to 26, I got the following error: Could not find com . android . support : support - annotations : 26.1 . 0. Required by : project : app project : app > com . android . support : support - compat : 26.1 . 0 Please install the Android Support Repository from the Android SDK Manager . Open Android SDK Manager I opened Android SDK Manager, but could not find Android Support Repository to install. How can I fix this problem? Here's

Gradle fails to resolve dependencies in Android Studio

匿名 (未验证) 提交于 2019-12-03 01:33:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Whenever I add a dependency from an remote repository (jcenter) in Android Studio 1.1 (OS X) I get the following error upon syncing Gradle: Error:(26, 13) Failed to resolve: <packagename:version> My app's build.gradle is as follows: apply plugin: 'com.android.application' android { compileSdkVersion 21 buildToolsVersion "21.1.2" defaultConfig { applicationId "nl.timmevandermeer.cargoapp" minSdkVersion 19 targetSdkVersion 21 versionCode 1 versionName "1.0" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile(