我已经有这个问题已经有一段时间了,我尝试了互联网上的所有解决方案,但没有一个帮助。
每次运行时都会出现此错误:Ionic run android
:
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':processDebugResources'.
com.android.ide.common.process.ProcessException: org.gradle.process.internal.E
xecException: Process 'command 'C:\Users\hamiri\AppData\Local\Android\sdk\build-
tools\23.0.3\aapt.exe'' finished with non-zero exit value 1
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output.
运行gradlew.bat --info build clean
时:
FAILURE: Build failed with an exception.
Where:
Script 'D:\HomeTest\platforms\android\CordovaLib\cordova.gradle' line: 117
What went wrong:
A problem occurred evaluating root project 'android'.
Unable to determine Android SDK directory.
我确保验证工具\ 23.0.3 \ aapt.exe在那里。 有人可以帮我解决这个问题吗?