打包失败并出现错误
ERROR: Error: Command failed: /home/name/Android/Sdk/tools/android list target
+ Logfiles at /tmp/crosswalk-app-tools-com.herokuapp.aedntrxns
/usr/lib/node_modules/crosswalk-app-tools/src/crosswalk-pkg:581
throw new Error("Packaging failed");
^
Error: Packaging failed
这可能是因为文件 /home/matt/Android/Sdk/tools/android 包含以下内容:
#!/bin/bash
echo The "android" command is no longer available.
echo For manual SDK and AVD management, please use Android Studio.
echo For command-line tools, use tools/bin/sdkmanager and tools/bin/avdmanager
exit 1
如何将人行横道引导到 list target 命令的适当可执行文件?