简体   繁体   English

安装 android 插件后,如何将 Android 平台添加到 Netbeans 7.0 中

[英]how to add Android platform into Netbeans 7.0, after installed android plugin

I installed Android plugin using Tools/Plugins/Settings and copied the link there, and so on.我使用 Tools/Plugins/Settings 安装了 Android 插件并将链接复制到那里,依此类推。 In the next step, I would get to Tools/Java Platforms/Add platform, then it pope up with "1.Choose the platform folder" instead of "1.Select platform type".在下一步中,我将进入工具/Java 平台/添加平台,然后弹出“1.选择平台文件夹”而不是“1.Select 平台类型”。 Because of that, I couldn't proceed into the next steps.因此,我无法进行下一步。

I tried to remove and reinstall Java SDK and Netbeans several times using different methods.我尝试使用不同的方法多次删除并重新安装 Java SDK 和 Netbeans。 But nothing has changed.但一切都没有改变。 I really appreciate the answer.我真的很感激这个答案。

Thanks谢谢

Installing the platform is a seperate step.安装平台是一个单独的步骤。 Look in the sdk folder and read the readme.查看 sdk 文件夹并阅读自述文件。 On linux, at least, it says to run the "android" program, which is in the tools folder.至少在 linux 上,它说要运行工具文件夹中的“android”程序。 After installing the platform through this it should let you progress in setting up netbeans.通过此安装平台后,它应该可以让您继续设置 netbeans。

It's not an obvious step if you're a noob and head straight to google with "setup netbeans for android"如果您是菜鸟并使用“为 android 设置 netbeans”直接前往谷歌,这不是一个明显的步骤

You are following one of outdated install guides/tutorials.您正在关注过时的安装指南/教程之一。 Current version of Android support only needs to know where your Android SDK is.当前版本的 Android 支持只需要知道您的 Android SDK 在哪里。 Go to Tools | Go 转工具 | Options |选项 | Misc |杂项 | Android and set the location there. Android 并在那里设置位置。 You can find more details at http://www.nbandroid.org/您可以在http://www.nbandroid.org/找到更多详细信息

It can even detect this location automatically if you open some configured project but it seems this is not your case.如果您打开一些已配置的项目,它甚至可以自动检测此位置,但似乎这不是您的情况。

After installing the plugin the sdk and the platform then choose from netbeans file new project android project next choose the target platform listed under target name input package name and voila. After installing the plugin the sdk and the platform then choose from netbeans file new project android project next choose the target platform listed under target name input package name and voila.

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

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