使用node.js和Heroku应用程序设置SDK时出错?

使用node.js和Heroku应用程序设置SDK时出错?,node.js,git,heroku,Node.js,Git,Heroku,我正在尝试部署通过Git连接到Heroku的应用程序,但出现了这样一个错误: 失败:生成失败,出现异常 * What went wrong: Could not determine the dependencies of task ':app:assemble'. > Could not create task ':app:assembleRelease'. > Could not create task ':app:lintVitalRelease'.

我正在尝试部署通过Git连接到Heroku的应用程序,但出现了这样一个错误:

失败:生成失败,出现异常

   * 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 Studio连接了我的SDK,并通过用户的系统变量将其设置为计算机中的环境变量。我还已经在我的local.properties文件中设置了sdk.dir=我的sdk本地路径。有什么想法吗