Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/191.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/haskell/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
我的第一个android程序构建失败了。错误:系统找不到指定的路径_Android_Android Studio - Fatal编程技术网

我的第一个android程序构建失败了。错误:系统找不到指定的路径

我的第一个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\

从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\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文件无法运行

所以我怀疑问题来自我的另一个问题: