How to configure the Android development environment-ubuntu platform under NetBeans

Source: Internet
Author: User
Tags netbeans

How to the Setup Netbeans for Android development

Reproduced from: 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 a Eclipse plugin to is able to develop Android soft Ware using the Eclipse IDE. If you ' re a NetBeans user, don ' t worry because 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.

To start setting up Android development under NetBeans, just the 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 URLs for the plugin your are manually adding. Can put any text for the Name field, the plugin update URL for the Android for Netbeans plugin Ishttp://kenai.com/down Loads/nbandroid/updates.xml.

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

Go to the "Availalble Plugins" tab and your should the Android in the list. Click on the checkbox to mark it's for installation. Then Click the "OK" button.

You'll get a dialog box similar to the one below informing your that the Android plugin'll be installed. Click on the "Next" button.

The license agreement would be displayed. You are need to agree to install the Android plugin. Click on the "Install" button once your have clicked on the "I Accept ..." checkbox.

It should start download the Android plugin.

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 is serves as a warning for potentially dangerous plugins. If you are the developers of the plugin, just click on the "Continue" button.

After which, your should get a "installation completed successfully" message.

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

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

Now locate where to have extracted the Android SDK on your computer and click "Next".

Give the platform a name. I am the "Android" would is appropriate and click on the "Finish" button.

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

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.