如何在真实的 Android 设备上部署 Titanium 应用程序?
我想知道如何从 TitaniumStudio 部署到真正的 Android 设备。我有一个可以在模拟器中运行的钛应用程序。但我不知道如何让它在真实设备上运行。
我知道如何使用 Xcode 将 Titan 应用程序部署到我的 iPhone 上。
我也安装了 Eclipse,并成功地将一个简单的 HelloWorld.app 部署到真实的 Android 设备上。
更新:我刚刚了解到可以使用命令行完成部署。
[ 12:49:59 ~ ] $ adb install /Users/johndoe/git/helloworld/build/android/bin/app.apk
772 KB/s (2035982 bytes in 2.573s)
pkg: /data/local/tmp/app.apk
Success
[ 12:50:54 ~ ] $
有办法在 TitaniumStudio 中部署吗?
I would like to know how to deploy from TitaniumStudio to a real Android device. I have a titanium app that works in the emulator. But I'm clueless how to get it running on the real device.
I know how to deploy my titanium app onto my iPhone using Xcode.
I have installed Eclipse too, and has managed to deploy a simple HelloWorld.app to real Android device with it.
Update: I have just learned that deploy can be accomplished using the commandline.
[ 12:49:59 ~ ] $ adb install /Users/johndoe/git/helloworld/build/android/bin/app.apk
772 KB/s (2035982 bytes in 2.573s)
pkg: /data/local/tmp/app.apk
Success
[ 12:50:54 ~ ] $
Is there a way to deploy within TitaniumStudio?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
当您在 App Explorer 或 Project Explorer 视图中右键单击项目时,应该会出现一个“安装到 Android 设备”菜单。 App Explorer 工具栏中还有一个
图标,其中有“Android 设备”选项。您还可以查看Titanium Studio 入门指导。
There should be an "Install to Android Device" menu when you right-click on the project in App Explorer or Project Explorer view. There is also a
icon in App Explorer toolbar that has the "Android Device" option. You could also see the Getting Started with Titanium Studio guide.
来自 Titanium Studio 指南:
配置您的 Android 设备:
使用 USB 数据线将 Android 手机连接到电脑
在 Titanium Studio 中打开项目:
等待应用程序加载并在设备上的应用程序抽屉中查找您的应用程序,然后点击该应用程序将其打开。
From the Titanium Studio Guide:
Configure your Android device:
Connect your Android Phone to your PC iwth a USB cable
Open your project in Titanium Studio:
Wait for the app to load and look for your app on the app drawer on your device, then tap the app to open it.
获取 Titanium Mobile,您可以直接发送到您的 Android 设备
Get Titanium Mobile and you can send directly to your Android device
在最新的 Titanium Studio 中,它非常用户友好。当您右键单击您的项目时,您可以通过单击“使用设备运行”选项在设备上运行您的应用程序。
In the latest Titanium Studio its very user friendly.You can run your application on device by click on the Option "Run with Device", When you get right click on your project.
时,选择安装到 Android 设备...
...or choose Install to Android Device...