@rfc2822 Many thanks, yes I forgot about that base URL setting somehow. Sorry for the basic question 😊
DAVdroid on Android 6.0
I am using DAVdroid to sync my calendar and contacts with my synology NAS.
Everything was (and is) running fine with (remaining) android 4.x and 5.x (devices)
Since yesterday I have problems to sync my calendar with android 6.0 (clean install on nexus 6).
Contacts are working fine, but when I sync the calendar the app is terminated.
I do not get any entries from my Caldav server.
When I add a new entry on my android device the new entry is successfully synced to my Caldav server.
I tried to get the verbose logs, but the command:
adb logcat | egrep ‘^(E/)|(./davdroid)|(./HttpClient)|(./Wire)’
does not work on my Windows Computer
What can I do to get the logs?
By the way:
When I set: “setprop log.tag.HttpClient VERBOSE” what is the default?
I think after getting the logs it should be reverted to default.
Is someone seeing the same error?
Thanks in advance & greetings from germany,
I found something in the logcat screen:
10-08 20:03:18.743 23949 23962 E AndroidRuntime: FATAL EXCEPTION: SyncAdapterThread-1 10-08 20:03:18.743 23949 23962 E AndroidRuntime: Process: at.bitfire.davdroid:sync, PID: 23949 10-08 20:03:18.743 23949 23962 E AndroidRuntime: java.lang.ClassCastException: net.fortuna.ical4j.model.component.XComponent cannot be cast to net.fortuna.ical4j.model.component.VEvent 10-08 20:03:18.743 23949 23962 E AndroidRuntime: at at.bitfire.davdroid.resource.Event.parseEntity(Event.java:125) 10-08 20:03:18.743 23949 23962 E AndroidRuntime: at at.bitfire.davdroid.resource.WebDavCollection.multiGet(WebDavCollection.java:121) 10-08 20:03:18.743 23949 23962 E AndroidRuntime: at at.bitfire.davdroid.syncadapter.SyncManager.pullNew(SyncManager.java:195) 10-08 20:03:18.743 23949 23962 E AndroidRuntime: at at.bitfire.davdroid.syncadapter.SyncManager.synchronize(SyncManager.java:95) 10-08 20:03:18.743 23949 23962 E AndroidRuntime: at at.bitfire.davdroid.syncadapter.DavSyncAdapter.onPerformSync(DavSyncAdapter.java:138) 10-08 20:03:18.743 23949 23962 E AndroidRuntime: at android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:272) 10-08 20:03:18.748 23949 23949 D davdroid.DavSyncAdapter: Closing httpClient
edit by admin: add ``` to make logs monospace
Does that help to narrow down the cause?
DavDroid 8.4.1 from Amazon Store
Nexus 6 with Android 6.0 Build MRA58K
Caldav on Synology DSM 5.2-5592 Update 4
Thanks in advance,
Is there anyone who has already tried DAVdroid/0.9 with Android 6?
Please tell us if it works for your or which problems you have.
This problem has been fixed with DAVdroid 0.9.0.2, the new permissions model will be implemented later.
With DAVdroid 0.9.0.4 (original, not from amazon store) everthing works fine again. Thank you very much.