在Tianium Studio中将我的projet运行到android设备

在Tianium Studio中将我的projet运行到android设备,android,titanium,device,Android,Titanium,Device,我使用Tianium studio 3.0.3版 当我在Android设备上运行我的项目时,我得到了以下错误: [ERROR] : Project failed to build after 287ms 它无法检测到我的设备 我为sumsung安装了USB驱动程序,并通过启用未知源和启用USB调试来配置Android设备 在我的EclipseIDE中,我可以检测我的设备并毫无问题地运行我的项目 我可以给我一些帮助吗?我如何将projet部署到Tianium Studio中的android设备

我使用Tianium studio 3.0.3版

当我在Android设备上运行我的项目时,我得到了以下错误:

[ERROR] :  Project failed to build after 287ms
它无法检测到我的设备

我为sumsung安装了USB驱动程序,并通过启用未知源和启用USB调试来配置Android设备

在我的EclipseIDE中,我可以检测我的设备并毫无问题地运行我的项目

我可以给我一些帮助吗?我如何将projet部署到Tianium Studio中的android设备


谢谢:)

我使用以下小脚本在我的设备上启动应用程序:

$SN
变量定义设备的id。您可以通过运行
adb设备

ti build -p android --build-only;
adb -s $SN uninstall com.example;
adb -s $SN install build/android/bin/applicationName.apk ;
adb -s $SN shell am start com.example/com.example.ActivityName
如果要保留应用程序数据,应执行以下操作:

adb -s $SN install build/android/bin/applicationName.apk ;
我假设您已正确配置路径。 从应用程序文件夹启动脚本。
您必须更改
com.example
com.example.ActivityName
以匹配您的配置。

A解决方法,使用
ti build-p android-b
从cli构建应用程序,然后使用
adb install-r build/android/bin/PROJECT_NAME.apk
在设备中安装应用程序。请确保位于项目的根目录下。您在系统上正确配置了Android吗?您可以在Tistudio的仪表板页面上验证,当我使用命令ti build-p android--build only from my application folder启动我的项目时,它会给我以下错误:[DEBUG]没有要加载的项目级插件[DEBUG]加载的插件钩子:[DEBUG]C:\Users\FAC\AppData\Roaming\npm\node\u modules\tian\hooks\tisd3fixes.js[DEBUG]有我忘记的配置吗?