haipv1108 / androjena

Automatically exported from code.google.com/p/androjena
0 stars 0 forks source link

androjena crashes, but I don't know when #3

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I've written the attached activity mswtests.java but it craches.

I've attached also the logcat output an the trace.txt

Original issue reported on code.google.com by arndt.ta...@gmail.com on 3 Jun 2010 at 5:08

Attachments:

GoogleCodeExporter commented 8 years ago
sorry, wrong login, I wrote the issue

Original comment by arndtn@gmail.com on 3 Jun 2010 at 5:11

GoogleCodeExporter commented 8 years ago
As soon, as I create a model my app crashes.

Model model = ModelFactory.createDefaultModel();

Is there a other way to create models?

Original comment by arndtn@gmail.com on 3 Jun 2010 at 8:45

GoogleCodeExporter commented 8 years ago
From the logcat output:

E/AndroidRuntime(  262): Caused by: java.lang.NoClassDefFoundError: 
org.slf4j.LoggerFactory

Your app crashes because slf4j-android classes are missing. For Androjena to 
run 
properly, you have to include in your android project all the jars contained in 
the 
lib folder inside the release package, that is

- androjena_0.1.jar
- icu4j-3.4.4.jar
- iri-0.7.jar
- slf4j.android_1.5.8.jar

Please let me know if this is the case, if it's not I'll investigate the issue 
more 
thoroughly.

Original comment by loreca...@gmail.com on 3 Jun 2010 at 9:23

GoogleCodeExporter commented 8 years ago
Thank you, I didn't include the JARs because the dx crashed during build 
process. So
I only included androjena in the buildpath, and thought it would bring slf4j 
with it.

Original comment by arndtn@gmail.com on 3 Jun 2010 at 10:36

GoogleCodeExporter commented 8 years ago
Good to know. But did you manage to build your application with all the jars?

Original comment by loreca...@gmail.com on 5 Jun 2010 at 12:38