步骤如下:

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学习笔记(一):基本概念
  3. Android快速入门
  4. 第15章 Android启动过程 [Android应用开发与系统改造实战]
  5. android studio 更新 Gradle错误解决方法
  6. 【Android开发基础】应用界面主题Theme使用方法
  7. Mac的android真机调试
  8. Maven开发Android指南 1 简介
  9. Android(安卓)App开发基础篇—Android(安卓)Studio的基本使用

随机推荐

  1. 意派Epub360丨点燃圣诞营销灵感,从看完这
  2. phpStorm2021.3 , 这样激活永久有效,不妨
  3. 如何绘制躯干?人体结构比例躯干画法
  4. vue_4
  5. Flex布局
  6. html文件怎么打开,用什么打开html文件
  7. 腾龙公司客服电话热线17078756666
  8. 固定导航栏|可编辑表格
  9. Anaconda环境配置
  10. Rocky Linux镜像在阿里云镜像站首发上线