我不能得到的IntelliJ承认我的Andr​​oid SDK我的、IntelliJ、Andr、SDK

由网友(悬世尘埃)分享简介:我试图让使用的IntelliJ Android的程序。不幸的是,我不能在Android SDK要在的IntelliJ认可。 (即Eclipse有Android SDK中管理器安装就好了。)I am trying to make Android programs using IntelliJ. Unfortunate...

我试图让使用的IntelliJ Android的程序。不幸的是,我不能在Android SDK要在的IntelliJ认可。 (即Eclipse有Android SDK中管理器安装就好了。)

I am trying to make Android programs using IntelliJ. Unfortunately, I cannot get the Android SDK to be recognised on IntelliJ. (I.e. Eclipse has Android SDK Manager installed just fine.)

我选择从头开始创建新的项目。 我给项目名称并选择让Android模块。 创建源目录(下一步)。

I select create new project from scratch. I give the project a name and select make Android module. Create source directory (next).

然后计算机显示的Andr​​oid SDK没有。我点击省略号(...)和程序可以看到我的JDK文件。

The computer then shows Android SDK none. I click the ellipses (...) and the program can see my JDK files.

我点击+,选择Android的SDK。

I click on the + and select Android SDK.

我然后找到目录c:程序文件(x86)机器人 Android的SDK

I then find the directory c:Program Files (x86)Androidandroid-sdk.

然而,当我点击确定出现一个对话框,提示请选择Java SDK。它只是给了我1.6的选择(而不是另一个1.7)。然后我preSS确定为1.6。

However, when I click OK a dialog box appears stating "Please select Java SDK". It only gives me the choice of 1.6 (and not the other one 1.7). I then press OK for 1.6.

最后,然后计算机报告它找不到任何Android的目标,在此SDK。

Finally the computer then reports it cannot find any Android targets in this SDK.

请帮助!

推荐答案

在Linux上,运行工具/机器人来运行Android SDK管理器。然后下载一个平台的一个或多个。查阅SDK README.TXT的SDK目录更多。一旦你做了那里,你可以选择一个平台,和你的IntelliJ系统将开始运行。

On linux, run tools/android under the SDK to run the Android SDK Manager. Then download one or more of the platforms. Check out "SDK Readme.txt" in the SDK directory for more. Once you're done there, you will be able to select a platform, and your IntelliJ system will start to run.

阅读全文

相关推荐

最新文章