15:13, EET
December 20, 2016
Hi,
I’m currently trying to get a server running on android. Currently my biggest problem is, that I can’t get the logging running. As explained here https://www.prosysopc.com/blog/developing-opc-ua-for-android/ I included org.slf4j:log4j-over-slf4j:1.7.21 but. I get a SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder” and no log output in the logcat.
lg Manu
16:10, EET
December 20, 2016
Ok – I did finally find out: If you additionally add
compile ‘org.slf4j:slf4j-android:1.7.21’
it works.
But now I have the next problem: A error message: org.xml.sax.SAXException: Can’t create default XMLReader; is system property org.xml.sax.driver set? seems like the normal sax parser is not working on android, but without code access I can’t change the parser initialization…
lg
16:38, EET
December 21, 2011
16:48, EET
December 20, 2016
18:20, EET
December 21, 2011
Yes, that might be necessary. We have investigated this issue in the past, but no simple solution was identified. The Android environment is not a full Java environment and the libraries are often too different to have all functionality included.
Open JDK 9 should come with support for Android (http://openjdk.java.net/projec…..droid.html), so hopefully that will help in future – if we just get the stack and SDK to support Java 9 first 🙂
Most Users Ever Online: 1919
Currently Online:
64 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Heikki Tahvanainen: 402
hbrackel: 144
rocket science: 88
pramanj: 86
Francesco Zambon: 83
Ibrahim: 78
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
Member Stats:
Guest Posters: 0
Members: 737
Moderators: 7
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1524
Posts: 6450
Newest Members:
fannielima, kristiewinkle8, rust, christamcdowall, redaahern07571, nigelbdhmp, travistimmons, AnnelCib, dalenegettinger, howardkennerleyModerators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1026, Jimmy Ni: 26, Matti Siponen: 346, Lusetti: 0
Administrators: admin: 1