我刚刚更新了我的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