首页 > 解决方案 > Android Studio 警报:找不到空值:未指定:空值

问题描述

我开发了一个库模块,然后将 aar 上传到 JCenter,并批准了 . 当我解决项目的 build.gradle 中的库时,它向我显示了这些消息:

找不到空值:未指定:空值。在以下位置搜索:

file:/Users/hyd/tools/adt-bundle-mac-x86_64-20140702/sdk/extras/m2repository/null/unspecified/null/unspecified-null.pom
file:/Users/hyd/tools/adt-bundle-mac-x86_64-20140702/sdk/extras/m2repository/null/unspecified/null/unspecified-null.jar
file:/Users/hyd/tools/adt-bundle-mac-x86_64-20140702/sdk/extras/google/m2repository/null/unspecified/null/unspecified-null.pom
file:/Users/hyd/tools/adt-bundle-mac-x86_64-20140702/sdk/extras/google/m2repository/null/unspecified/null/unspecified-null.jar
file:/Users/hyd/tools/adt-bundle-mac-x86_64-20140702/sdk/extras/android/m2repository/null/unspecified/null/unspecified-null.pom
file:/Users/hyd/tools/adt-bundle-mac-x86_64-20140702/sdk/extras/android/m2repository/null/unspecified/null/unspecified-null.jar
https://dl.google.com/dl/android/maven2/null/unspecified/null/unspecified-null.pom
https://dl.google.com/dl/android/maven2/null/unspecified/null/unspecified-null.jar
https://jcenter.bintray.com/null/unspecified/null/unspecified-null.pom
https://jcenter.bintray.com/null/unspecified/null/unspecified-null.jar

要求:项目:app > com.yundong.zmui:zmui:0.0.2

使用命令j: gradle 版本:https://services.gradle.org/distributions/gradle-4.6-all.zip

构建命令:gradlew build

上传到JCenter命令:gradlew clean build bintrayUpload -PbintrayUser= -PbintrayKey=key -PdryRun=false

怎么解决!

标签: androidandroid-studiojcenter

解决方案


推荐阅读