如何在Netbeans下配置Android开发环境-Ubuntu平台

本文指导如何在Netbeans中设置并配置Android开发环境,包括安装插件、配置平台等步骤,帮助开发者顺利开始Android应用开发。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

How to setup Netbeans for Android development

转载自:http://gerry.ws/2009/01/1074/how-to-setup-netbeans-for-android-development.html

When Google released the Android open mobile platform, they have made an Eclipse plugin to be able to develop Android software using the Eclipse IDE. If you’re a Netbeans user, don’t worry because you can use Netbeans for creating Android applications also. Several guys created a Netbeans plugin that makes it possible to do Android software development under Netbeans.

android-and-netbeans

 

To start setting up Android development under Netbeans, just open up your Netbeans 6.5 IDE. After starting up, click on the Tools | Plugin from the menu and select the Settings tab from the dialog box. Click on the Add button and enter the Name of the plugin and update URL for the plugin your are manually adding. You can put any text for the Name field, the plugin update URL for the Android for Netbeans plugin ishttp://kenai.com/downloads/nbandroid/updates.xml .

android-netbeans-install-01

After clicking on Ok, it should now be included in the list of configured update centers.

android-netbeans-install-02

Go to the “Availalble Plugins” tab and you should see Android in the list. Click on the checkbox to mark it for installation. Then click the “Ok” button.

android-netbeans-install-03

You’ll get a dialog box similar to the one below informing you that the Android plugin will be installed. Click on the “Next” button.

android-netbeans-install-04

The license agreement will be displayed. You need to agree to to install the Android plugin. Click on the “Install” button once you have clicked on the “I accept..” checkbox.

android-netbeans-install-05

It should start download the Android plugin.

android-netbeans-install-06

After the download, you’ll get a message similar to the one below. It basically says that the plugin hasn’t been signed by the Netbeans group. This serves as a warning for potentially dangerous plugins. If you trust the developers of the plugin, just click on the “Continue” button.

android-netbeans-install-07

After which, you should get an “Installation completed successfully” message.

android-netbeans-install-08

Now that the Android plugin for Netbeans has been installed, you need to do just one more step to configure it. You need to tell Netbeans that it can now also setup projects for the Android open mobile platform. To do this, click on the Tools | Java Platform menu of your Netbeans IDE.

android-netbeans-install-09

Click on the “Add Platform” button. Select the “Google Android Open Handheld Platform” and click the “Next” button.

android-netbeans-install-10

Now locate where you have extracted the Android SDK on your computer and click “Next”.

android-netbeans-install-11

Give the platform a name. I think “Android” would be appropriate and click on the “Finish” button.

android-netbeans-install-12

You should now have added Android in your list of supported platforms for the Netbeans IDE.

android-netbeans-install-13

That’s it. You can now start developing Android applications using your Netbeans IDE. I’ll post about writing an Android application in Netbeans next time.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值