Build Android app on Netbeans in OSX

Prerequisite: Have Netbeans installed in box.

1. Download Andorid SDK from Android developer site.
2. Extract SDK it to any place you prefer, eg: /usr/local/android-sdk
3. Create Android AVD emulator by running [SDK_PATH]/tools/android as below:

Click New and fill in virtual device field, then click OK

4. Setup NBAndroid plugin following NBAndroid wiki.
5. Create New Android project in Netbeans by goto File–> New Project –> Android
6. Fill in project detail and add target sdk platform if you haven’t, then click Finish to create a sample Android project (it will have some syntax warning upon project created).
7. Build the project will clear those syntax warning.
8. Run the sample Android app.



Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.