Netbeans and NBAndroid Build Error

Issue #75 new
Anonymous created an issue

I set up NBAndroid to work Netbeans with Android apps.So I create a test application.My problem is when I try to build the application there is the error bellow.The code of the application is that netbeans create.How can I solve this problem?

Creating AndroidApplication1-debug-unaligned.apk and signing it with a debug key... E:\Oopss\Tools\AndroidSDK\tools\ant\build.xml:958: The following error occurred while executing this line: E:\Oopss\Tools\AndroidSDK\tools\ant\build.xml:969: The following error occurred while executing this line: E:\Oopss\Tools\AndroidSDK\tools\ant\build.xml:312: java.lang.NoClassDefFoundError: Could not initialize class at at at at at

Comments (4)

  1. Sviatopolk

    It is related to you either wanting to use it with Netbeans 8.2 or previous versions with Java 8. If you must, in the meantime, you can use it with NB 8.1 and JDK 7.

  2. Markus KilÄs

    Doesn't it look like the AndroidSDK tools SignedJarBuilder is trying to use a non-standard class ""? What I don't understand though is why it works to build (i.e. "ant debug") from command line.

  3. AdiM

    I have the same problem and also the problem of missing tools/ in current AndroidADK.

    So, NBAndroid is not usable for me at the moment.

  4. Log in to comment