示例消息
error XA5205: Cannot find `aapt.exe`. Please install the Android SDK Build-Tools package with the `C:\Program Files (x86)\Android\android-sdk\tools\android.bat` program.
error XA5205: Cannot find `zipalign.exe`. Please install the Android SDK Build-Tools package with the `C:\Program Files (x86)\Android\android-sdk\tools\android.bat` program.
error XA5205: Cannot find `lint.bat` in the Android SDK. Please set its path via `/p:LintToolPath`.
问题
当找不到所需的工具时,这是一个通用错误。
解决方案
应检查是否已安装 Android SDK 并更新。 此外,请确保在 IDE 中设置路径。