Closed GoogleCodeExporter closed 8 years ago
Hi shaka,
you get this error because the androjena.jar library (and possibly its
dependencies) are not correctly referenced and packaged with your application.
This happend to other users in the past, please take a look at the older issues
for detailed instructions on how to correctly reference and package external
libraries with an Android app (this comment in particular:
http://code.google.com/p/androjena/issues/detail?id=5#c1).
Let me know it this solves the problem,
bye
lorenzo
Original comment by loreca...@gmail.com
on 5 Apr 2012 at 7:00
Hi Lorenzo,
First of all, thanks very much for your comment!
I have tried this method, but it did not solve my problem. Meanwhile, I have
also tried the methods given in
http://code.google.com/p/androjena/issues/detail?id=8&can=1&q=issue which also
did not work.
Feel quite strange and do not know why!
Original comment by shaka...@gmail.com
on 9 Apr 2012 at 11:16
Hi shaka,
I've looked at .classpath in your project:
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="gen"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
<classpathentry kind="lib" path="lib/iri-0.8.jar"/>
<classpathentry kind="lib" path="lib/androjena_0.5_sources.jar"/>
<classpathentry kind="lib" path="lib/androjena_0.5.jar"/>
<classpathentry kind="lib" path="lib/slf4j-android-1.6.1-RC1.jar"/>
<classpathentry kind="output" path="bin/classes"/>
</classpath>
There are two problems here:
- you should NOT reference androjena_0.5_sources.jar as a library (it's just
the source code), so remove it from your classpath.
- you should reference icu4j-3.4.5.jar as a library, so add it to your
classpath (you already have it in the lib folder of your project)
However, i tried to compile and run your project and it worked fine (it gave
another error because data/rule.rule cannot be found, but the androjena classes
are found). I use Eclipse Galileo with ADT 10.0.1.
Hope this solves your problem, please let me know
bye
lorenzo
Original comment by loreca...@gmail.com
on 23 Apr 2012 at 6:23
Hi Lorenzo,
This has solved my problem.
Thanks very much for your help!
Original comment by shaka...@gmail.com
on 15 May 2012 at 4:27
Original comment by loreca...@gmail.com
on 31 May 2012 at 4:50
Original issue reported on code.google.com by
shaka...@gmail.com
on 3 Apr 2012 at 8:09Attachments: