Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/306.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
Java Appcelerator Studio应用程序未在设备中运行_Java_Android_Titanium_Appcelerator - Fatal编程技术网

Java Appcelerator Studio应用程序未在设备中运行

Java Appcelerator Studio应用程序未在设备中运行,java,android,titanium,appcelerator,Java,Android,Titanium,Appcelerator,我正在使用Tianium sdk版本5.0.2,我正在尝试在我的android设备上运行该应用程序,它抛出以下错误 [INFO] : Executing Alloy compile: cmd /s /c C:\Users\USER_NAME\.appcelerator\install\5.0.2\package\node_modules\appc-cli-titanium\node_modules\alloy\bin\alloy compile C:\Users\USER_NAME\Docu

我正在使用Tianium sdk版本
5.0.2
,我正在尝试在我的android设备上运行该应用程序,它抛出以下错误

[INFO] :   Executing Alloy compile: cmd /s /c C:\Users\USER_NAME\.appcelerator\install\5.0.2\package\node_modules\appc-cli-titanium\node_modules\alloy\bin\alloy compile C:\Users\USER_NAME\Documents\Appcelerator_Studio_Workspace\ac (1)\Academic Communicators\app --config platform=android,version=0,simtype=none,devicefamily=none,deploytype=test,target=device --no-colors
'C:\Users\USER_NAME\.appcelerator\install\5.0.2\package\node_modules\appc-cli-titanium\node_modules\alloy\bin\alloy' is not recognized as an internal or external command,
operable program or batch file.
[ERROR] Application Installer abnormal process termination. Process exit value was 1
在终端显示中运行ti构建平台android

Titanium Command-Line Interface, CLI version 5.0.4, Titanium SDK version 5.0.2.GA
Copyright (c) 2012-2015, Appcelerator, Inc.  All Rights Reserved.

Please report bugs to http://jira.appcelerator.org/

[ERROR] JDK (Java Development Kit) not found.
[ERROR] If you already have installed the JDK, verify your JAVA_HOME environment variable is correctly set.
[ERROR] The JDK can be downloaded and installed from http://appcelerator.com/jdk.
我尝试替换project中的
alloy
文件,还将
JAVA\u HOME
环境变量设置为
C:\Program Files(x86)\JAVA\jdk1.7.0\u 80\bin,什么都不管用!帮我找到解决办法

谢谢

编辑

javac版本是
javac1.7.0\u80
ti-info
显示jdk问题

Java Development Kit Issues

  x  JDK (Java Development Kit) not installed.
     If you already have installed the JDK, verify your JAVA_HOME environment variable is correctly
     set.
     The JDK is required for must be manually downloaded and installed from
     http://appcelerator.com/jdk.

尝试运行
ti info
查看缺少的内容。还要检查PATH变量。您说过您将JAVA_设置为HOME,以便能够从终端运行“javac--version”。如果不起作用,请将路径添加到路径。

只是为了确保:您遵循了:?32位版本?