适用于 IOS 和 Android 的 OSX Titanium Mobile安卓

发布于 2024-12-13 15:14:38 字数 1219 浏览 1 评论 0原文

我是一名 IOS 开发人员,在 Snow Leopard 上安装了有效的 XCode 4。 因此,我目前没有安装 Android 开发环境,因为到目前为止我还不需要一个。

我想评估 appcellerator Titanium Mobile,以期使用它为需要在 IOS 和 Android 上提供应用程序的最终客户制作产品原型。 android,根据我所读到的内容,这可能是一种合适的方法,也可能不是,具体取决于最终产品的性质。

我已经下载并安装了最新的 Titanium Studio,它似乎已经为我的 XCode 安装选择了设置,并且允许我创建一个“hello world”应用程序来构建该环境,但是,因为我没有 android,我自然无法实现我想做的事情,至少有一个“hello world”应用程序,我可以构建到最新的 IOS 和 android 版本。理想情况下,选择每种口味的旧版本将是一个不错的选择,但在现阶段并不是绝对必要的。

我尝试安装android SDK,表面上是成功的,但Titanium不会接受它。我查阅了 appcellerator 网站(http://developer.appcelerator.com/doc/mobile/mobile-build-osx),该网站表面上显示了我需要的信息,但是当我深入研究它时,从屏幕截图来看,它似乎非常过时,我无法得到想要的结果)

所以,假装我没有安装android SDK(即没有什么我需要特别保留我到目前为止所尝试的内容),获得Titanium的最简单路径是什么工作室已准备好为两者构建IOS和安卓?也就是说,我需要同时进行这两项工作 - 如果我想要一个纯 IOS 部署,我不会强迫自己使用 javascript 来削弱我的开发 - 我会在 Objective C 中编码。如果我想纯粹为 Android 开发,我也不会使用 Titanium -对于经验丰富的程序员来说,像 Titanium 这样的产品的唯一真正意义是避免双重处理编码任务。我可以看到有一个辅助应用程序,“javascript 开发人员”(即“网页设计人员”)可能希望使用这样的产品来避免 Objective C 的学习曲线,但除此之外,必须有一种简单的方法让这个产品开箱即用地构建“跨平台”,否则它就没有真正的用途。

最后,如果您无法回答所提出的问题,请不要宣扬您对“自己开发”或“编写 2 个应用程序,不要使用 Titanium”的特定立场。我希望评估钛并做出自己的决定,而不是依靠其他既得利益者的意见来阻止我这样做。我已经对该产品有足够的偏见,但是我有足够的开放态度来看看它是否确实作为跨平台开发工具有用。

如果其他人认为这有用,我很乐意发布(使用对此问题的评论)我的评估结果。

I am an IOS developer with a working XCode 4 installation on Snow Leopard.
As such I don't currently have an android development environment installed as up to now I have not needed one.

I would like to evaluate appcellerator Titanium Mobile with a view to using it for prototyping a product for an end client who needs an app to be available on IOS & android, and from what I have read, this may be an appropriate way to go, and it may not, depending on the nature of the end product.

I have downloaded and installed the latest Titanium Studio and it appears to have picked up settings for my XCode installation, and would allow me to create a "hello world" app to build on that environment, however, as I don't have android, I naturally can't achieve what I would like to do, which is at a bare minimum, have a "hello world" app that I can build to the latest IOS and android version(s). ideally a selection of older versions of each flavour would be a nice have, but not absolutely essential at this stage.

I attempted to install the android SDK, which on the surface was successful, but Titanium won't pick it up. I consulted the appcellerator website (http://developer.appcelerator.com/doc/mobile/mobile-build-osx) which appears on the surface to have the information I needed, however when I dig into it, from screenshots it appears to be very out of date, and I could not get the desired result)

So, pretending I have NO android SDK installed (ie there is nothing i need to particularly preserve about what i have attempted so far), what's the simplest path to get Titanium Studio ready to build for both IOS and android? Ie i need to do both simultaneously - if I wanted a pure IOS deployment I would not cripple my development by forcing myself to use javascript - I would code in objective C. if I wanted to develop purely for android I would not use Titanium either - the only real point in a product like Titanium for experienced programmers is to avoid double handling of coding tasks. I can see there is a secondary application where "javascript developers" (that is to say "web designers") may wish to use such a product to avoid the learning curve of objective C, but other than that, there must be a simple way to get this product building "cross platform" out of the box, or it serves no real purpose.

Finally, if you can't answer the question as posed, please refrain from evangelizing your particular stance on "roll your own" or "write 2 apps, don't use Titanium". I wish to evaluate Titanium and make up my own mind, and not rely on the opinions of others with a vested interest in preventing me from doing that. I have enough bias against the product already, however I am open minded enough to see if indeed it is useful as a cross platform development tool.

I am happy to post (using comments to this question) the results of my evaluation, if others find this useful.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

看透却不说透 2024-12-20 15:14:38

由于您已经拥有 iOS 所需的部分,因此这应该很简单。在 Titanium 中,找到仪表板。它应该默认启动,但您可以通过带有 Appcelerator 徽标的按钮访问它。从那里,单击“配置”选项卡并选择 Android。完成此操作后,您可以直接从 Titanium 安装 Android SDK,并且不会出现路径引用混淆的情况。您将需要核心 SDK,以及 Google API 8 和 2.2 的模拟器。

这是显示我的意思的屏幕截图:
在此处输入图像描述

编辑:
我回答时没有注意到问题日期。我是因为误按才来到这里的,然后就跳进去了。对此深表歉意。

Since you already have the bits necessary for iOS, this should be straightforward. In Titanium, find the Dashboard. It should launch by default, but you can get to it from the button that has Appcelerator's logo. From there, click on the "Configure" tab and select Android. Once you've done that, you can install the Android SDK from Titanium directly, and there should be no confusion over path referencing. You'll need the core SDK, as well as Google APIs 8 and the emualtor for 2.2.

Here's a screenshot showing what I mean:
enter image description here

EDIT:
I didn't notice the question date when I responded. I got here through a misclick and just jumped in. Sorry about that.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文