升级的IntelliJ 10.5和Android构建失败没有指定Android SDK中 [英] Upgrade IntelliJ to 10.5 and Android build fails Android SDK not specified

查看:240
本文介绍了升级的IntelliJ 10.5和Android构建失败没有指定Android SDK中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚更新了我的IntelliJ IDEA的安装在我的Mac 10.5。我有我的工作在10.0.3的Andr​​oid项目,一切是伟大的工作。现在,当我尝试建立的项目,我得到一个错误:

 信息:编制完成了1个错误和0警告
资料:1错误
信息:0警告
错误:Android SDK中没有为模块指定Project_Android
 

解决方案

这听起来像的IntelliJ不知道去哪里了Android SDK中。

下面是一个循序渐进的:

  1. 从现有项目,到文件 - >项目结构
  2. 点击模块从项目设置组条目(左侧)
  3. 点击Android的模块,为您的项目
  4. 单击新建它说:Android平台的
  5. 它指向Android SDK的位置,你必须在本地。
  6. 选择一个API版本。
  7. 单击应用

这应该是它。祝你好运!

图片添加

I just recently updated my IntelliJ Idea installation on my Mac to 10.5. I had an Android project that I was working on in 10.0.3 and everything was working great. Now when I try to build the project I am getting an Error:

Information:Compilation completed with 1 error and 0 warnings
Information:1 error
Information:0 warnings
Error:Android SDK is not specified for module Project_Android

解决方案

It sounds like IntelliJ doesn't know where the Android SDK is.

Here is a step by step:

  1. From your existing project, go to 'File' -> 'Project Structure'
  2. Click 'Modules' entry from the 'Project Settings' group (on the left side)
  3. Click 'Android' module for your project
  4. Click 'New' where it says 'Android Platform'
  5. Point it to the Android SDK location that you have locally.
  6. Select an API version.
  7. Click 'Apply'

That should be it. Good luck!

Image added

这篇关于升级的IntelliJ 10.5和Android构建失败没有指定Android SDK中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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