Topic RSS15:13, EET
December 20, 2016
OfflineHi,
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…..r-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
OfflineOk – 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
Offline18:20, EET
December 21, 2011
OfflineYes, 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 đŸ™‚
1 Guest(s)

Log In
Register