intellij导入现有的eclipse

intellij导入现有的eclipse

本文介绍了intellij导入现有的eclipse android项目失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

导入后我在编译中遇到错误:

  java:找不到JDK'< unknown>'for module' CallsFreeCalls'

此外,我在JI内部看不到Android UI Designer



这里有我在项目设置中的内容:





我有两个选择,但如果我改变它,没有任何反应:(



这是批准Android设计师启用:





项目SDK:





平台设置SDK:





通过添加到平台se解决了建筑问题tting / SDKs Java 1.6 sdk。但我仍然没有在任何地方看到Android UI Designer。项目现在也已构建,但是JI在XML布局文件中显示错误(在构建完成时实际上没有重复):

解决方案

请尝试以下操作:在项目工具窗口中选择该模块(在左侧) ,然后按F4。这将打开项目结构对话框。确保选择您的模块和依赖关系标签,如图所示:





从<$ c $设置SDK c>模块SDK 下拉。



至于UI设计器:检查设置/插件中是否启用了Android Designer插件。 / p>

After importing i got that error in compilation:

java: Cannot find JDK '<unknown>' for module 'CallsFreeCalls'

Also i can't see Android UI Designer inside JI

here what i have inside Project settings:

i have two choices there, but if i change it, nothing happened :(

this is approving that android designer enabled:

project SDK:

platform settings SDKs:

a building problem was solved by adding into platform setting/SDKs Java 1.6 sdk. But i still don't see Android UI Designer anywhere. Project now builded as well, but JI showing error in XML layout files (not actually repeat while building is done):

解决方案

Try the following: select that module in the Project tool window (on the left), and press F4 on it. This will open the Project Structure dialog. Make sure to select your module and the Dependencies tab as shown on the picture:

Set your SDK from the Module SDK drop-down.

As for the UI Designer: check if the Android Designer plugin is enabled in Settings/Plugins.

这篇关于intellij导入现有的eclipse android项目失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-15 14:17