error occured when compile

  3 posts   Feedicon  
Replies: 2 - Last Post: July 23, 2009 07:36
by: ceyt
showing 1 - 3 of 3
 
Posted: July 23, 2009 01:53 by ceyt
just installed NBAndroid in my netbean IDE, by using this guide http://kenai.com/projects/nbandroid/pages/Install, with NBAndroid version 0.8.
and continue with http://wiki.netbeans.org/IntroAndroidDevNetBeans for quick start. i choose android 1.5 for my platform with this link /home/android/android-sdk-linux_x86-1.5_r2/platforms/android-1.5. and created a new project.
after compile i found this error


compile:
Created dir: /home/android/workbin/AndroidApplication21/dist

trouble processing:
invalid constant pool index 0000
...while parsing attributes[1]
...while parsing Code attribute at offset 00000120
...while parsing attributes[0]
...while parsing methods[0]
...while parsing org/me/androidapplication21/R$attr.class
...while processing org/me/androidapplication21/R$attr.class

trouble processing:
invalid constant pool index 0000
...while parsing attributes[1]
...while parsing Code attribute at offset 00000181
...while parsing attributes[0]
...while parsing methods[0]
...while parsing org/me/androidapplication21/R.class
...while processing org/me/androidapplication21/R.class

trouble processing:
invalid constant pool index 0000
...while parsing attributes[1]
...while parsing Code attribute at offset 00000156
...while parsing attributes[0]
...while parsing methods[0]
...while parsing org/me/androidapplication21/R$layout.class
...while processing org/me/androidapplication21/R$layout.class

trouble processing:
invalid constant pool index 0000
...while parsing attributes[1]
...while parsing Code attribute at offset 0000014f
...while parsing attributes[0]
...while parsing methods[0]
...while parsing org/me/androidapplication21/MainActivity.class
...while processing org/me/androidapplication21/MainActivity.class

trouble processing:
invalid constant pool index 0000
...while parsing attributes[1]
...while parsing Code attribute at offset 0000015a
...while parsing attributes[0]
...while parsing methods[0]
...while parsing org/me/androidapplication21/R$string.class
...while processing org/me/androidapplication21/R$string.class
5 warnings
no classfiles specified
/home/android/workbin/AndroidApplication21/nbproject/build-impl.xml:424: exec returned: 1
BUILD FAILED (total time: 17 seconds)



i'm using
netbeans 6.7
linux ubuntu 8.04
android sdk 1.5
nbandroid 0.8
 
Posted: July 23, 2009 05:18 by radim
Now tracked as http://kenai.com/jira/browse/NBANDROID-46

-Radim
 
Posted: July 23, 2009 07:36 by ceyt
424 line in build-impl.xml is

<exec executable="${dx}" failonerror="true">

i think maybe the system can't execute dx file??
Replies: 2 - Last Post: July 23, 2009 07:36
by: ceyt
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120518.3c65429)
 
 
Close
loading
Please Confirm
Close