如何在真实的 Android 设备上部署 Titanium 应用程序?

发布于 2024-11-30 21:38:14 字数 524 浏览 3 评论 0原文

我想知道如何从 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

音栖息无 2024-12-07 21:38:14

当您在 App Explorer 或 Project Explorer 视图中右键单击项目时,应该会出现一个“安装到 Android 设备”菜单。 App Explorer 工具栏中还有一个 run 图标,其中有“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 run icon in App Explorer toolbar that has the "Android Device" option. You could also see the Getting Started with Titanium Studio guide.

乱了心跳 2024-12-07 21:38:14

来自 Titanium Studio 指南

  1. 配置您的 Android 设备:

    • 设置>应用领域>>检查“未知来源”
    • 设置>应用领域>>发展>选中“USB 调试”
    • 设置>应用领域>>发展>勾选“保持清醒”
  2. 使用 USB 数据线将 Android 手机连接到电脑

  3. 在 Titanium Studio 中打开项目:

    • 应用程序资源管理器栏中的运行菜单> Android 设备

等待应用程序加载并在设备上的应用程序抽屉中查找您的应用程序,然后点击该应用程序将其打开。

From the Titanium Studio Guide:

  1. Configure your Android device:

    • Settings > Applications > Check 'Unknown sources'
    • Settings > Applications > Development > Check 'USB Debugging'
    • Settings > Applications > Development > Check 'Stay Awake'
  2. Connect your Android Phone to your PC iwth a USB cable

  3. Open your project in Titanium Studio:

    • Run Menu in App Explorer Bar > Android Device

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.

雪化雨蝶 2024-12-07 21:38:14

获取 Titanium Mobile,您可以直接发送到您的 Android 设备

Get Titanium Mobile and you can send directly to your Android device

锦爱 2024-12-07 21:38:14

在最新的 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.

本宫微胖 2024-12-07 21:38:14

时,选择安装到 Android 设备...

  • ...或者当您右键单击您的项目时,当您的手机成功通过 USB 连接到您的计算机
  • (正如研究员已经提到的)

...or choose Install to Android Device...

  • when your Mobile is successfully USBconnected to your Computer
  • when you rightclick on your project (as already mentioned by the fellows)
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文