简体   繁体   English

如何安装Android工具和平台工具的早期版本?

[英]How do you install and earlier version of Android Tools and Platform Tools?

I am trying to get the android simulator working in Appcelerator's Titanium Studio on Windows 7, but it is not compatible with the latest Tools version (23) due to android issue #66740. 我试图让Android模拟器在Windows 7上的Appcelerator的Titanium Studio中运行,但由于android问题#66740,它与最新的Tools版本(23)不兼容。 However I can't seem to find a way to install Tools version 22. 但是我似乎无法找到安装Tools 22版的方法。

I used the Google installer from here: http://developer.android.com/sdk/installing/installing-adt.html 我从这里使用了Google安装程序: http//developer.android.com/sdk/installing/installing-adt.html

After installing if I run titanium setup check in the cmd window it says that the tools is unsupported version 23.0.2 and platform tools is unsupported version 20. 安装完成后,如果我在cmd窗口中运行titanium setup check ,则表示工具不支持版本23.0.2,平台工具不支持版本20。

According to the Titanium Docs I need Tools version 22 and Platform Tools version 19. I can't figure out a way to get earlier version of either, I can only install earlier versions of the Build-tools and SDK. 根据Titanium Docs,我需要工具版本22和平台工具版本19.我无法找到获得早期版本的方法,我只能安装早期版本的Build-tools和SDK。

Go to android sdk manager and download all the versions you want to do 转到android sdk manager并下载你想要做的所有版本

http://developer.android.com/tools/help/sdk-manager.html http://developer.android.com/tools/help/sdk-manager.html

Thanks 谢谢

Well, you could use direct link, like http://dl.google.com/android/android-sdk_r21.1-windows.zip - here is tools revision 21.1 with platform tools revision 19 (if you will download revision 22, just change the number; it will have r20 platform tools). 好吧,您可以使用直接链接,例如http://dl.google.com/android/android-sdk_r21.1-windows.zip - 这是工具修订版21.1,平台工具修订版19(如果您将下载修订版22,只需改变数量;它将有r20平台工具)。 You could find more in official documentation of Titanium: http://docs.appcelerator.com/titanium/3.0/#!/guide/Installing_the_Android_SDK ) 您可以在Titanium的官方文档中找到更多信息: http//docs.appcelerator.com/titanium/3.0/# !/guide/ Installing_the_Android_SDK

Or, you could just use tool right in Titanium: Go in dashboard, in "get started" click on "Android SDK->Install or Update Android SDK", as seen in picture [1]. 或者,你可以在Titanium中使用工具:进入仪表板,在“开始使用”中点击“Android SDK->安装或更新Android SDK”,如图[1]所示。 Then unhide settings, select empty folder to installing sdk, and versions of Android [2]. 然后取消隐藏设置,选择空文件夹以安装sdk,以及Android [2]的版本。 It will install, and it should work. 它将安装,它应该工作。

Sorry, couldn't post images so far, so here: 对不起,到目前为止无法发布图片,所以这里:
(1): i.stack.imgur.com/bHHx5.png (1):i.stack.imgur.com/bHHx5.png
(2): i.stack.imgur.com/mXQwH.png (2):i.stack.imgur.com/mXQwH.png

I had the same problem. 我有同样的问题。 Eventually I have found the bug report that referred to it: TIMOB-17221 . 最后我找到了提到它的错误报告: TIMOB-17221 The bug is marked as fixed in SDK 3.3.0, but that version of SDK has not been released yet, so I was stuck again. 该错误在SDK 3.3.0中被标记为已修复,但该版本的SDK尚未发布,因此我再次陷入困境。

Then from Appcelerator's Wiki I found out that there is a Titanium CI builds page . 然后从Appcelerator的Wiki中我发现有一个Titanium CI构建页面 Download 3.3.0 from there, install and everything should start working again. 从那里下载3.3.0,安装,一切都应该重新开始工作。 At least it did for me. 至少它对我有用。 Good luck! 祝好运!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM