Hi PRASANNA, Could you please paste code snippet that stores the attachment.
If you see any Error message or Exceptions, please paste them. You can get log message through logcat. To enable all log message, please add following codes before initiating Manager instance. ``` Manager.enableLogging(TAG, Log.VERBOSE); Manager.enableLogging(Log.TAG, Log.VERBOSE); Manager.enableLogging(Log.TAG_SYNC_ASYNC_TASK, Log.VERBOSE); Manager.enableLogging(Log.TAG_SYNC, Log.VERBOSE); Manager.enableLogging(Log.TAG_QUERY, Log.VERBOSE); Manager.enableLogging(Log.TAG_VIEW, Log.VERBOSE); Manager.enableLogging(Log.TAG_DATABASE, Log.VERBOSE); ``` Thanks! Hideki On Thursday, June 11, 2015 at 12:31:36 AM UTC-7, PRASANNA KUMAR wrote: > > Hi Hideki Itakura, > > I'm using same api but i facing same problem!!! > Is this wrong?First i'm creating document than i'm updating attachments to > same document. > > I'm following same procedure for older version CBL libraries(1.0.4) it is > working for me and every think is good. But if i use ANN: Couchbase > Mobile 1.1 Preview Release android there is some problem for me. > > Could you please help me how we can solve this problem > > -Prasanna > > > On Thursday, June 11, 2015 at 3:31:43 AM UTC+5:30, Hideki Itakura wrote: >> >> Hi PRASANNA, >> >> We tested sync with attachment using >> https://github.com/couchbaselabs/TodoLite-Android. And it works. >> Could you please check if your codes follow the way we support attachment? >> >> http://developer.couchbase.com/mobile/develop/guides/couchbase-lite/native-api/attachment/index.html#writing >> >> Thanks, >> Hideki >> >> On Wednesday, June 10, 2015 at 9:49:36 AM UTC-7, Jens Alfke wrote: >>> >>> >>> On Jun 9, 2015, at 11:47 PM, PRASANNA KUMAR <[email protected]> >>> wrote: >>> >>> When creating document with attachments i'm able seeing some >>> logs(Exception) here,it may help us solve this problem >>> >>> https://friendpaste.com/65GnBvmf5yZPF1q38G8I2d >>> >>> >>> Oh! Yes, if exceptions are being thrown it indicates something is >>> definitely going wrong — it would have been quicker to say that right away. >>> Please file a bug report >>> <https://github.com/couchbase/couchbase-lite-java-core/issues/new>. >>> >>> —Jens >>> >> -- You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/760afcb9-9b5d-4aaf-8b35-afd2458cea3b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
