升级的IntelliJ 10.5和Android构建失败没有指定Android SDK中 [英] Upgrade IntelliJ to 10.5 and Android build fails Android SDK not specified
本文介绍了升级的IntelliJ 10.5和Android构建失败没有指定Android SDK中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我刚刚更新了我的IntelliJ IDEA的安装在我的Mac 10.5。我有我的工作在10.0.3的Android项目,一切是伟大的工作。现在,当我尝试建立的项目,我得到一个错误:
信息:编制完成了1个错误和0警告
资料:1错误
信息:0警告
错误:Android SDK中没有为模块指定Project_Android
解决方案
这听起来像的IntelliJ不知道去哪里了Android SDK中。
下面是一个循序渐进的:
- 从现有项目,到文件 - >项目结构
- 点击模块从项目设置组条目(左侧)
- 点击Android的模块,为您的项目
- 单击新建它说:Android平台的
- 它指向Android SDK的位置,你必须在本地。
- 选择一个API版本。
- 单击应用
这应该是它。祝你好运!
图片添加
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:
- From your existing project, go to 'File' -> 'Project Structure'
- Click 'Modules' entry from the 'Project Settings' group (on the left side)
- Click 'Android' module for your project
- Click 'New' where it says 'Android Platform'
- Point it to the Android SDK location that you have locally.
- Select an API version.
- Click 'Apply'
That should be it. Good luck!
Image added
这篇关于升级的IntelliJ 10.5和Android构建失败没有指定Android SDK中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文