草庐IT

android - 任务 'install' 在根项目 'TestApp' 中不明确。候选为: 'installDebug' , 'installDebugAndroidTest'

我正在android中开发一个库项目。我想将我的库上传到JCenter。我已经创建了bintray帐户等并遵循了此处提到的所有步骤http://inthecheesefactory.com/blog/how-to-upload-library-to-jcenter-maven-central-as-dependency/en我在我的应用程序模块和库模块中做了以下更改。应用模块build.gradleapplyplugin:'com.android.application'android{compileSdkVersion22buildToolsVersion"22.0.1"defaul

android - 无法使用 jcenter 解决 Android Studio 中的依赖关系

为什么我的程序卡在解决appDebug在andoridstudio中的依赖?我无法解析任何库。这是我的根gradle文件:buildscript{repositories{jcenter()}dependencies{classpath'com.android.tools.build:gradle:1.5.0'//NOTE:Donotplaceyourapplicationdependencieshere;theybelong//intheindividualmodulebuild.gradlefiles}}allprojects{repositories{jcenter()}}这是我

android - org.gradle.internal.resolve.ArtifactNotFoundException : Could not find play-services-basement. aar

我正在使用15.0.1版本的Firebase和GooglePlay服务。该构建今天开始中断。我该如何解决?以下是Gradle日志供引用。[org.gradle.internal.buildevents.BuildExceptionReporter]FAILURE:Buildfailedwithanexception.[org.gradle.internal.buildevents.BuildExceptionReporter][org.gradle.internal.buildevents.BuildExceptionReporter]*Whatwentwrong:[org.gradl

android - 无法连接到 android studio 中的 jcenter()

我正在尝试导入MusicBobberandroidstudio中的库。我已经下载并导入了示例项目,但是当我同步项目时出现了这个错误:Error:Aproblemoccurredconfiguringproject':app'.Aproblemoccurredconfiguringproject':audiowidget'.Couldnotdownloadsupport-media-compat.aar(com.android.support:support-media-compat:24.2.0)Couldnotgetresource'https://jcenter.bintray.c

android - 在我将新版本发布到 jcenter 后,我的 Android 库不建议在 gradle 中升级新版本

我已经发布了一个名为SmartToolbar的库jcenter成功。但是当我将它更新到新版本并再次发布时我遇到了一个问题,它没有在gradle中显示更新到新版本的建议消息。目前,这个库的最新版本是1.0.12,但是正如您在屏幕截图中看到的,它没有显示升级到版本1.0.12作为其上方的库。我想修复它,因为我想通知所有使用它的开发人员从我的库中获取最新更新。注意:它不会显示有新版本可用的建议,但如果我们知道最新版本,我们仍会获得最新更新。所以只有我知道最新版本。n当我发布新版本时,我更新了versionName,我将其创建为PUBLISH_VERSION的自定义变量以用于我的publish

android - 将 android 库发布到 jcenter 错误 - 将 POM 文件添加到最新版本的包

我正在尝试使用Bintray的网站将我的Android库发布到JCenter。我使用以下博客文章创建了一个Maven样式的zip文件,其中包含所有需要的Artifact:aar、源、javadoc和pom文件:http://blog.blundell-apps.com/locally-release-an-android-library-for-jcenter-or-maven-central-inclusion/一切似乎都在创建的zip文件中,但在尝试将我的包链接到JCenter时仍然出现错误:AddaPOMfiletothelatestversionofyourpackage我不确

android - 任务 ':bintrayUpload' 执行失败。

我想将我的图书馆上传到jecenter。我已经创建了bintray帐户等并遵循了此处提到的所有步骤。我在我的应用程序模块和库模块中做了以下更改。//库build.gradleapplyplugin:'com.android.library'applyplugin:'com.github.dcendents.android-maven'applyplugin:'com.jfrog.bintray'android{compileSdkVersion22buildToolsVersion"22.0.1"resourcePrefix"winchance"version="1.0.0"defau

安卓工作室 : Error:Cause: unable to find valid certification path to requested target

在何处获取有关AndroidStudio中此错误的更多信息Error:Cause:unabletofindvalidcertificationpathtorequestedtarget我不知道它来自哪里以及要寻找什么?下面是我的Build.gradle中的fragment。buildscript{repositories{jcenter(){url"http://jcenter.bintray.com/"}//mavenCentral()maven{url'https://maven.fabric.io/public'}}dependencies{classpath'com.andro

Android 构建工具 Gradle 2.3.2

依赖com.android.tools.build:gradle:2.3.2在jcenter上不存在。这是为什么呢?我昨天在AndroidStudio上有更新:/ 最佳答案 他们在更新中混淆了一些东西-Studio推出完成,忘记了jcenter更新。是的,AndroidStudio推出更新并建议升级到2.3.2,你是对的,这个版本在jcenter上还不可用。现在,手动将2.3.1放入您的构建文件中,每隔一天检查一次是否可以下载新版本...不应该发生,你真可耻,DevTeam:) 关于An

java - gradle 刷新后 jcenter 502 网关错误

关闭。这个问题是notreproducibleorwascausedbytypos.它目前不接受答案。这个问题是由于错别字或无法再重现的问题引起的。虽然类似的问题可能是on-topic在这里,这个问题的解决方式不太可能帮助future的读者。关闭3年前。Improvethisquestion无法连接到jcenter地址https://jcenter.bintray.com/收到502BadGateway响应在我点击gradlerefresh之后,也在我的intelljIDE中CouldnotGET'https://jcenter.bintray.com/com/github/jnr/j