Log in or register to post comments

Vuforia Web Services samples in Android (Java)

April 22, 2020 - 4:04am #1

Im trying to run Vuforia Web Services sample in a simple Android project, but it doesnt work.

The sample is just some java classes which import some other classes, like this:

import org.apache.commons.codec.binary.Base64;

import org.apache.commons.codec.digest.DigestUtils;

import org.apache.http.client.methods.HttpEntityEnclosingRequestBase;

import org.apache.http.client.methods.HttpUriRequest;

Where do I get these? Its not explained anywhere. I was trying to use Apache's HttpComponents v. 4.5.12 downloaded from here: https://hc.apache.org/downloads.cgi

The zip contains several jar files, Ive put them in libs folder, but now I get error:

Duplicate class org.apache.http.auth.AUTH found in modules httpclient-4.5.12.jar (httpclient-4.5.12.jar) and httpclient-osgi-4.5.12.jar (httpclient-osgi-4.5.12.jar)

Even basic Vuforia things dont work, thats really bad.

Log in or register to post comments