好像
./gradlew dist
查找local.properties中引用的android sdk
sdk.dir
参数。
我通过改变
sdk.dir开发包
无效目录的参数(
/Users/me/Library/Android/ZZZsdk
)运行时出现了以下错误
/梯度距离
以下内容:
my-project[develop]08:48:11 ./gradlew dist
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':app'.
> The SDK directory '/Users/me/Library/Android/ZZZsdk' does not exist.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 0s