简体   繁体   English

无法在NetBeans中添加android平台

[英]Cannot add android platform in NetBeans

I followed one or two tutorials on installing NBAndroid plugin and setting platform, but I encountered a problem. 我按照一两个教程来安装NBAndroid插件和设置平台,但是遇到了问题。 After installing the plugin and setting SDK location (in Tools/Options/Misc/Android), when I wanted to add the android platform (Tools/Java Platforms/Add Platform...) it showed me a window with "1. Choose platform folder..." instead of "1. Choose platform type..." (as in a few tutorials). 安装插件并设置SDK位置(在Tools / Options / Misc / Android中)后,当我想添加android平台(Tools / Java Platforms / Add Platform ...)时,它向我显示了一个带有“ 1.选择平台”的窗口文件夹...”而不是“ 1.选择平台类型...”(如一些教程中所述)。 Because of this I can't add the platform (when I choose the platform folder the "next" and "finish" buttons are still inactive). 因此,我无法添加平台(当我选择平台文件夹时,“下一步”和“完成”按钮仍处于不活动状态)。

NetBeans 7.0.1, NBAndroid (latest, not really sure about the number), Windows 7 64. Please help. NetBeans 7.0.1,NBAndroid(最新,不确定数量),Windows 764。请提供帮助。

Ok, someone else helped me and I know the answer. 好吧,其他人帮助了我,我知道了答案。 Turns out... I've already done everything I needed to. 事实证明……我已经做了我需要做的一切。 Adding Android platform is deprecated and now providing path to android SDK is all that is needed after installing the plugin. 不建议添加Android平台,现在安装插件后只需提供指向android SDK的路径。 Now I have "Android" project type in New Projects... but I just didin't see it before. 现在,我在“新项目”中拥有“ Android”项目类型...但是我之前从未看到过。 :P :P

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

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