如何解决二错误"防爆...化:没有Android的“-8”或在Android SDK Android的-2.2'"在Mac上运行OSX的狮子? [英] How to resolve Titanium error "Ex...tion: No Android '-8' or android '-2.2' in the Android SDK." on a Mac running OSX Lion?

查看:182
本文介绍了如何解决二错误"防爆...化:没有Android的“-8”或在Android SDK Android的-2.2'"在Mac上运行OSX的狮子?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Mac计算机上运行OSX狮子上大家好林新使用钛工作室。有即时通讯没有问题,开发iPhone和iPad应用程序,但有问题的建立为Android项目。
我有一个现有的(最新的)的Andr​​oid SDK,并已开发使用Java标准的Eclipse基本的应用程序。我试着指着钛,而我是用我的Eclipse,但失败,出现以下异常我的Andr​​oid SDK。

Hi guys Im new using Titanium studio on a mac machine running OSX Lion. Im having no problem developing iphone and ipad apps but having problem setting-up a project for Android.
I have an existing (latest) android SDK and is already developing basic apps using Java on standard Eclipse. I tried pointing Titanium to my android SDK which I was using for my Eclipse but fails with the following exception.

Android的SDK,在给定的路径有以下错误:前...化:没有Android的-8或在Android SDK机器人-2.2

Android SDK at the given path has the following error:"Ex...tion: No Android '-8' or android '-2.2' in the Android SDK."

我如何解决这个无需重新下载一切,这钛自动尝试如果我问它来建立我的SDK,形成了我。

How do I resolve this without re-downloading everything, which Titanium automatically tries if I ask it to set up my SDK form me.

在此先感谢你们。

推荐答案

该工具需要特定的最低Android SDK中的水平,您的系统似乎缺少。在终端,打开机器人工具(在Android的SDK文件夹),打开了Android SDK管理器。下载Android 2.2(API 8)工具:你至少需要SDK平台和谷歌的API由谷歌公司的API8。当你在这,你可以下载任何你可能要支持较新的SDK。

The tooling requires a specific minimum Android SDK level, which your system appears to be missing. In a terminal, open the android tool (in the android-sdk folder) to open the Android SDK Manager. Download the Android 2.2 (API 8) tools: you'll need at least the "SDK Platform" and "Google APIs by Google Inc" for API8. While you're at it, you can download any of the newer SDKs you might want to support.

请确保您使用谷歌API的版本的SDK建立自己的Andr​​oid应用程序,否则你会得到错误。 非API的软件开发工具包不包括谷歌的各种组件的移动应用程序所期望的。

Make sure you build your Android apps with the "Google APIs" version of the SDK or you'll get errors. The "non APIs" SDKs don't include the various Google components that mobile apps expect.

TiStudio应该提示你下载这个,应该打开SDK管理器为您服务。它不应该要求你重新下载一切。你可能想通过检查来运行,以确保您已经安装了所有必要的组件。

TiStudio should prompt you to download this, and should open the SDK Manager for you. It shouldn't require you to re-download everything. You might want to run through its checks to make sure you have all the necessary components installed.

这篇关于如何解决二错误"防爆...化:没有Android的“-8”或在Android SDK Android的-2.2'"在Mac上运行OSX的狮子?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆