可以在eclipse使用相同的SDK,Android的工作室(的IntelliJ)? [英] Can Eclipse use the same sdk that Android Studio (intelliJ)?

查看:217
本文介绍了可以在eclipse使用相同的SDK,Android的工作室(的IntelliJ)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Android的工作室,但我需要的Eclipse的时刻。所以,在窗口> preferences>的Andr​​oid,在SDK位置,我选择我的Andr​​oid工作室文件夹内的SDK位置,那就是... / Android的工作室/ SDK,但找不到SDK API的我已经安装。

I'm using Android Studio, but I need Eclipse at the moment. So, in Window > Preferences > Android, in SDK Location, I choose the sdk location inside my Android Studio folder, that is .../android-studio/sdk, but it can't find the sdk APIs I've installed.

当我试图进入这个配置,它表明:

And when I try to enter this configuration, it shows:

The currently displayed page contains invalid values

任何帮助吗?

感谢您!

推荐答案

我知道这是答案迟,但如果有人搜索这个..

I know it is late for the answer but if anyone search for this..

首先,你必须建立一个共同的SDK,例如把你的SDK文件夹在以下位置C:\\ Android的\\ SDK

First you have to set up a common SDK, for example put your SDK folder at the following location C:\Android\sdk

在你的Andr​​oid Studio的链接SDK,转到文件>项目结构 - >的Andr​​oid SDK 和指向C:\\ Android的\\ SDK在Android SDK中的位置。

Link SDK in your Android Studio, go to File->Project Structure->Android SDK and point the C:\Android\sdk in Android SDK location.

在Eclipse ADT链接SDK,转到 Eclipse的> preferences->的Andr​​oid 并更改SDK位置为C:\\ Android的\\ SDK

Link SDK in your Eclipse ADT, go to Eclipse->Preferences->Android and change the SDK Location to C:\Android\sdk

*重新启动Eclipse和Android的工作室

*Restart both Eclipse and Android Studio

这篇关于可以在eclipse使用相同的SDK,Android的工作室(的IntelliJ)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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