intelliJ IDEA 13 error: please select Android SDK

I encountered this error after installing Intellij IDEA Ultimate 14.1 and opening an existing Android project I had created using Android Studio. It turns out I just had to add the Android SDK to my list of SDKs and fix the project/module SDK settings. This is how I did it:

Go to File -> Project Structure. Click on the Project tab under Project Settings. Under Project SDK click on New -> Android SDK.

Now select the existing directory for your Android SDK. In my case it was in this folder:

C:\Users\<windows username>\AppData\Local\Android\android-sdk

Click Ok. A menu pops up asking you to set the Java SDK + Build target. You can either change these or leave it as its defaults and hit Ok. You should now see "Android API XX Platform" in the Project SDK dropdown. Click apply on the bottom. Then go to the Modules tab under Project Settings and click on the folders in the modules listing.

For each folder go to the dependencies tab and change the Module SDK to the new Android SDK and click apply. Then click Ok to close the Project Structure dialog.

After doing the above, my project was fixed.

时间: 2024-11-08 20:08:35

intelliJ IDEA 13 error: please select Android SDK的相关文章

error:please select android sdk

发现问题所在就是 在model iml文件中: 把<orderEntry type="inheritedJdk" /> 改成 <orderEntry type="jdk" jdkName="Android API 26 Platform" jdkType="Android SDK" /> 原文地址:https://www.cnblogs.com/dubo-/p/8759190.html

Android Studio运行app时提示Please select Android SDK

Android Studio运行app时提示Please select Android SDK 从github clone 代码到本地放到AS后发现,发现并不能点"Run"键运行app,并报错Error:Please select Android SDK: 最后在File->Project Structure中将Build tools version修改,问题解决. 有人说 也可以注释掉build.gradle中"buildToolsVersion '26.0.0'&q

&#39;Check Android SDK&#39;has encountered a problem.An internal error during:&quot;Check Android SDK&quot;.

在android项目下的layout目录下创建一个xml文件finish之后,报此错误.虽然点ok之后,不影响使用. 解决方案: 1.把project菜单下的build automatically前面的勾重新打上就行. 'Check Android SDK'has encountered a problem.An internal error during:"Check Android SDK".

Please select Android SDK解决办法

项目不能运行,提示如下  打开项目local.properties文件,查看sdk地址是否正确,注意区分大小写  如果sdk地址正确,那么点击File-Sync Project with gradle files即可  原文地址:https://www.cnblogs.com/yelanggu/p/9599186.html

Android SDK最小需求

As a minimum when setting up the Android SDK, you should download the latest tools and Android platform: Open the Tools directory and select: Android SDK Tools Android SDK Platform-tools Android SDK Build-tools (highest version) Open the first Androi

JDK 1.7+Android SDK+IntelliJ IDEA 13+Genymotion 安卓开发环境部署

环境 操作系统:Windows 7 64bit安装软件:JDK1.7,Intellij IDEA 13,Android SDK, Genymotion 安装JDK 直接到ORACLE官网直接下载即可, http://www.oracle.com/technetwork/java/javase/downloads/index.html 为了兼容性考虑,不建议安装最新的JDK,我安装到的是JDK7.安装过程很简单,直接下载双击安装. 环境变量 JAVA_HOME;PATH;CLASSPATH网上一大

使用IntelliJ IDEA 13搭建Android集成开发环境(图文教程)

原文:使用IntelliJ IDEA 13搭建Android集成开发环境(图文教程) ?[声明] 欢迎转载,但请保留文章原始出处→_→ 生命壹号:http://www.cnblogs.com/smyhvae/ 文章来源:http://www.cnblogs.com/smyhvae/p/4013535.html 联系方式:[email protected] [正文] [开发环境] 物理机版本:Win 7旗舰版(32位) Java SDK版本:jdk1.8.0_20(32位) Android SDK

Intellij IDEA + Android SDK + Genymotion Emulator打造最佳Android开发

原文:Intellij IDEA + Android SDK + Genymotion Emulator打造最佳Android开发 Intellij IDEA + Android SDK + Genymotion Emulator打造最佳Android开发http://www.jb51.net/article/52609.htm 本文介绍Lorinnn在开发Android过程不断跌打滚爬中安装的一套开发环境,相信你在使用后同样有不错的体会. 一直使用Eclipse环境开发Android,也尝鲜使

Error:Android Source Generator: [sdk] Android SDK is not specified.

有时候使用intellij idea 带入android 项目,运行提示Error:Android Source Generator: [sdk] Android SDK is not specified. 问题原因: android项目Module sdk被设置成别的(eg:jdk). 解决方法: 只需切换成android sdk 即可.