步骤如下:

1)工具--插件--设置,添加 name 随便例如android URL http://kenai.com/downloads/nbandroid/updates.xml

2)更新,重新装入目录 , 找到 android ,选中 ,点击安装。

3)安装完成后,配置Android 平台。

如图 , android-sdk 路径 文件夹 跟其他的不一样,选中就可以下一步了

<!--[if gte vml 1]><v:shapetype id="_x0000_t75" coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"> <v:stroke joinstyle="miter"/> <v:formulas> <v:f eqn="if lineDrawn pixelLineWidth 0"/> <v:f eqn="sum @0 1 0"/> <v:f eqn="sum 0 0 @1"/> <v:f eqn="prod @2 1 2"/> <v:f eqn="prod @3 21600 pixelWidth"/> <v:f eqn="prod @3 21600 pixelHeight"/> <v:f eqn="sum @0 0 1"/> <v:f eqn="prod @6 1 2"/> <v:f eqn="prod @7 21600 pixelWidth"/> <v:f eqn="sum @8 21600 0"/> <v:f eqn="prod @7 21600 pixelHeight"/> <v:f eqn="sum @10 21600 0"/> </v:formulas> <v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"/> <o:lock v:ext="edit" aspectratio="t"/> </v:shapetype><v:shape id="_x0000_i1025" type="#_x0000_t75" style='width:414.75pt; height:316.5pt'> <v:imagedata src="file:///C:\Users\zuzu\AppData\Local\Temp\msohtmlclip1\01\clip_image001.png" o:title=""/> </v:shape><![endif]--><!--[if !vml]--><!--[endif]-->

网上转载的真多,这么垃圾都这么多人转载!!还是外国的网站靠得住.....下面我分享一下我成功安装的经验。

1.打开NetBeans6.5,选择 工具(Tools->插件(Plugins),然后 设置(Settings->添加(Add

名称:(随便)URL:http://kenai.com/downloads/nbandroid/updates.xml

<!--[if gte vml 1]><v:shape id="_x0000_i1026" type="#_x0000_t75" alt="Netbeans6.5上安装Android开发插件" style='width:450pt; height:401.25pt'> <v:imagedata src="file:///C:\Users\zuzu\AppData\Local\Temp\msohtmlclip1\01\clip_image003.jpg" o:href="http://hiphotos.baidu.com/kingkwj/pic/item/452cd500f74e0d55708b6540.jpg"/> </v:shape><![endif]--><!--[if !vml]--><!--[endif]-->

2.选择 可用插件(Available Plugins ),在搜索里输入: android

就会看见android的插件了,点击安装(忘记截个图了,引用一下别人的)

<!--[if gte vml 1]><v:shape id="_x0000_i1027" type="#_x0000_t75" alt="Netbeans6.5上安装Android开发插件" style='width:450pt; height:319.5pt'> <v:imagedata src="file:///C:\Users\zuzu\AppData\Local\Temp\msohtmlclip1\01\clip_image004.jpg" o:href="http://hiphotos.baidu.com/kingkwj/pic/item/0751c9113d648754bb127b40.jpg"/> </v:shape><![endif]--><!--[if !vml]--><!--[endif]-->

3.安装完后,需要添加Android平台,指定androidSDK的位置。

选择 工具->Java 平台->添加平台

<!--[if gte vml 1]><v:shape id="_x0000_i1028" type="#_x0000_t75" alt="Netbeans6.5上安装Android开发插件" style='width:450pt; height:315.75pt'> <v:imagedata src="file:///C:\Users\zuzu\AppData\Local\Temp\msohtmlclip1\01\clip_image005.jpg" o:href="http://hiphotos.baidu.com/kingkwj/pic/item/cf7b4310e8fd08b8c1ce7940.jpg"/> </v:shape><![endif]--><!--[if !vml]--><!--[endif]-->

然后选择androidSDK位置

<!--[if gte vml 1]><v:shape id="_x0000_i1029" type="#_x0000_t75" alt="Netbeans6.5上安装Android开发插件" style='width:450pt; height:345pt'> <v:imagedata src="file:///C:\Users\zuzu\AppData\Local\Temp\msohtmlclip1\01\clip_image006.jpg" o:href="http://hiphotos.baidu.com/kingkwj/pic/item/04e2ccfc902103b9fe037f40.jpg"/> </v:shape><![endif]--><!--[if !vml]--><!--[endif]-->

完成后如下图:

<!--[if gte vml 1]><v:shape id="_x0000_i1030" type="#_x0000_t75" alt="Netbeans6.5上安装Android开发插件" style='width:450pt; height:381.75pt'> <v:imagedata src="file:///C:\Users\zuzu\AppData\Local\Temp\msohtmlclip1\01\clip_image007.jpg" o:href="http://hiphotos.baidu.com/kingkwj/pic/item/7e3ec7fda9ec5201d4887d40.jpg"/> </v:shape><![endif]--><!--[if !vml]--><!--[endif]-->

大功告成!!!!

文件->新建项目 就可以看到Android的项目了。

<!--[if gte vml 1]><v:shape id="_x0000_i1031" type="#_x0000_t75" alt="Netbeans6.5上安装Android开发插件" style='width:449.25pt; height:351.75pt'> <v:imagedata src="file:///C:\Users\zuzu\AppData\Local\Temp\msohtmlclip1\01\clip_image008.jpg" o:href="http://hiphotos.baidu.com/kingkwj/pic/item/41f396458167147b85947340.jpg"/> </v:shape><![endif]--><!--[if !vml]--><!--[endif]-->

希望对各位NetBeansFans有用.......一起学习android吧!!

更多相关文章

  1. Pycharm安装PyQt5的详细教程
  2. Android配置build.gradle自动化编译signingConfigs和V1,V2签名
  3. 如何使用android SDK帮助文档
  4. Android(安卓)开发中使用 SQLite 数据库
  5. 《Android系统级深入开发—移植与调试 》china-pub新书上架
  6. Android联机开发Python
  7. Android蓝牙开发浅谈
  8. Android(安卓)开发者(Android(安卓)Developer)
  9. 10天学通Android开发(7)-数据存储

随机推荐

  1. jQuery中$.get、$.post、$.getJSON和$.aj
  2. js或Jquery中判断字符串中是否有换行符或
  3. 如何使用javascript或jquery获取图像的自
  4. jQuery——将title属性用作悬停的文本,但
  5. 将AngularJS、jQueryUI、Angular-Drag-Dr
  6. 我需要从jquery ajax post中撤回数据并将
  7. scrollTop到溢出滚动div中的活动元素
  8. [入门篇]Jquery读取.Net WebService Json
  9. html页面传值问题已解决
  10. 关于各种js框架的选择