3rd party libraries won't work
in
Android Processing
•
8 months ago
Hello there.
I am trying to build something for Android and apparently Processing has a problem to compile the libraries that I want to use for it.
I am using Processing 1.5, because I need the GLGraphics library for Unfolding Maps and it won't work with 2.0. I am trying to run it on a mobile device, Galaxy Nexus with Android 4.2
Every other example provided by Processing itself works fine, but as soon as I try to start an example from Ketai or Unfolding, it will give me errors that the classes couldn't be compiled and that the packages couldn't be found.
Here's the console error for the Ketai Geolocation code:
Can anyone help me please?
I am trying to build something for Android and apparently Processing has a problem to compile the libraries that I want to use for it.
I am using Processing 1.5, because I need the GLGraphics library for Unfolding Maps and it won't work with 2.0. I am trying to run it on a mobile device, Galaxy Nexus with Android 4.2
Every other example provided by Processing itself works fine, but as soon as I try to start an example from Ketai or Unfolding, it will give me errors that the classes couldn't be compiled and that the packages couldn't be found.
Here's the console error for the Ketai Geolocation code:
I tried to find a solution everywhere, but I simply can't find one. The library folders are all properly named and sorted.
Ignoring sub-folder "examples"
Ignoring sub-folder "library"
Ignoring sub-folder "reference"
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: C:\Users\Alycia\AppData\Local\Temp\android1982867965215751949.pde\bin
[mkdir] Created dir: C:\Users\Alycia\AppData\Local\Temp\android1982867965215751949.pde\gen
[mkdir] Created dir: C:\Users\Alycia\AppData\Local\Temp\android1982867965215751949.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] I:\Programme\adt-bundle-windows-x86_64\sdk\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 C:\Users\Alycia\AppData\Local\Temp\android1982867965215751949.pde\bin\classes
[javac] C:\Users\Alycia\AppData\Local\Temp\android1982867965215751949.pde\src\processing\android\test\geolocation\Geolocation.java:6: package ketai.sensors does not exist
[javac] import ketai.sensors.*;
[javac] ^
[javac] C:\Users\Alycia\AppData\Local\Temp\android1982867965215751949.pde\src\processing\android\test\geolocation\Geolocation.java:37: cannot find symbol
[javac] symbol : class KetaiLocation
[javac] location: class processing.android.test.geolocation.Geolocation
[javac] KetaiLocation location;
[javac] ^
[javac] C:\Users\Alycia\AppData\Local\Temp\android1982867965215751949.pde\src\processing\android\test\geolocation\Geolocation.java:43: cannot find symbol
[javac] symbol : class KetaiLocation
[javac] location: class processing.android.test.geolocation.Geolocation
[javac] location = new KetaiLocation(this);
[javac] ^
[javac] 3 errors
BUILD FAILED
I:\Programme\adt-bundle-windows-x86_64\sdk\tools\ant\main_rules.xml:384: Compile failed; see the compiler error output for details.
Total time: 1 second
Can anyone help me please?
1