使用Android Studio与现有的Android SDK工具 [英] Use Android Studio with existing Android SDK Tools

查看:173
本文介绍了使用Android Studio与现有的Android SDK工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

注意:我发现有关同一问题的其他问题和解答,但答案是旧版本的Android Studio,我想确认如果它仍然可以适用于最新版本的Android Studio( 2.2.3.0于2016年12月6日发布



我是Android开发的新手,我选择了IDE错误地,在思考和知道使用哪个IDE之前。



所以在这个错误之后,我现在必须使用Android Studio来使用GRADLE库,因为Eclipse不会官方支持它们(因为Eclipse现在已经停止)。



Android Studio是1.63 GB(包括Android SDK),而Android Studio是417 MB(没有Android SDK)。 / p>

我已经下载了Android SDK工具R25.2.3(最新版),所以我不想再下载整个Studio + Android SDK。



是否可以下载没有SDK的Android Studio,然后链接SDK如果有人可以帮助,我会非常感谢!

解决方案


$ b / div>

是的,Studio和SDK可以被看作是单独的组件,它们可以通过在工作室IDE中提供SDK路径进行链接,也可以通过设置菜单在开始屏幕上显示的设置菜单android studio。



您可以通过官方Android Studio网站



注意: http://tools.android.com/ 已经放弃了提供单独的SDK和IDE组件的支持,但仍然可以从 Android官方下载链接



下载后配置步骤



1 。)下载并提取IDE



2。)找到studio或studio64 exe并在您的操作系统中运行相应的操作系统。



3。)当您开始工作室时,可能会通过提示屏幕要求 SDK 位置,并提供位置并点击下一个和下一个,最终将显示你有一个更新窗口的过程,并显示你完成的屏幕(必须遵循下面的注释)



3.a)如果没有提示屏幕显示,那么你可以配置 SDK 路径使用android studio的Splash屏幕上的设置选项



3.b)有可能当你打开一个旧的工作室项目, SDK 仍然没有配置,因为每个项目都有自己的设置,所以再次可以看到错误/日志窗口中的链接为配置SDK ,只需点击链接并提供路径



注意:在配置工作室之前禁用互联网,否则将寻找更新



可能发生问题的有用点




  • 对于旧项目,将旧的依赖项替换为项目结构中的旧依赖项可视化表示步骤的链接

  • 将gradle版本替换为新工作室支持的版本,如果没有找到任何其他工具,请执行相同操作。


NOTICE: I found other questions and answers about the same issue, but the answers are for older versions of Android Studio, and I want confirmation if it still can work for the latest version of Android Studio (2.2.3.0 which was released on December 6, 2016)

I'm new to the Android development and I selected the IDE to use wrongly and before thinking and knowing which IDE to use.

So after this mistake, I must use Android Studio now to use the GRADLE libraries as Eclipse doesn't officialy support them (because Eclipse is now discontinued).

The Android Studio is 1.63 GB (including the Android SDK), while Android Studio is 417 MB (without the Android SDK).

I have Android SDK Tools R25.2.3 ( latest ) already downloaded, so I don't want to download the whole Studio + The Android SDK again.

Is it possible to download the Android Studio without the SDK, then link the SDK to the Studio manually?

I'd be very thankful if someone could help!

解决方案

Yes it is possible , Studio and SDK can been seen as separate components and they can be linked by providing SDK path in the studio IDE or you can configure you SDK path thorough the setting menu shown at the start screen of android studio.

You can download the standalone IDE through Official Android Studio site.

Note : http://tools.android.com/ has dropped the support of providing separate SDK and IDE components but still IDE can be downloaded individually from Android Official Download Link

Steps to configure after download

1.) Download and Extract the IDE

2.) Find studio or studio64 exe and run the appropriate one in your OS

3.) When you start your studio , it will probably ask for SDK location through a prompt screen and provide the location and hit next and next , eventually it will show you a little process for update window and show you finish screen (Must follow the note below)

3.a) If there was no prompt screen shown then you can configure the SDK path using the setting option on the Splash screen of android studio

3.b) It's possible that when you open an old studio project and SDKis still not configured because every project has it's own setting so again you can see the link in error/log window as configure SDK and just click the link and provide path

Note : Disable internet before configuring you studio otherwise it will look for Updates

Helpful points to possible issue

  • For old project , replace the old dependencies with the one you have in project structure link for Visual representation of steps
  • Replace the gradle version with the one supported by your new studio and do the same if any other tool is not found.

这篇关于使用Android Studio与现有的Android SDK工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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