android - 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
怎么解决!
解决方案
推荐阅读
- reactjs - 如何将贝宝按钮转换为反应组件?
- ios - iOS、Node.js:Firebase 推送通知 JSON 签名
- python - 有什么方法可以将 AWS Lambda 函数(Python)连接到现有的外部 PostgresSQL 数据库
- javascript - 当我选择任何输入时,它会在移动设备中滑回顶部
- flutter - Flutter - 如何获取当前路线?
- mysql - 授予用户多个数据库但只有一个表
- angular - 检测到循环依赖中的警告 - Angular 9
- javascript - 试图理解 ngOnInit 和 promise
- pine-script - 在交易视图警报消息中发送自定义变量值的问题
- azure-devops - 如何在 Azure DevOps Git 存储库的 README.MD 中创建内联链接?