Titanium 无法识别 Windows 上的 Android SDK
Titanium 无法识别 Windows 上的 Android SDK
我的问题是 Titanium Studio 看不到我安装的 Android 平台。我尝试通过 Titanium Studio 删除并重新安装所有内容,但这不会产生任何影响。
以下是 SDK 管理器的屏幕截图:https://i.sstatic.net/ZHnUu.jpg
Titanium Studio 屏幕截图:https://i.sstatic.net/MVYI3.jpg
Titanium Studio 详细信息:
Titanium Studio, build: 1.0.8.201201262211
Build: jenkins-titanium-rcp-master-136 (origin/master)
Date: 26 January 2012, 22:14:21
操作系统信息: 微软 Windows 7 旗舰版 6.1.7601 Service Pack 1 Build 7601
Titanium Studio 中的问题:
One or more pieces are missing from the Android SDK.
It may be that the Android SDK is already installed
and Titanium Studio cannot locate the directory, or
it may be that some additional components need to be installed.
Items required:
•An Android SDK is missing. Titanium requires Android platforms 2.1.* and 2.2.*
Titanium doesn't recognize Android SDK on Windows
My problem is that Titanium Studio doesn't see my installed Android Platforms. I've tried removing and reinstalling everything via Titanium Studio but that won't make any difference.
Here's a screenshot of the SDK Manager: https://i.sstatic.net/ZHnUu.jpg
Titanium Studio Screenshot: https://i.sstatic.net/MVYI3.jpg
Titanium Studio Details:
Titanium Studio, build: 1.0.8.201201262211
Build: jenkins-titanium-rcp-master-136 (origin/master)
Date: 26 January 2012, 22:14:21
OS Information:
Microsoft Windows 7 Ultimate
6.1.7601 Service Pack 1 Build 7601
Problem in Titanium Studio:
One or more pieces are missing from the Android SDK.
It may be that the Android SDK is already installed
and Titanium Studio cannot locate the directory, or
it may be that some additional components need to be installed.
Items required:
•An Android SDK is missing. Titanium requires Android platforms 2.1.* and 2.2.*
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
我们刚刚花了几天时间来解决这个问题。问题出在您安装的最新版本的移动 SDK 上。 Titanium Studio 实际上使用以下脚本来验证配置窗口中的 Android SDK 路径:
MAC 路径如下所示:
/Library/Application Support/Titanium/mobilesdk/osx/sdk_version_number_here/android/avd.py
根据您的帖子,您的路径可能是这样的:
C:\Users\Dean\AppData\Roaming\Titanium\mobilesdk\win32\sdk_version_number_here\android\avd.py
如果您浏览到该文件夹并查找该脚本,它可能已丢失。我们刚刚删除了该版本的 sdk(对我们来说是 2.0.1.GA2)。然后进入帮助->检查更新以重新安装最新版本。
We just spent a couple days wrestling with this problem. The issue is with the latest version of the mobile sdk that you've installed. Titanium Studio actually uses the following script to validate the Android SDK path in the configuration window:
MAC path looks like this:
/Library/Application Support/Titanium/mobilesdk/osx/sdk_version_number_here/android/avd.py
Based on your post, your path is probably something like:
C:\Users\Dean\AppData\Roaming\Titanium\mobilesdk\win32\sdk_version_number_here\android\avd.py
If you browse to the folder and look for that script, it's probably missing. We just deleted that version of the sdk (for us it was 2.0.1.GA2). Then went to Help -> Check for Updates to reinstall the latest version.
您可以尝试安装所有 api 级别吗? SDK 级别 10-15。
希望这会有所帮助。我也在同一版本的 Windows 上运行 Titanium,并且运行良好。
Can you try installing all the api levels. SDK level 10-15.
Hopefully that would help. I am also running Titanium on the same version of windows, and it works fine.
这看起来很疯狂,但你需要安装 sdk 7 和 8,以及 google API。我认为他们的代码嵌套在这些 SDK 中。检查两次您是否接受 Google API 的许可。
以下是使用 Android 安装 Titanium 的完整指南。
This looks crazy, but you need to install sdk 7 and 8, with the google APIs. I think that they have code nested to these SDK. Check twice that you accept the licence with Google API.
Here is the complete guide of installing Titanium with Android.
我为同样的问题绞尽脑汁两天了,解决方案很简单:
Titanium 3.2 及更高版本不适用于 Windows 中的 android sdk。
降级到 3.1.3 一切都会好起来
https:// wiki.appcelerator.org/display/guides2/Reverting+to+a+Previous+Version
I broke my head for 2 days on the very same problem, and the solution is quite simple:
Titanium 3.2 and above does not work with android sdk in Windows.
Downgrade to 3.1.3 and everything will be just fine
https://wiki.appcelerator.org/display/guides2/Reverting+to+a+Previous+Version