[
https://issues.apache.org/jira/browse/OLINGO-273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13989446#comment-13989446
]
Francesco Chicchiriccò commented on OLINGO-273:
-----------------------------------------------
I will try to update the sample above with an entity creation; in the
meanwhile, please remove things like
{code}
createRequest.addCustomHeader("userName", "Admin");
createRequest.addCustomHeader("passWord", "");
{code}
and do instead
{code}
client.getConfiguration().setHttpClientFactory(
new BasicAuthHttpClientFactory("Admin", ""));
{code}
> Android client works fine with Maven but gives class not found exception when
> working as android project
> --------------------------------------------------------------------------------------------------------
>
> Key: OLINGO-273
> URL: https://issues.apache.org/jira/browse/OLINGO-273
> Project: Olingo
> Issue Type: Question
> Components: odata4-client
> Environment: Android eclipse
> Reporter: Krish chauhan
> Labels: Android
>
> I am using odatajclient library for android and having issue with it . When i
> try building with maven , it works perfectly fine . But when i create an
> standalone android project with the help of ADT plugin, i am getting
> following error on device. I have added all the dependency to libs folder but
> did not help , also i have added all the three provided library for build
> path (under library but not in export)
> E/AndroidRuntime(14596): java.lang.NoClassDefFoundError:
> org.w3c.dom.bootstrap.DOMImplementationRegistry
> This problem occurs on devce at runtime.
> Any help in this regards, will be helpful as i have invested already 2 days
> on this problem.
> Thanks,
> Krish
--
This message was sent by Atlassian JIRA
(v6.2#6252)