This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: Compiling for Android 2.2 (API version 8)
* Per Bothner [2012-01-28 21:49] writes:
> On 01/28/2012 01:30 PM, Bill Robinson wrote:
>> Hi
>>
>> Just been wrestling getting a basic OpenGL ES app running on Android
>> and was up against gnu.text.Path not loading because of
>> javax.tools.FileObject not being found. So found that commenting out
>> that implements helped.
>
> That should be happening automatically, as part of the "preprocess" step.
> If using Ant, it's the "preprocess" target; if using make, it's the
> selected-java-source. Either is supposed to be run automatically.
> What command lines did you use to build Kawa?
I had a similar problem today (strangely enough, it worked in the past).
I used:
svn up
./configure --with-android=/scratch/android/android-sdk-linux_86/platforms/android-13/android.jar --disable-xquery --disable-jemacs --without-httpserver --without-swing --without-awt --without-sax2
make clean
make
The Android hello-world app then gets a
E/AndroidRuntime(28013): java.lang.NoClassDefFoundError: gnu.text.Path
when format is called (which seems to create an OutPort).
Commenting out javax.tools.FileObject and rebuilding fixed the problem.
Helmut