简体   繁体   English

无法为Android配置IntelliJ

[英]Can't configure IntelliJ for Android

I have my JDK configured to my IntelliJ fine. 我已经将JDK配置为IntelliJ正常。 I downloaded and re-downloaded the Android SDK and downloaded all the API's from the SDK Manager just fine also. 我下载并重新下载了Android SDK,并从SDK Manager下载了所有API。 It's when I configure my IntelliJ to my Android SDK folder, my IntelliJ says it's configured. 当我将IntelliJ配置到Android SDK文件夹时,IntelliJ表示已配置。 The only API I have access to from my API drop-down is Android 4.4, I'm not sure what happened to all the other API's. 我可以从我的API下拉列表访问的唯一API是Android 4.4,我不确定所有其他API都发生了什么。 Then when the project is displayed. 然后在显示项目时。 I get the error message below. 我收到以下错误消息。 I'm exhausted, I suck, just please give me a solution to how I could configure IntelliJ so I could get on with my Android life. 我很累,很烂,请给我一个解决方案,以解决如何配置IntelliJ以便继续我的Android生活。

Console Error: 控制台错误:

The project wasn't generated by 'android' tool. 该项目不是由“ android”工具生成的。

Error: Error parsing the sdk. 错误:解析SDK时出错。

Error: Failed to create C:\\Program Files\\adt-bundle-windows-x86_64-20131030\\sdk\\add-ons. 错误:无法创建C:\\ Program Files \\ adt-bundle-windows-x86_64-20131030 \\ sdk \\ add-ons。

Error: Unable to parse SDK content. 错误:无法解析SDK内容。

Right click on your program shortcut and select Run As Administrator 右键单击程序快捷方式,然后选择“以管理员身份运行”

or alternatively create the directories in the message manually eg add-ons folder 或在消息中手动创建目录,例如加载项文件夹

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM