Getting errors with a toxiclibs example
in
Android Processing
•
2 years ago
Hi,
Thanks
I've decided that I want to use toxiclibs in a future Android project of mine. I've started out by trying to get the "draggable particles" example in VerletPhysics to run on my device.
Here is the link to the .pde on Google Code. After switching to Android mode in the PDE I used Sketch --> Add File to import the jars for toxiclibscore and verletphysics. When I selected run on device, I got the error "Error from inside the Android Tools, check the console."
Here is the link to the .pde on Google Code. After switching to Android mode in the PDE I used Sketch --> Add File to import the jars for toxiclibscore and verletphysics. When I selected run on device, I got the error "Error from inside the Android Tools, check the console."
Here is the output:
- Ignoring sub-folder "docs"
- Ignoring sub-folder "examples"
- Ignoring sub-folder "library"
- Ignoring sub-folder "docs"
- Ignoring sub-folder "examples"
- Ignoring sub-folder "library"
- Android SDK Tools Revision 12
- Project Target: Android 2.1-update1
- API level: 7
- ------------------
- Resolving library dependencies:
- No library dependencies.
- ------------------
- Importing rules file: tools/ant/main_rules.xml
- -debug-obfuscation-check:
- -set-debug-mode:
- -compile-tested-if-test:
- -pre-build:
- -dirs:
- [echo] Creating output directories if needed...
- [mkdir] Created dir: /var/folders/nl/m80k7hvn0dl4db8l5z8z_26r0000gn/T/android6628799578114544777.pde/bin
- [mkdir] Created dir: /var/folders/nl/m80k7hvn0dl4db8l5z8z_26r0000gn/T/android6628799578114544777.pde/gen
- [mkdir] Created dir: /var/folders/nl/m80k7hvn0dl4db8l5z8z_26r0000gn/T/android6628799578114544777.pde/bin/classes
- -aidl:
- [echo] Compiling aidl files into Java classes...
- -renderscript:
- [echo] Compiling RenderScript files into Java classes and RenderScript bytecode...
- -resource-src:
- [echo] Generating R.java / Manifest.java from the resources...
- -pre-compile:
- compile:
- [javac] /Users/milespeyton/Desktop/projects/android-sdk-mac_x86/tools/ant/main_rules.xml:384: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
- [javac] Compiling 2 source files to /var/folders/nl/m80k7hvn0dl4db8l5z8z_26r0000gn/T/android6628799578114544777.pde/bin/classes
- [javac] toxi/geom/Rect.class(toxi/geom:Rect.class): warning: Cannot find annotation method 'value()' in type 'javax.xml.bind.annotation.XmlAccessorType': class file for javax.xml.bind.annotation.XmlAccessorType not found
- [javac] toxi/geom/Rect.class(toxi/geom:Rect.class): warning: Cannot find annotation method 'required()' in type 'javax.xml.bind.annotation.XmlAttribute': class file for javax.xml.bind.annotation.XmlAttribute not found
- [javac] toxi/geom/Rect.class(toxi/geom:Rect.class): warning: Cannot find annotation method 'required()' in type 'javax.xml.bind.annotation.XmlAttribute'
- [javac] toxi/geom/Rect.class(toxi/geom:Rect.class): warning: Cannot find annotation method 'required()' in type 'javax.xml.bind.annotation.XmlAttribute'
- [javac] toxi/geom/Rect.class(toxi/geom:Rect.class): warning: Cannot find annotation method 'required()' in type 'javax.xml.bind.annotation.XmlAttribute'
- [javac] toxi/geom/Vec2D.class(toxi/geom:Vec2D.class): warning: Cannot find annotation method 'required()' in type 'javax.xml.bind.annotation.XmlAttribute'
- [javac] toxi/geom/Vec2D.class(toxi/geom:Vec2D.class): warning: Cannot find annotation method 'required()' in type 'javax.xml.bind.annotation.XmlAttribute'
- [javac] An exception has occurred in the compiler (1.6.0_26). Please file a bug at the Java Developer Connection (http://java.sun.com/webapps/bugreport) after checking the Bug Parade for duplicates. Include your program and the following diagnostic in your report. Thank you.
- [javac] java.lang.NullPointerException
- [javac] at com.sun.tools.javac.comp.Flow.visitNewClass(Flow.java:1125)
- [javac] at com.sun.tools.javac.tree.JCTree$JCNewClass.accept(JCTree.java:1257)
- [javac] at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:35)
- [javac] at com.sun.tools.javac.comp.Flow.scanExpr(Flow.java:500)
- [javac] at com.sun.tools.javac.comp.Flow.scanExprs(Flow.java:510)
- [javac] at com.sun.tools.javac.comp.Flow.visitApply(Flow.java:1116)
- [javac] at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1210)
- [javac] at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:35)
- [javac] at com.sun.tools.javac.tree.TreeScanner.visitExec(TreeScanner.java:157)
- [javac] at com.sun.tools.javac.tree.JCTree$JCExpressionStatement.accept(JCTree.java:1074)
- [javac] at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:35)
- [javac] at com.sun.tools.javac.comp.Flow.scanStat(Flow.java:484)
- [javac] at com.sun.tools.javac.comp.Flow.scanStats(Flow.java:492)
- [javac] at com.sun.tools.javac.comp.Flow.visitBlock(Flow.java:747)
- [javac] at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:739)
- [javac] at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:35)
- [javac] at com.sun.tools.javac.comp.Flow.scanStat(Flow.java:484)
- [javac] at com.sun.tools.javac.comp.Flow.visitMethodDef(Flow.java:693)
- [javac] at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:639)
- [javac] at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:35)
- [javac] at com.sun.tools.javac.comp.Flow.visitClassDef(Flow.java:641)
- [javac] at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:575)
- [javac] at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:35)
- [javac] at com.sun.tools.javac.comp.Flow.analyzeTree(Flow.java:1256)
- [javac] at com.sun.tools.javac.main.JavaCompiler.flow(JavaCompiler.java:1090)
- [javac] at com.sun.tools.javac.main.JavaCompiler.flow(JavaCompiler.java:1064)
- [javac] at com.sun.tools.javac.main.JavaCompiler.compile2(JavaCompiler.java:765)
- [javac] at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:730)
- [javac] at com.sun.tools.javac.main.Main.compile(Main.java:353)
- [javac] at com.sun.tools.javac.main.Main.compile(Main.java:279)
- [javac] at com.sun.tools.javac.main.Main.compile(Main.java:270)
- [javac] at com.sun.tools.javac.Main.compile(Main.java:69)
- [javac] at com.sun.tools.javac.Main.main(Main.java:54)
- BUILD FAILED
- /Users/milespeyton/Desktop/projects/android-sdk-mac_x86/tools/ant/main_rules.xml:384: Compile failed; see the compiler error output for details.
- Total time: 1 second
Thanks
1