Android plugin for NetBeans

nbandroid.pngIn my last post about leaving the NetBeans team I didn’t say too much about the future. I need to say that I don’t throw away things I’ve learned in last four years – the Swing application I mentioned is a commercial application based on NetBeans platform. And there’s more, I’ve got access to sources of undroid – the Android plugin for NetBeans and I updated it to work with Android SDK 1.0 and open-sourced it at nbandroid.kenai.com. So far, one has to grab the sources and build it before trying, but I’ll try to publish binaries and/or update center soon. There’s a lot of things to do, but all basic things should work. Oh, the screenshot, of course…

nbandroid.png

This entry was posted in Android, NetBeans. Bookmark the permalink.

13 Responses to Android plugin for NetBeans

  1. guanminglin says:

    Hi,
    in nbusers [nbusers@netbeans.org] maillinglist there some body ask:

    I just installed the Android SDK (http://code.google.com/android/download.html) for Windows (android-sdk-windows-1.0_r1.zip) and the Undroid plugins (http://undroid.nolimit.cz/download) according to the Intro document (http://wiki.netbeans.org/IntroAndroidDevNetBeans) but it doesn’t work.

    When creating a new Android project and doing a Build for it, I get the following error message (followed by the syntax for aapt):

    ERROR: Unknown command ‘compile’

    Android Asset Packaging Tool

    Does anyone have a solution for this?

    I use

    NetBeans IDE 6.0.1

    Java 1.6.0_05

    Windows Vista version 6.0

    Thanks!

    could you help me ?

  2. Martin Adamek says:

    That was the problem of undroid that wasn’t compatible with Android SDK 1.0. That is fixed in http://nbandroid.kenai.com

  3. Stefan Stankovic says:

    I have one question, how to build it or better to ask in which language is coded? Thx in advance

  4. Martin Adamek says:

    Stefan, it’s Java and build instructions are here: http://kenai.com/projects/nbandroid/pages/HowToBuild

  5. Stefan Stankovic says:

    Thx Martin i didn’t see, how could i miss it, I am a NOOB that’s why.

  6. Martin Adamek says:

    No, I just added that, that’s why :-)

  7. Stefan Stankovic says:

    Scanning for modules in D:\Program Files (x86)\NetBeans 6.1
    Scanning for modules in suite D:\Program Files (x86)\Mercurial\nbandroid\suite
    D:\Program Files (x86)\NetBeans 6.1\harness\suite.xml:106: The following error occurred while executing this line:
    D:\Program Files (x86)\NetBeans 6.1\harness\build.xml:97: No dependent module org.netbeans.api.java.classpath

    This error occurs when i try to build suite on NetBeans 6.1 Vista 64bit? Any help?

  8. Stefan Stankovic says:

    Ok i needed to disable org.netbeans.api.java.classpath and try to build and then enable org.netbeans.api.java.classpath and build successful every module each and then build suite :D It works.

  9. Stefan Stankovic says:

    When i try to run android app, emulator starts but no program son it, this is log:
    init:
    deps-jar:
    compile:
    Updating jar: C:\Users\Stefan\Documents\NetBeansProjects\AndroidApplication2\dist\AndroidApplication2.apk_
    Updating zip: C:\Users\Stefan\Documents\NetBeansProjects\AndroidApplication2\dist\AndroidApplication2.apk_
    jar:
    Result: -1
    * daemon not running. starting it now *
    * daemon started successfully *

  10. Kevin Slater says:

    Mercurial is asking me for authentication info. Is there some method to use to pull the source? Or some generic id to clone the repository?

  11. Kevin Slater says:

    nevermind. PEBCAK.

  12. Martin Adamek says:

    Stefan, yes I am aware of that and I filed that as a bug http://kenai.com/bugzilla/show_bug.cgi?id=56

  13. Martin Adamek says:

    @all: Please use project’s forum for questions and issue tracking for exception/problem reporting. Thanks!