我的第一个android程序构建失败了。错误:系统找不到指定的路径
从android studio复制的错误消息如下:我的第一个android程序构建失败了。错误:系统找不到指定的路径,android,android-studio,Android,Android Studio,从android studio复制的错误消息如下: FAILURE: Build failed with an exception. What went wrong: Execution failed for task ':app:dexDebug'. com.android.ide.common.internal.LoggedErrorException: Failed to run command: E:\Android\android-studio\sdk\build-tools\
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':app:dexDebug'.
com.android.ide.common.internal.LoggedErrorException:
Failed to run command:
E:\Android\android-studio\sdk\build-tools\android-4.4W\dx.bat --dex --num-threads=4
--output F:\AndroidStudioProjects\GeoQuiz\app\build\intermediates\dex\debug
F:\AndroidStudioProjects\GeoQuiz\app\build\intermediates\classes\debug
F:\AndroidStudioProjects\GeoQuiz\app\build\intermediates\dependency-cache\debug
Error Code:
1
Output:
The system cannot find the path specified.
Try:
Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
我以前使用过EclipseIDE,出现了相同的错误消息,即“系统找不到指定的路径”
我从网上搜索了几乎所有类似的问题,这个问题还没有解决
IDE内部使用一些.bat文件来查找java.exe位置,但由于未知原因,my.bat文件无法运行
所以我怀疑问题来自我的另一个问题: