node.js - 使用 node.js 和 Heroku 应用程序设置 SDK 时出错?
问题描述
我正在尝试将通过 Git 连接到 Heroku 的应用程序部署到 Heroku,但我收到一条错误消息:
FAILURE:构建失败并出现异常。
* What went wrong:
Could not determine the dependencies of task ':app:assemble'.
> Could not create task ':app:assembleRelease'.
> Could not create task ':app:lintVitalRelease'.
> SDK location not found. Define location with an ANDROID_SDK_ROOT environment variable or by setting the sdk.dir path in your project's local properties file at '/tmp/build_f417db2c/local.properties'.
我已经通过 android studios 连接了我的 SDK,并通过为用户检查系统变量将其设置为我的计算机中的环境变量。我还已经在我的 local.properties 文件中本地设置了 sdk.dir = 我的 SDK 路径。有任何想法吗?
解决方案
推荐阅读
- php - php -v 和 php-fpm -v 显示不同版本的php
- https - Oauth2.0:客户端应用程序和授权服务器之间的通信
- python - Python 测验,我如何打印这个测验/功能?
- css - 制作 :before 的内容 = 元素的名称
- javascript - 仅触发单击首次加载和移动屏幕宽度
- android - Firebase + 自定义后端:我应该在每次 http 请求之前在客户端上检索 jwt 令牌吗?
- javascript - 通过 XmlHttpRequest 将数据从 JS 传递到 PHP
- vba - Excel - 使用 VBA 抓取 HTML 源代码布局
- php - 如何通过 PHP+Ubuntu14 连接 PervasiveSQL
- javascript - NgZone 不再有效