我刚刚安装的IntelliJ IDEA 10.0.0.2社区版 我已经安装了Android SDK中...(C:\ Program Files文件\机器人\ Android的SDK-视窗)
我想打一个新的Android项目,所以我一个创建一个新的项目,选择Android的模块,下一步,下一步...
然后,当我需要选择JDK,我去了Android文件夹,当我尝试选择它,我得到这个错误:
选择的目录不是有效 家JSDK
我是什么做错了吗?我能做些什么来解决这个问题?
我安装了Android SDK中的所有更新 当我选择的 IntelliJ IDEA的插件SDK 我得到:
选择的目录不是有效 家IntelliJ IDEA的插件SDK
编辑:
仍然没有解决...... 我已经选择了SDK本身并创建项目时,选择了Android 2.2的平台。
无法加载JDK的文件。所以我不会我编的,我得到这个错误
不能启动编译器:该SDK是不是 为模块嗒嗒规定。 指定SDK在项目结构 对话框。
解决方案JSDK是Java SDK。在我的Debian是在/ usr / lib目录/ JVM / Java的6-阳光
I've just installed IntelliJ IDEA 10.0.0.2 Community edition I've installed Android SDK ... (C:\Program Files\Android\android-sdk-windows)
I want to make a new android project, so I a create a new project, select Android Module, next , next...
Then when i need to choose the JDK, I go to the android folder, and when i try to choose it, I get this error:
The selected directory is not a valid home for JSDK
What am I doing wrong ? what can i do to fix this ?
I Installed android SDK with all the updates When I choose IntelliJ IDEA Plugin SDK i get:
The selected directory is not a valid home for IntelliJ IDEA Plugin SDK
EDIT:
Still not solved... I've already chose the SDK itself and chose android 2.2 Platform when creating the project.
Can't load the JDK files. So i won't me compile, i get this error
Cannot start compiler: the SDK is not specified for module "blah". Specify the SDK at Project Structure dialog.
解决方案
JSDK is the Java SDK. On my Debian it's under /usr/lib/jvm/java-6-sun